$8 top-shelf cocktails look as delicious as they taste
http://www.facebook.com/pages/Mister-Lews-Win-Win-Bar-Grand-Sazerac-Emporium/169898556394601
$8 top-shelf cocktails look as delicious as they taste
http://www.facebook.com/pages/Mister-Lews-Win-Win-Bar-Grand-Sazerac-Emporium/169898556394601
| require 'rubygems' | |
| require 'activesupport' | |
| require 'bad_ass_extensions' | |
| require 'nokogiri' | |
| require 'open-uri' | |
| class GitHubber | |
| attr_accessor :header, :name, :date, :date_string, :links, :post | |
| def initialize(hash, post) |
| $ git clone github:lenary/guides.git | |
| Cloning into guides... | |
| remote: Counting objects: 255, done. | |
| remote: Compressing objects: 100% (216/216), done. | |
| remote: Total 255 (delta 111), reused 163 (delta 35) | |
| Receiving objects: 100% (255/255), 1.49 MiB | 564 KiB/s, done. | |
| Resolving deltas: 100% (111/111), done. | |
| $ cd guides | |
| $ git remote -v |
| HTTPS = require "https" | |
| EventEmitter = require("events").EventEmitter | |
| class Campfire extends EventEmitter | |
| constructor: (options) -> | |
| @token = options.token | |
| @rooms = options.rooms.split(",") | |
| @account = options.account | |
| @domain = @account + ".campfirenow.com" | |
| @authorization = "Basic " + new Buffer("#{@token}:x").toString("base64") |
| require 'parslet' | |
| require 'pp' | |
| class HTTPParser < Parslet::Parser | |
| # | |
| # Character Classes | |
| # | |
| rule(:digit) { match('[0-9]') } | |
| rule(:digits) { digit.repeat(1) } | |
| rule(:xdigit) { digit | match('[a-fA-F]') } |
| #!/usr/bin/env ruby -w | |
| # brew-services(1) - Easily start and stop formulas via launchctl | |
| # =============================================================== | |
| # | |
| # ## SYNOPSIS | |
| # | |
| # [<sudo>] `brew services` `list`<br> | |
| # [<sudo>] `brew services` `restart` <formula><br> | |
| # [<sudo>] `brew services` `start` <formula> [<plist>]<br> |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| # Our own variable where we deploy this app to | |
| deploy_to = "/srv/example.com" | |
| current_path = "#{deploy_to}/current" | |
| shared_path = "#{deploy_to}/shared" | |
| shared_bundler_gems_path = "#{shared_path}/bundler_gems" | |
| # See http://unicorn.bogomips.org/Sandbox.html | |
| # Helps ensure the correct unicorn_rails is used when upgrading with USR2 | |
| Unicorn::HttpServer::START_CTX[0] = "#{shared_bundler_gems_path}/bin/unicorn_rails" |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Cross-browser kerning-pairs & ligatures</title> | |
| <style> | |
| body { font-family: sans-serif; background: #f4f3f3; color: rgba(40, 30, 0, 1); width: 500px; margin: 80px auto; padding: 0px; } | |
| a { color: rgba(15, 10, 0, 0.8); text-decoration: none; border-bottom: 1px solid; padding: 1px 1px 0px; -webkit-transition: background 1s ease; } | |
| a:hover { background: rgba(0, 220, 220, 0.2); } | |
| p, li { line-height: 1.5; padding: 0em 1em 0em 0em; margin: 0em 0em 0.5em; } |
This is a quick guide to OAuth2 support in GitHub for developers. This is still experimental and could change at any moment. This Gist will serve as a living document until it becomes finalized at Develop.GitHub.com.
OAuth2 is a protocol that lets external apps request authorization to private details in your GitHub account without getting your password. All developers need to register their application before getting started.