I hereby claim:
- I am phuphighter on github.
- I am johnnyn (https://keybase.io/johnnyn) on keybase.
- I have a public key ASC8jKLV-rngwDXbbG8LZxGTO6cRD9b-6B-ywt9fZcSRuQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* Mobile */ | |
@media only screen and (max-width: 767px) { | |
[class*="mobile hidden"], | |
[class*="tablet only"]:not(.mobile), | |
[class*="computer only"]:not(.mobile), | |
[class*="large screen only"]:not(.mobile), | |
[class*="widescreen only"]:not(.mobile), | |
[class*="or lower hidden"] { | |
display: none !important; | |
} |
$ cd /usr/src | |
$ wget http://nginx.org/download/nginx-0.8.52.tar.gz | |
$ tar xzvf ./nginx-0.8.52.tar.gz | |
$ rm ./nginx-0.8.52.tar.gz | |
$ gem install s3sync capistrano capistrano-ext passenger --no-ri --no-rdoc | |
$ passenger-install-nginx-module | |
# Automatically download and install Nginx? 2. No: I want to customize my Nginx installation | |
# Where is your Nginx source code located?: /usr/src/nginx-0.8.52 | |
# Where do you want to install Nginx to?: /opt/nginx |
Clone repo:
git clone git://github.com/maccman/juggernaut.git
cd juggernaut
Create Heroku app:
heroku create myapp --stack cedar
heroku addons:add redistogo:nano
git push heroku master
Publish your book to the iBookstore | |
You can request that your book be made available for public download by submitting it to the iBookstore. | |
Before you can publish your book to the iBookstore, you need to do the following: | |
-Create an iBookstore seller account. | |
-Download iTunes Producer, the application you use to submit your book to the iBookstore. After your iBookstore seller account is created, you can sign in to iTunes Connect and download iTunes Producer. |
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby | |
# - a browser with WebSocket support | |
# | |
# Usage: | |
# ruby redis_pubsub_demo.rb | |
# |
use Rack::Static, :urls => ["/stylesheets", "/images", "/javascripts"], :root => "public" | |
run lambda { |env| [200, { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' }, File.open('public/index.html', File::RDONLY)] } |
## | |
# This small script is an example of what you can do with the superfeedr : | |
# we monitor a few feeds with superfeedr and when, these feeds actually have | |
# new messages, we are posting them to a twitter account. | |
require "rubygems" | |
require "twitter" | |
require "superfeedr" | |
############################################################# |
# Author: Pieter Noordhuis | |
# Description: Simple demo to showcase Redis PubSub with EventMachine | |
# | |
# Requirements: | |
# - rubygems: eventmachine, thin, cramp, sinatra, yajl-ruby | |
# - a browser with WebSocket support | |
# | |
# Usage: | |
# ruby redis_pubsub_demo.rb | |
# |