Skip to content

Instantly share code, notes, and snippets.

View ayonliu's full-sized avatar

Lyon Liu ayonliu

View GitHub Profile
@ayonliu
ayonliu / APNS Entrust ssl certificate.md
Created July 4, 2014 11:18
To establish a TLS session with APNs, an Entrust Secure CA root certificate must be installed on the provider’s server. If the server is running Mac OS X, this root certificate is already in the keychain. On other systems, the certificate might not be available. You can download this certificate from the Entrust SSL Certificates website.
@ayonliu
ayonliu / Update to PHP 5.4 from Remi repo on CentOS 6.5.md
Created July 8, 2014 10:14
Update to PHP 5.4 from Remi repo on CentOS 6.5
@ayonliu
ayonliu / MongoDB Geo.md
Created July 9, 2014 10:08
Badvalue $geometry is required for geo near query

原因:需要为坐标建立索引, 坐标值要为 double 型。

db.places.ensureIndex({ "location": "2d" } )
'location'   => ['lng'=>42.241,'lat'=>55.5],
@ayonliu
ayonliu / animation.css
Created July 10, 2014 03:32
背景图片从左到右滚动效果
#header {
width: 100%;
height: 764px;
font-family: 'proxima_nova_rgregular', 'Proxima Nova', 'Helvetica Neue', Helvetica, sans-serif;
color: #fff;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
background: #000 url(../images/bg-new.jpg);
background-size: 100%;
margin: 0 auto;
@ayonliu
ayonliu / add a git repo on server.md
Last active August 29, 2015 14:04
4.4 服务器上的 Git - 架设服务器
@ayonliu
ayonliu / Mongo LBS.md
Created July 28, 2014 02:57
深入浅出Symfony2 - 结合MongoDB开发LBS应用
@ayonliu
ayonliu / slide.md
Last active August 29, 2015 14:04
slide show