1、检查[root@puppet~]#ll/etc/puppet/
总用量32
-rw-r--r--1rootroot417811月516:10auth.conf
-rw-r--r--1rootroot1111月516:10autosign.conf
drwxr-xr-x5rootroot409611月516:10environments
-rw-r--r--1rootroot156111月516:10fileserver.conf
drwxr-xr-x2rootroot409611月1..
分类:
其他好文 时间:
2014-11-14 15:54:11
阅读次数:
300
Commit to AppStore:1024*1024//for App IconIcon-60@3x.png:180*180 //iPhone 6 Plus (@3x)Icon-60@2x.png:120*120 //iPhone 6 and iPhone 5 (@2x)Icon-76@2x.p...
分类:
移动开发 时间:
2014-11-14 10:41:55
阅读次数:
182
数据库事务:数据库事务(Database Transaction)是指作为单个逻辑工作单元执行的一系列操作。事务处理可以确保除非事务性单元内的所有操作都成功完成,否则不会永久更新面向数据的资源。设想网上购物的一次交易,其付款过程至少包括以下几步数据库操作:更新客户所购商品的库存信息保存客户付款信息-...
分类:
数据库 时间:
2014-11-13 20:44:27
阅读次数:
288
git status 查看当前分支状态
git add 需要提交的文件
git rm 需要删除的文件
git commit -m "注释说明"
git branch 查看当前是属于哪个分支,假如是puppis 分支
git pull --rebase 更新到与服务器同步
git push origin puppis 提交到p...
分类:
其他好文 时间:
2014-11-13 14:49:45
阅读次数:
179
RequestContext
RequestContext可以看成request和response的合体。多个RequestContext还可以串起来,就像Filter链条一样。每个外层RequestContext都会在内层RequestContext的基础上增加功能。在设计模式中这叫装饰器。
RequestContext种类有basic/buffered/lazy-commit/pa...
分类:
Web程序 时间:
2014-11-12 23:06:32
阅读次数:
381
git branch 查看本地所有分支 git status 查看当前状态 git commit 提交 git branch -a 查看所有的分支 git branch -r 查看本地所有分支 git commit -am "init" 提交并且加注释 git remote add origin git@192.16...
分类:
其他好文 时间:
2014-11-12 13:55:53
阅读次数:
146
git clone git@192.168.1.155:web.git 克隆创建好的 gitgit log 查看日志git add . 增加文件git status 查看状态git add -u 修改文件git commit -m '第一次提交'git revert HEAD 还原之前的提交g...
分类:
其他好文 时间:
2014-11-12 13:21:15
阅读次数:
109
很多翻译文章都把innodb_flush_log_at_trx_commit的翻译得很勉强,导致阅读中文解析也不能完全理解,今天翻了下官方文档,大致意思如下:当设置1时(默认值):每次事务提交(commit),都会将logbuffer的内容写到(writeout)logfile,并做刷写(flushtodisk)操作(保证数据持..
分类:
数据库 时间:
2014-11-11 23:05:37
阅读次数:
288
报错
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1360)
at android.suppor...
分类:
其他好文 时间:
2014-11-10 20:03:15
阅读次数:
266
删除文件夹后点commit提交,但是报错,报错内容如下:
提示 "svn: Commit failed
(details follow): svn: '/***/xxx.c' is scheduled for addition, but is missing "
原因:之前用SVN提交过的文件,被标记为"add"状态,等待被加入到仓库。若此时你把这个文件删除了,SVN提...
分类:
其他好文 时间:
2014-11-10 15:30:39
阅读次数:
292