原创 easyui datagrid 使用代碼片段記錄

/** * */ $(function() { urlbase = contextPath; // 拉取分組組別信息 // window.groups = [ { // group : "1

原创 Build in the Cloud: How the Build System works

This is the second in a four part series describing how we use the cloud to scale building and testing of software at G

原创 tar 打包壓縮排除某些目錄

tar 打包壓縮排除某些目錄: eg:排除web目錄下的log,tmp目錄 tar cvzf data.tar.gz  --exclude=/data/web/log  --exclude=/data/web/tmp   /data/we

原创 shell 取得上個月的開始結束日期

#!/bin/bash if [ $# -eq 1 ]; then day=$1 else day=`date +%Y%m%d` fi tmp_day_dis=$(date +%e -d "${day}")

原创 nginx 相關配置參考文章

if命令的設計與實現 詳細文章鏈接 http://www.pagefault.info/?p=235 nginx location 正則匹配 詳細文章鏈接 http://seanlook.com/2015/05/17/nginx-loc

原创 前端資源收集

前端數據收集及性能分析框架: http://fex.baidu.com/blog/2014/05/front_end-data/ 點贊 收藏 分享 文章舉報 wwwasw 發

原创 awk 奇偶行用制定分隔符合並| 按照指定列計數

#按照某個分割列計數 BEGIN{}{if(array[$1]>0){array[$1]=array[$1]+1;next}else{array[$

原创 websocket資源收集

博客: websocket api  https://tomcat.apache.org/tomcat-7.0-doc/web-socket-howto.html  點贊 收藏 分享 文章舉報

原创 大數據相關資源收集

 hue 開源的Apache Hadoop UI系統  http://gethue.com/ oozie 一種框架,它讓我們可以把多個Map/Reduce作業組合到一個邏輯工作單元中 http://oozie.apache.org/

原创 awk 參考

〇、前言         意見反饋,請mailto:datouwang...at...gmail.com。 一、AWK簡介         AWK名字來源於三位創造者Aho、Weinberger和Kernighan統稱。      

原创 用sshpass實現ssh的自動登陸

要實現ssh自動登錄,網上搜了一下,主要有兩種方法:1、生成公鑰。2、編寫expect腳本。這兩種方法,還有一種是sshpass: 用法:sshpass 參數SSH命令(ssh,sftp,scp等)。Usage: sshpass [-f

原创 easyui datagrid 使用記錄

/**  *  */ $(function() {     urlbase = contextPath;     // 拉取分組組別信息    

原创 EE問題相關資料摘記

1.問題定義 一個賭徒,要去搖老虎機,走進賭場一看,一排老虎機,外表一模一樣,但是每個老虎機吐錢的概率可不一樣,他不知道每個老虎機吐錢的概率分佈是什麼,那麼每次該選擇哪個老虎機可以做到最大化收益呢?這就是多臂賭博機問題(Multi

原创 動態庫的查找路徑

LD_LIBRARY_PATH: 動態庫的查找路徑 設置:方法一: export  LD_LIBRARY_PATH=LD_LIBRARY_PATH:/XXX 但是登出後就失效方法二: 修改~/.bashrc或~/.bash_profil

原创 js圖片懶加載資源引用

基本原理: 在可見範圍內替換img標籤的src爲實際圖片地址,實現圖片的加載。未可見範圍內的圖片src爲空,不進行圖片的加載。 引用開源:   https://github.com/verlok/lazyload 官方說:性能優於jQue