原创 mac book pro 全新安裝 windows系統 進行鍵盤映射,啓動標準F1,F2

mac和windows鍵盤映射 Fn+左方向鍵,home Fn+右方向鍵,end Fn+上方向鍵,上一頁 Fn+左方向鍵,下一頁 Fn+enter,insert Fn+delete,delete Fn+shift+delete,shift

原创 IniWebEnvironment中的FilterChainResolver加載過程分析

IniWebEnvironment中,有兩個shiro中最重要的對象,WebSecurityManager和FilterChainResolver,今天我們來看看FilterChainResolver是如何加載的。 1步,[urls]這

原创 Apache Shiro源碼原理解讀1

先從web application的配置文件說起,請先讀這裏,Apache Shiro Web Support, 我們看到需要配置EnvironmentLoaderListener和ShiroFilter,我們一步一步來看看這裏面做了什麼

原创 IOS UI 框架大集合

https://github.com/vsouza/awesome-ios#layout,大全   NerdyUI LayoutKit, LinkedIn, similar to flexbox, but not is. MyLinear

原创 Mac OS 10.14.1 配置 phpstorm 和 xdebug

一定不要用Mac OS自帶的PHP版本。 此文主要解決,error,xdebug.c:25:10: fatal error: 'php.h' file not found 1,安裝php >>brew search php >>brew

原创 xcode 常用快捷鍵

 ctl+6,查看類的所有方法 cmd+b,編譯 cmd+r,運行

原创 objective-c 變量和方法,看這一篇文章就差不多了

// // MyTest.h // eliteEnglishIPhone // // Created by jelly on 2020/2/23. // Copyright © 2020 jelly. All rights re

原创 redis centos 安裝 install

1,安裝 yum install gcc-c++ make distclean make yum install -y tcl make test 2,配置 cd src cp ../redis.conf ./redis.conf vi

原创 Intellij IDEA 自定義 getter and setter

選擇某個類,Alt+Insert,選擇getter and setter 編輯getter template,輸入以下,將boolean類型生成getXx()和setXx(),而不是isXx()方法: #if($field.modif

原创 IOS開發圖片整理

IOS IPhone Objective-C Objective C 開發 代碼示例 例子 入門基礎 進階 高級 github地址:https://github.com/jelly-liu/Objective-C-Learner UINa

原创 Apache Shiro [urls]中配置的roles, perms, authc這樣的filterChain的執行過程解析

下圖是入口方法,request到來時,先被執行的方法。 下圖,ProxiedFilterChain是核心,裏面是一個遞歸調用,實現了多個filters的連續處理,最後才處理originFilterChain 下圖,遞歸調用,看到了

原创 VTD xml 和 SAX xml 性能測試

vtd的優勢是綜合了dom和sax的二者的優勢 解析快,佔內存少,快速查找,增量更新。 測試的xml文件大小分別是003K,010K,184K,744K VTD用com.ximpleware.vtd-xml, version is 2.

原创 shiro.ini加載過程

第1步,getIni()直接返回實例變量this.int 第2步,我們追一下configLocations是從哪裏來的 1步,就是web.xml中配置的,參數名是shiroConfigLocations。 2步,ResourceCon

原创 IniWebEnvironment中的WebSecurityManager加載過程分析

1步,直接調用構造函數,將ini設置到成員變量中,沒什麼可看的。 2步,最終會調用WebIniSecurityManagerFactory.createInstance(Ini ini)方法 由上面的代碼可以看出,SecurityMa

原创 IOS 開發入門問題記錄

XCode 版本:XCode11+。 如何創建一個EmptyProject,按下面連接所說,操作即可,(我按照網上其它的各種操作方法,結果都是失敗,只有這個是正解): https://github.com/Isuru-Nanayakkar