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
publish 1 minute of audio/video, don't think about it too much. | |
collage? | |
what about a photo? | |
maybe just a little dance & little ditty? | |
gaberdine | |
a few linkz might save yr life. |
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
walk around the perimeter | |
erase without destroying | |
bitcoin transaction. do it, xfer some crypto currency | |
plan a party | |
call a random phone number | |
fill out a comment card |
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
require 'config/environment' | |
require 'drb' | |
DRBURI = "druby://0.0.0.0:6666" #"drbunix://#{File.join(Dir.pwd,'socket')}" | |
# NOTE: A dRuby reference to an object is not sufficient | |
# prevention from garbage collection! | |
class RailsFactory | |
def initialize |
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 | |
#this will setup docker-compose on a coreOS (or similar) box | |
# use sudo ./install-docker.compose.sh | |
mkdir -p /opt/bin | |
curl -L `curl -s https://api.github.com/repos/docker/compose/releases/latest | jq -r '.assets[].browser_download_url | select(contains("Linux") and contains("x86_64"))'` > /opt/bin/docker-compose | |
chmod +x /opt/bin/docker-compose |
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
# redash api wrapper class, example: | |
# require 'redash' | |
# redash = Redash.new('email', 'password') | |
# redash.logged_in? | |
require 'httparty' | |
class MyClass | |
include HTTParty | |
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
image: ruby2.0.0 | |
env: | |
- RAILS_ENV=test | |
script: | |
- cp config/database.drone.yml config/database.yml | |
- bundle install | |
- psql -c 'create database test;' -U postgres -h 127.0.0.1 | |
- bundle exec rake db:schema:load | |
- bundle exec rspec spec | |
services: |
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
def text_color | |
#simple lumen scale, (255 + 255 + 255 = 765) / 2 = 382.5 | |
# color = '#ff6600' | |
lumen = 0 | |
lumen += color[1..2].hex | |
lumen += color[3..4].hex | |
lumen += color[5..6].hex | |
if lumen > 382.5 | |
return '#000000' |
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
jQuery(document).ready(function(){ | |
// start hack #sorry | |
if ("ontouchstart" in document.documentElement){ | |
jQuery('html').addClass('touch'); | |
} | |
var style = document.createElement('style'); | |
style.type = 'text/css'; | |
hackystyle = '.touch #TB_window {height: 90%; -webkit-overflow-scrolling: touch !important;overflow: scroll !important;}'; | |
if (style.styleSheet) { | |
// IE |
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
#N canvas 0 22 1169 730 10; | |
#X obj 5 117 metro; | |
#X obj 48 -54 tgl 15 0 empty empty empty 17 7 0 10 -260097 -257985 | |
-1 0 127; | |
#X obj 67 -54 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 | |
-260097 -257985 -1 66 256; | |
#X obj 5 140 f; | |
#X obj 39 140 + 1; | |
#X obj 1 -40 hradio 16 1 0 10 empty empty empty 0 -8 0 10 -260097 -257985 | |
-1 0; |
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
#N canvas 0 0 500 500 ; | |
#X obj 299 414 osc~ 44; | |
#X obj 100 118 osc~ 8.3; | |
#X obj 200 118 osc~ 1.5; | |
#X obj 150 177 *~; | |
#X obj 399 118 osc~ 7.5; | |
#X obj 499 118 osc~ 0.1; | |
#X obj 449 177 *~; | |
#X obj 299 237 *~; | |
#X obj 299 296 *~ 88; |