原创 Netty 預熱
阻塞與非阻塞 同步與異步 BIO NIO
原创 MAC 打開.bash_profile
MAC 打開.bash_profile 啓動終端Terminal 進入當前用戶的home目錄 輸入cd ~ 創建.bash_profile 輸入touch .bash_profile 編輯.bash_profile文件 輸入op
原创 自定義View Demo
public class VerticalOffsetLayout extends ViewGroup { private static final int OFFSET = 100; private Paint mPaint; publ
原创 模塊化要求
隔離 初始化 頁面跳轉 方法同步/異步調用 事件通信 獨立打包運行
原创 SpingBoot-Thymeleaf-bootstrapTable-分頁之Controller
JAVA @RequestMapping(value = "/user-list", method = { RequestMethod.POST }) public String userList(Model model, @Req
原创 Android 給TextView 添加圖片(左右等)
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content" a
原创 SpingBoot-Thymeleaf-bootstrapTable-分頁之Service
JAVA: public Map getPage(final Map searchParameters, String salt) { Map map = new HashMap();
原创 SpingBoot-Thymeleaf-bootstrapTable-分頁之H5
H5 //初始化頁數$('#userListTable').bootstrapTable({url : 'sys/user-list.json',method : 'post', //請求方式()dataType : 'json',cont
原创 Android給TextView超過指定行數(n)顯示省略號
<TextView android:id="@+id/gp_game_disc" android:ellipsize="end" android:lineSpacingExtra="2dp
原创 Android 給TextView的內容 添加跳轉無下劃線
String url = data.blockChainUrl; //https or http url SpannableStringBuilder builder = new SpannableStri
原创 SpringBoot+Thymeleaf->問題1
H5頁面 <img th:src="files+'/'+${avatar}" ></img> <span th:text="${session.user.userName}+',您好!'">張三,您好</span> 服務端: 類上
原创 SpringBoot +spring security 與CSRF有關的幾個 問題
1、問題 開啓 csrf 後 列表頁面沒有數據 頁面console.log(403) HTTP Status 403-Invalid CSRF Token 'null' was found o
原创 mac 關閉和顯示 隱藏文件
defaults write com.apple.finder AppleShowAllFiles -bool true 此命令顯示隱藏文件defaults write com.apple.finder AppleShowAllFiles
原创 Android Studio中Run按鈕app的module顯示紅叉
app出現紅叉提示找不到Android SDK 一、直接有效 1. File -> Invalidate Caches -> Invalidate 2. File ->