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
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
# 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
#!/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
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
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
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
Precious Cargo® Infant Jersey Bib. CAR30 $1.68 | |
Precious Cargo® Infant Terry Bib. CAR31 $1.94 | |
Precious Cargo® Infant Core Cotton Tee. CAR54I $1.94 | |
Precious Cargo® Toddler Full-Zip Hooded Sweatshirt. CAR78TZH $10.39 | |
Precious Cargo® Toddler Core Cotton Tee. CAR54T $2.07 | |
Precious Cargo® Toddler Pullover Hooded Sweatshirt. CAR78TH $7.79 | |
Precious Cargo® Infant Full-Zip Hooded Sweatshirt. CAR78IZH $9.09 |
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
v0.9. | |
in context of // in relation to: a short performance wedged in/between** other performancez on a particular evening, of a particular theme forming (a(d)(just)) situation(z) | |
1. in, perhapz, a more broad context, perhapz related more to ppl specifically, rather than (or perhapz in/between) just situationz | |
a. "hackathon"** as a general contextual starting point. | |
i. in a broad/general/utopic way: community input on interest topics related to software generally. | |
ii. however specific starting pointz could include: D.I.Y. digital content, or a panoply of digital thingz, or a panoply of authorship | |
1. as a more specific example: https://lacunaclub.github.io/wiki/ | |
2. so, the wiki as another general contextual starting point: text content somewhere in/between poetic diary and encyclopedic canon (um, cannon?). | |
3. ppl gather @ppl and write shit, && edit shit. could be private, could be pubic, but be either/or at (diff!)erent pointz in time. observe diff(z). |
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
fingerz == okay | |
camera == heating up | |
voice == p good | |
brain == ai on fire |