- http://jscdn.upai.com/ 又拍云JS库加速服务
- http://open.bootcss.com/ Bootstrap中文网开放CDN服务
- http://staticfile.org/ 开放静态文件 CDN staticfile,七牛云存储提供支持 GitHub:https://github.com/staticfile/static
- 百度开发者中心CDN公共库
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo wget https://bintray.com/deepstreamio/rpm/rpm -O /etc/yum.repos.d/bintray-deepstreamio-rpm.repo | |
sudo yum install -y deepstream.io | |
deepstream install message redis | |
rm -f /etc/deepstream/conf.d/config.yml | |
sudo cat > /etc/init.d/deepstream <<- "EOF" | |
cmd="/usr/bin/deepstream" | |
user="root" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Simple two-phase commit for PHP couchbase. | |
* | |
* Michael Nitschinger (@daschl, 2012) | |
* | |
* Additional Remarks | |
* ------------------ | |
* - The Couchbase extension makes it currently pretty hard to write easy readable code when dealing with | |
* CAS (compared to the ruby adapter). This could certainly be improved with closures. I also found that |