原创 eclipse解決maven jar包衝突
項目右鍵 debug 設置 添加啓動參數-verbose:class如圖然後運行 看期間加載了那些jar包 不符合的jar去pom.xml中排除掉 (查看不需要的jar包的上一層就是你項目引用的jar)如圖排除找到jar包後右鍵E
原创 linux 內存佔用說明
cat /proc/meminfo名詞解釋 這裏先解釋下幾個關鍵詞:1、MemTotal:內存總數 系統從加電開始到引導完成,BIOS等要保留一些內存,內核要保留一些內存,最後剩下可供系統支配的內存就是MemTotal。這個值在系統運
原创 chrome 不識別response.getWriter().write() 的html解決辦法
HttpServletResponse response = getResponse(); response.setHeader("content-type", "text/html;charset=UTF-8"); OutputStre
原创 查看LINUX進程內存佔用情況
top命令是Linux下常用的性能分析工具,能夠實時顯示系統中各個進程的資源佔用狀況,類似於Windows的任務管理器 可以直接使用top命令後,查看%MEM的內容。可以選擇按進程查看或者按用戶查看,如想查看oracle用戶的進程內存使
原创 多個excel合併成一個
Sub 合併當前目錄下所有工作簿的全部工作表()Dim MyPath, MyName, AWbNameDim Wb As Workbook, WbN As StringDim G As LongDim Num As LongDim BOX
原创 spring security 和spring session整合
<!-- SpringSecurity過濾器鏈 --> <filter> <filter-name>springSecurityFilterChain</filter-name> <filter-class>org.spri
原创 redis jedis配置
<!--Jedis連接池的相關配置 --> <bean id="jedisPoolConfig" class="redis.clients.jedis.JedisPoolConfig"> <!--新版是maxTotal,舊版是maxAc
原创 自適應font-size的解決辦法
這是淘寶的github網址,裏面有適配所需的js還有說明文檔 地址:https://github.com/amfe/lib-flexible(function flexible (window, document) { var doc
原创 nginx purge_cache出現404的問題
#用於清除緩存的url設置 #假設一個URL爲http://www.123.com/test.gif,那麼就可以通過訪問http://www.123.com/purge/tes
原创 移動端 滑動表層div時禁止底層div滑動
在遮罩層添加 @touchmove.prevent如果彈窗不在遮罩層內部,那麼冒泡就不會經過遮罩層,也就無法屏蔽滑動了 <div class="overlayer" @touchmove.prevent > </div>
原创 frp nginx 配置 實現內網穿透(並配置https穿透)
需要一個具有外網的vps和一個內網的vps frp下載地址:https://github.com/fatedier/frp/releases服務器端操作:nginx: server { listen
原创 java urlrewrite 僞靜態 排除某個url
每個屬性的用處:http://tuckey.org/urlrewrite/manual/3.0/index.html<rule> <!-- 排除監控 --> <condition operator="equal">/
原创 wepy 小程序 echarts 搭配使用
組件:canvas-id不能自定義貌似是wepy的原因<style> </style> <template> <canvas class="ec-canvas" canvas-id="eChart" ></canvas> </temp
原创 NoSuchMethodException org.springframework.security.web.session.ConcurrentSessionFilter.<init>()?
<bean id="concurrencyFilter" class="org.springframework.security.web.session.ConcurrentSessionFilter"> <property nam