View gist:643efb5f48ff07b843cc
1 2 3 4 5 6 7 8 9 10
http://www.royalgazette.com/assets/pdf/RG1283231129.pdf
http://www.royalgazette.com/assets/pdf/RG1283221129.pdf
http://www.royalgazette.com/assets/pdf/RG1283191129.pdf
http://www.royalgazette.com/assets/pdf/RG134857410.pdf
http://www.royalgazette.com/assets/pdf/RG1283271129.pdf
http://www.royalgazette.com/assets/pdf/RG81144212.pdf
http://www.royalgazette.com/assets/pdf/RG13618656.pdf
http://www.royalgazette.com/assets/pdf/RG1283211129.pdf
http://www.royalgazette.com/assets/pdf/RG123563823.pdf
http://www.royalgazette.com/assets/pdf/RG121737727.pdf
View gist:943ab37cf222381ef7d6
1 2 3 4 5 6 7 8 9 10
// NAD27 to NAD83/WSG84 converter
// http://transition.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
// http://home.hiwaay.net/~taylorc/bookshelf/math-science/geodesy/datum/transform/molodensky/
// http://www.gov.bm/portal/server.pt?open=512&objID=330&&PageID=1460&mode=2&in_hi_userid=2&cached=true
 
var data = [
{ item: '1', lat: [32,19,45.5], lon: [-64,50,7.8] },
{ item: '2', lat: [32,19,1.6], lon: [-64,50,33.8] },
{ item: '3', lat: [32,18,49.2], lon: [-64,50,31.9] },
{ item: '4', lat: [32,18,10.3], lon: [-64,52,1.5] },
View gist:1927b2abaa05e6b098d5
1 2 3 4 5 6 7 8 9 10
<!--
# ([].each {}).empty?
# .each returns the enumerator
# the block itself returns an array
-->
 
<% if @messages.each do |message| %>
<%# code or partial to display the message %>
<% end.empty? %>
You have no messages.
View deferred yield.rb
1 2 3 4 5 6 7 8 9 10
def yield_placeholder(name, content = nil, &block)
if content_for?(name)
concat @view_flow.get(name)
else
if block_given?
content = capture(&block)
end
concat content
end
end
View gist:8852875

MOBILE WEB (at 25 minutes)

https://www.growthhacker.tv/jimmy-soni&4205a42e

Jimmy Soni (Managing Editor at the Huffington Post)
@jimmyasoni

  • You'll get a lot more traction as a publisher if you focus on mobile web than if you focus on mobile apps
  • The people that download your app our your hardcore loyalists
  • 80% to 85% of apps are never opened after their first open
View config.fish
1 2 3 4 5 6 7 8 9 10
# ~/.config/fish/config.fish
 
# general settings
 
set -g -x PATH /usr/local/sbin /usr/local/bin /Users/muloka/bin $PATH
set -g -x GOPATH $HOME/gocode
set -g -x LANG "en_US.UTF-8"
set -g -x LC_ALL "en_US.UTF-8"
set -g -x ARCHFLAGS "-arch x86_64"
set -g -x EDITOR subl
View gist:8682328
1 2 3 4 5
TASK: [npm install --production] **********************************************
failed: [10.0.0.10] => {"failed": true}
msg: this module requires key=value arguments (['production', 'state=present'])
 
FATAL: all hosts have already failed -- aborting
View ansible-lineinfile-examples.yml
1 2 3 4 5 6 7 8 9 10
## credit: http://fabian-affolter.ch/blog/the-lineinfile-module-of-ansible/
---
- hosts: alpine_install
user: root
tasks:
# - name: create a complete empty file
# command: /usr/bin/touch /test/test.conf
- name: create a new file with lineinfile
View docker-ubuntu-13x.yml
1 2 3 4 5 6 7 8 9 10
# vagrant.yml
- hosts: all
user: vagrant
sudo: True
tasks:
- name: Update APT package cache
apt: update_cache=yes
 
- name: Upgrade APT packages
apt: upgrade=yes
View gist:5787951
1 2 3 4 5 6 7 8 9
// ==UserScript==
// @name Disable Facebook news feed
// @namespace http://giant.io
// @version 0.1
// @description Disables the loading of the news feed on Facebook
// @match https://www.facebook.com/*
// @copyright 2013+, Louis Galipeau
// ==/UserScript==
 
Something went wrong with that request. Please try again.