摘要:
(1) iostat这个命令可以检测存储设备是否工作正常,显示存储系统的细节,可以看到每个磁盘的IO情况,也可以监控到CPU 的使用状态.14:52 [root@aaa]$ iostatLinux 2.6.18-308.el5 (aaa) 2014年08月22日avg-cpu: %user %nic... 阅读全文
摘要:
(1)如何自动清理老的releasecapistrano部署后自动清理老 release,默认只保留 5 个 releases添加下面代码到 config/deploy.rb# if you want to clean up old releases on each deploy uncomment... 阅读全文
摘要:
https://github.com/hakimel/reveal.js#installation1.install Node.jsbrew install nodejs2. install Grunthttp://gruntjs.com/getting-started#installing-the... 阅读全文
摘要:
django_for_pl.xml32768 阅读全文
摘要:
word-breakoverflow-wrapword-wrap参考:你真的了解word-wrap和word-break的区别吗?Difference between overflow-wrap and word-breakoverflow: hidden;white-space: nowrap;t... 阅读全文
摘要:
mysql> SELECT desc,status,play_time,push_type, 'interval' FROM cms_push;ERROR 2006 (HY000): MySQL server has gone awayNo connection. Trying to reconne... 阅读全文
摘要:
https://github.com/rest-client/rest-clienthttps://github.com/jnunemaker/httpartyhttp://ruby-doc.org/stdlib-2.1.2/libdoc/net/http/rdoc/Net/HTTP.htmlhtt... 阅读全文
摘要:
Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.https://github.com/javan/whenever(1)首先安装这个gem$ gem install whe... 阅读全文
摘要:
在移动端开发的过程中,很多时候要针对不同的设备类型给出不同的跳转页面,怎样来判断设备类型呢,看下下面的代码吧,哈哈,封装一下可以直接用啦。var uaFanction = function( var UA = window.navigator.userAgent, IsAndro... 阅读全文
摘要:
正如很多小伙伴们所知道的,楼主最近在开发移动端的响应式布局的自适应页面了,现在分享一个刚写完的小demohtml:移动端 css:@charset "utf-8";/* CSS Document */body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h... 阅读全文