Skip to content

Instantly share code, notes, and snippets.

View brookr's full-sized avatar
💭
🚀

Brook Riggio brookr

💭
🚀
View GitHub Profile
@brookr
brookr / top-nav.css
Created November 17, 2018 08:30 — forked from stephanielingwood/top_nav.css
CSS styling template for a nav bar on the top
/* Note to students: Some properties are given to you to fill out,
others you can modify as they stand, and if you have time,
there are definitely some properties you should add!*/
html {
height: 100%;
}
body {
width: 800px;
height: 100%;
@brookr
brookr / left-nav.css
Last active November 17, 2018 08:29 — forked from stephanielingwood/gist:4e3d06d284c82ec057a7
CSS template for nav bar on the left
/* Note to students: Some properties are given to you to fill out,
others you can modify as they stand, and if you have time,
there are definitely some properties you should add!*/
html {
height: 100%;
}
body {
height: 100%;
}
@brookr
brookr / bst.coffee
Last active August 29, 2015 14:08 — forked from philwilt/bst
class BinarySearchTree
constructor: () ->
@val = null
@size = 0
@right = null
@left = null
insert: (val) ->
if @val == val
<script>
var usa, ghana, portugal, germany, miles;
function Racer(name, speed, intelligence, luck) {
this.name = name;
this.speed = speed;
this.intelligence = intelligence;
this.luck = luck;
this.position = 0;
this.race = function() {

Twitter公式クライアントのコンシューマキー

Twitter for iPhone

Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU

Twitter for Android

Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys

Twitter for Google TV

Consumer key: iAtYJ4HpUVfIUoNnif1DA

@brookr
brookr / gist:4676428
Last active December 11, 2015 23:28 — forked from anonymous/gist:4676424
Danny:
<object id="myExperience2098717663001" class="BrightcoveExperience">
<param name="bgcolor" value="#FFFFFF" />
<param name="width" value="208" />
<param name="height" value="160" />
<param name="playerID" value="2071055206001" />
<param name="playerKey" value="AQ~~,AAAB4eGobUk~,eISeYOITQnOjwQERkrSD1mcNDIiDNSB7" />
<param name="isVid" value="true" />
<param name="isUI" value="true" />
<param name="dynamicStreaming" value="true" />
@brookr
brookr / gist:2493622
Created April 25, 2012 21:34 — forked from derekharmel/gist:2399684
How to fix pow not using the correct gemset
# From the project root
rvm env -- `rvm current` >> .powenv
@brookr
brookr / FakerCalData.rb
Created November 15, 2009 06:41 — forked from carlosdavis/gist:225567
Fake CalHawk Data
gem 'faker'
require 'faker'
I18n.reload!
account_id = 4
# Makes a bunch of different types of events per day at a random time during work hours
(30.days.ago.to_date..90.days.from_now.to_date).each do |date|
rand(3).times do
start = date.beginning_of_day + 8.hours + (rand(32) * 15).minutes
gem 'faker'
require 'faker'
# Clean out what is there
# Makes a bunch of different types of events per day at a random time during work hours
account_id ||= 1
(30.days.ago.to_date..90.days.from_now.to_date).each do |date|
rand(5).times do
start = date.beginning_of_day + 8.hours + (rand(32) * 15).minutes