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
/* New Gold Leaf */ | |
/* http://meyerweb.com/eric/tools/css/reset/ | |
----------------------------------------------------------------------------------------- */ | |
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { | |
margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent;} | |
body {line-height:1;} | |
ol, ul {list-style-type:none;} |
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
# really make sure searchd has been killed before rebuilding search index | |
# replace `searchd` with the process name you want to kill | |
ps ux | awk '/searchd/ && !/awk/ Kill {print $2}' | xargs kill -9 |
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
.DS_Store | |
log/*.log | |
log/* | |
tmp/**/* | |
db/*.sqlite3% | |
log/searchd* | |
config/sphinx.yml | |
config/development/sphinx.conf | |
db/sphinx/* |
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 | |
# You can run this on your server by doing this: | |
# bash -c "`wget -O - frozenplague.net/boris`" | |
# If you don't have wget, use curl. | |
echo "Need your password to update time & install things:" | |
sudo ntpdate pool.ntp.org | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential mysql-server libmysqlclient15-dev apache2 libssl-dev apache2-prefork-dev libapr1-dev libaprutil1-dev zlib1g zlib1g-dev |
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/sh | |
cd ~/Downloads | |
echo ":::::::::: WGET" | |
# install wget, which is cleverer than curl | |
curl -O http://ftp.gnu.org/gnu/wget/wget-1.11.tar.gz | |
tar zxvf wget-1.11.tar.gz | |
cd wget-1.11 | |
./configure --prefix=/usr/local |
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
<title>css_correct_width</title> | |
<style type="text/css" media="screen"> | |
/* because all browsers have a differnt opinion on alot of things like what the | |
* default size of an h1 is, what the default font-famliy is, and many things else, |
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
/Users/jpsilvashy/.rvm/rubies/ree-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems.rb:777:in `report_activate_error': Could not find RubyGem railties (>= 0) (Gem::LoadError) |
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
class Panel | |
# NOTES: | |
# When app initilizes, it should check all the existing LED's in the DB | |
# It should attempt to update them upon successful connection via serial | |
# Important! App should make sure it doesn't terminate the connection to the device | |
# App may need to send out a heartbeat every 30 seconds (guess) to keep connection alive | |
# After update of LED run something like Panel.new.send(22, 4, 'ff0000') | |
# TODO: |
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
[[ | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00", | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00", | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00", | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00", | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00" | |
], [ | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00", | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00", | |
"ff0000", "00ffff", "0000ff", "00ff00", "ffff00", |
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
# Simple ubuntu setup instructions | |
# First create ssh keys | |
sudo apt-get update | |
sudo apt-get install build-essential | |
sudo apt-get install zlib1g-dev libssl-dev libreadline5-dev | |
sudo apt-get install mysql-server mysql-client libmysqlclient-dev | |
sudo apt-get install git-core | |
# Install REE from source, install passenger and nginx |
OlderNewer