Bootstrap
Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained byMark Otto and Jacob Thornton. To get started, checkout http://getbootstrap.com!
shell 上传目录
#!/bin/bash updir=/root/wav todir=/ sss=`find $updir -type d -printf $todir/’%P\n’| awk ‘{if ($0 == “”)next;print “mkdir ” $0}’` aaa=`find $updir -type f -printf ‘put %p %P \n’` ftp -nv spetechcular.com <<EOF user quantong quantong2013 type binary prompt $sss cd $todir $aaa quit EOF
Nginx的worker_cpu_affinity详解
配置文件中的worker_cpu_affinity可以用来绑定每个nginx进程所使用的CPU 官方的解释是: #—————————-引用文字-开始—————————- Syntax: worker_cpu_affinity cpumask [cpumask…] Default: none Linux only. With this option you can bind the worker process to a CPU, it calls sched_setaffinity(). For example, worker_processes 4; worker_cpu_affinity 0001 0010 0100 1000; Bind each worker process to one CPU only. worker_processes 2; worker_cpu_affinity 0101 1010; Bind the first worker to CPU0/CPU2, bind […]
resin-pro-4.0.35 crack 破解文件下载
resin-pro-4.0.35 crack 破解文件下载 resin-pro-4.0.35 破解文件下载pro.jar resin pro 4.0.35 Full Cracked download. 下载pro.jar文件,覆盖原来lib目录的pro.jar文件即可。 仅供学习使用,请在下载后24时间内删除。
resin-pro-4.0.34 crack 破解文件下载
resin-pro-4.0.34 crack 破解文件下载 resin-pro-4.0.34 破解文件下载pro.jar resin pro 4.0.34 Full Cracked download. 下载pro.jar文件,覆盖原来lib目录的pro.jar文件即可。 仅供学习使用,请在下载后24时间内删除。
resin-pro-4.0.33 crack 破解文件下载
resin-pro-4.0.33 crack 破解文件下载 resin-pro-4.0.33 破解文件下载pro.jar resin pro 4.0.33 Full Cracked download. 下载pro.jar文件,覆盖原来lib目录的pro.jar文件即可。 仅供学习使用,请在下载后24时间内删除。
How to use Mantis with Eclipse
In order to view and edit Mantis Tasks directly from Eclipse or Flex Builder you need to install the Mylyn Plugin for eclipse first: http://www.eclipse.org/mylyn/ Then install the Mylyn – Mantis Connector: http://mylyn-mantis.wiki.sourceforge.net/ To add your mantis repository click on Window->Other Views in Eclipse. Select the Mylyn Folder and add task list and task repositories. […]
awk用法总结
awk 用法小结 – – – by ruson 2006.4 NTU 1. awk 非常适合于结构化的文本文件(行、列数据)复杂处理。相对于 sed 而言,它可进 行复杂的编程处理,并且可以产生复杂的报表输出。 2. awk 通常有三个版本,旧 awk、nawk(新) 、gawk。Solaris 下建议用 nawk,因为旧 awk 有很多功能不支持,例如数学运算幂 ^ ,函数getline,system等。 3. 基本语法:awk ‘pattern{action}’ filename 其中 action 内容可扩充,也可以有多个 action。 执行顺序:awk 一行行读入输入文件,顺序执行‘’内内容,按模式匹配来采取动作。 其他调用:awk 可用内部变量和函数,条件与循环语句,也可执行数学运算和字符串操 作。 此外, 可以使用 BEGIN和 END来执行处理前预操作和处理后后继操作。 A. 常用内部变量:NR(当前行数)NF(字段总数)$0(当前整行)$1(第一个记录) FS(字段分隔符)OFS(输出字段分隔符)ORS(输出记录分隔符) B.模式 pattern可以是/ /包含的匹配形式,也是条件语句如$3<10 C.BEGIN(处理文件前的 action,常包含 FS、OFS 等) 、END(处理文件后的 action) […]
目錄許可權設置命令:chmod
目錄許可權設置命令:chmod 這是Linux系統管理員最常用到的命令之一,它用於改變檔或目錄的訪問許可權。該命令有兩種用法: 用包含字母和操作符運算式的文字設定法 其語法格式為:chmod [who] [opt] [mode] 檔/目錄名 其中who表示對象,是以下字母中的一個或組合: u:表示檔所有者 g:表示同組用戶 o:表示其他用戶 a:表示所有用戶 opt則是代表操作,可以為: +:添加某個許可權 –:取消某個許可權 =:賦予給定的許可權,並取消原有的許可權 而mode則代表許可權: r:可讀 w:可寫 x:可執行 例如:為同組用戶增加對檔a.txt的讀寫許可權: chmod g+rw a.txt 用數字設定法 而數字設定法則更為簡單:chmod [mode] 檔案名 關鍵是mode的取值,一開始許多初學者會被搞糊塗,其實很簡單,我們將rwx看成二進位數,如果有則有1表示,沒有則有0表示,那麼rwx r-x r- –則可以表示成為: 111 101 100 再將其每三位轉換成為一個十進位數,就是754。 例如,我們想讓a.txt這個檔的許可權為: 自己 同組用戶 其他用戶 可讀 是 是 是 可寫 是 是 可執行 那麼,我們先根據上表得到許可權串為:rw-rw-r–,那麼轉換成二進位數就是110 110 100,再每三位轉換成為一個十進位數,就得到664,因此我 們執行命令: chmod 664 a.txt
NginX 1.2.0 versus Resin 4.0.29 performance tests
Recently, we decided to spend some extra time improving Resin’s performance and scalability. Since we like challenges, we set a goal of meeting or beating nginx, a fast C-based web server. When working on performance, we use benchmarks to see which proposed changes improve Resin’s performance, and which proposed changes do not. The autobench/httperf benchmark […]