systemduses‘targets‘insteadofrunlevels.Bydefault,therearetwomaintargets:##multi-user.target:analogoustorunlevel3#graphical.target:analogoustorunlevel5##Tosetadefaulttarget,run:##ln-sf/lib/systemd/system/<targetname>.target/etc/systemd/system/default.t..
分类:
其他好文 时间:
2014-11-19 16:16:55
阅读次数:
609
nginx支持php的解析配置,userwww-data;(注意此用户,如果注释掉,错误日志里面会出现连接php5-fpm失败,权限拒绝)location~\.php${roothtml;#fastcgi_split_path_info^(.+\.php)(/.+)$;#fastcgi_pass127.0.0.1:9000;fastcgi_passunix:/var/run/php5-fpm.sock;fastcgi_indexi..
分类:
Web程序 时间:
2014-11-19 16:14:45
阅读次数:
157
原论文链接失效,特在这里保存一份
http://www.apl.jhu.edu/~hall/Lisp-Notes/Macros.html
Lisp functions take Lisp values as input and return Lisp values. They are executed at run-time. Lisp macros take Lisp code as inp...
分类:
系统相关 时间:
2014-11-19 11:23:25
阅读次数:
224
先说同步方法,它到底是锁定的当前对象,还是当前类
代码块1
package com.ssss;
public class Thread1 implements Runnable {
//public static Object o=new Object();
public void run() {
pt();
}
public synch...
分类:
编程语言 时间:
2014-11-19 11:12:37
阅读次数:
223
Makeself.sh是一个小的Shell脚本,用于从一个目录中生成自解压的tar.gz压缩包。结果文件以一个shell脚本显示(大多数以.run作为后缀名),可以自动运行。该文档会解压自己到一个临时目录,并且执行一个可选的任意命令(例如:一个安装脚本)。它非常类似于Windows中的Winzip自解压生成的文件。Makeself文档也包括校验和用于集成子验证(CRC或MD5校验和)。
Make...
分类:
其他好文 时间:
2014-11-19 11:06:18
阅读次数:
201
照猫画虎,附上原文:https://docs.docker.com/userguide/dockerizing/?便于理解。 ? ?1. 一个Hello world 后台服务 $?sudo?docker?run?-d?ubuntu:14.04?/bin/sh?-c?"while?true;?do?echo?hel...
分类:
其他好文 时间:
2014-11-19 02:27:16
阅读次数:
268
原论文链接失效,特在这里保存一份
http://www.apl.jhu.edu/~hall/Lisp-Notes/Macros.html
Lisp functions take Lisp values as input and return Lisp values. They are executed at run-time. Lisp macros take Lisp code as inp...
分类:
系统相关 时间:
2014-11-19 01:21:25
阅读次数:
269
先说同步方法,它到底是锁定的当前对象,还是当前类
代码块1
package com.ssss;
public class Thread1 implements Runnable {
//public static Object o=new Object();
public void run() {
pt();
}
public synch...
分类:
编程语言 时间:
2014-11-19 01:12:54
阅读次数:
261
在程序是多模块结构的时候,使用tomcat的maven插件和jetty的maven插件有细微差别: 1.tomcat7-maven-plugin 可以直接在parent的邮件直接运行:tomcat7:run 2.jetty-maven-plugin 直接在parent运行报错。 1.需要首先在par...
分类:
其他好文 时间:
2014-11-18 23:04:36
阅读次数:
233
Interceptors (EF6.1 Onwards)Starting with EF6.1 you can register interceptors in the config file. Interceptors allow you to run additional logic when ...
分类:
数据库 时间:
2014-11-18 17:26:31
阅读次数:
347