Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View devinrhode2's full-sized avatar
😀

Devin Rhode devinrhode2

😀
View GitHub Profile
leadingMultiple = 0
multiples = {}
# first do multiples of 3:
while leadingMultiple < 1000 do
multiples[leadingMultiple] = :present;
leadingMultiple += 3
end
# reset to zero
data:text/html,
<body id='b'>
<textarea spellcheck="false" id="t" autofocus></textarea>
<script>
var f,
t = document.getElementById("t"),
var suits = ['Heart', 'Diamond', 'Club', 'Spade'];
var value = ['2','3','4','5','6','7','8','9','10','J','Q','K','A'];
function Card(num, suit) {
this.num = num;
this.suit = suit;
}
function Deck() {
this.cards = [];
https://www.google.com/search?q=test&ie=UTF-8&oe=UTF-8&hl=en&client=safari
http ://www.google.com/search?q=test+&rlz=1Y3TXLS_enUS526US526&aq=f&oq=test+&client=ms-android-google&sourceid=chrome-mobile&ie=UTF-8
https://www.google.com/search?q=test &aq=f &oq=test &aqs=chrome.0.57j61l3j60j0.139&sourceid=chrome&ie=UTF-8
{google:baseURL}search?q=%s &{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}
https://www.google.com/search?q=the+thing+i+want+to+do+i+don't+romans&aq=1&oq=the+thing+I+w&aqs=chrome.2.57j0l3j62l2.7591&sourceid=chrome&ie=UTF-8
{google:baseURL}search?q=%s &{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}
ios, then
@devinrhode2
devinrhode2 / shield.js
Last active December 11, 2015 10:39 — forked from occ/shieldjs
/*! Shield.js v0.0.1 - Stack traces and moar - MIT licensed - Github.com/Shield/shield.js */
// Let's var the library namespace, so you can keep the library to a certain scope, (and also use multiple versions)
// If any issues arise complaining that Shield is undefined (not on the global object) then we can address that when it arises
/**
* exceptionalException
* You know, for something that should really never occur
*/
var exceptionalException = function exceptionalExceptionF(message) {
/**package
{
"name" : "onefiledemo",
"version" : "1.8.3",
"description" :"Just this one file, it's a whole package!"
"dependencies": {
}
}
**/
@devinrhode2
devinrhode2 / setup.sh
Created November 7, 2012 19:04 — forked from pbyrne/setup.sh
Set Up Work Laptop
#!/bin/bash
echo "Updating Homebrew and bash completion"
brew update
echo "
# homebrew completion files for installed libraries
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
" >> ~/.bash_profile