This file contains hidden or 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
function isAboutOneDirection(text){ | |
return !!text.match(/One Direction|1d|Niall|Horan|Liam|Payne|Harry|Styles|Louis|Tomlinson|Zayn|Malik/i) | |
} |
This file contains hidden or 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
source 'https://rubygems.org' | |
ruby '2.0.0' | |
gem 'twitter' |
This file contains hidden or 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
{ | |
"instruments": [ | |
{ | |
"name": "clap", | |
"type": "drum", | |
"probs": [ | |
[ | |
"", | |
"", | |
"", |
This file contains hidden or 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
{ "href" : "http://en.wikipedia.org/wiki/Altiplano", "title" : "Altiplano", "body" : "The Altiplano (Spanish for \"high plain\"), Andean Plateau or Bolivian Plateau, in west-central South America, where the Andes are at their widest, is the most extensive area of high plateau on Earth outside of Tibet. The bulk of the Altiplano lies within Bolivian and Peruvian territory while its southern parts lie in Chile and Argentina. The Altiplano plateau hosts several cities like Puno, Oruro, Potosí, Cuzco and La Paz, the administrative seat of Bolivia. Northeastern Altiplano is more humid than the Southwestern, the latter of which hosts several salares, or salt flats, due to its aridity. At the Bolivia-Peru border lies Lake Titicaca, the largest lake in South America." } | |
{ "href" : "http://en.wikipedia.org/wiki/Altiplano_Cundiboyacense", "title" : "Altiplano Cundiboyacense", "body" : "The Altiplano Cundiboyacense is a set of highlands located on the Eastern Cordillera of the Colombian Andes between the departments of |
This file contains hidden or 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
# Description: | |
# Get the weather in different places, with limited emoji representation | |
# | |
# Commands: | |
# hubot weatherify <CITY_NAME> - <CITY_NAME> weather: :umbrella: :foggy: heavy intensity rain & mist | |
# | |
# Notes: | |
# this api claims that it requires a key...but it appears not to...¯\_(ツ)_/¯ | |
# | |
# Author: |
This file contains hidden or 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
# Description: | |
# Bart departures from 12th Street Oakland City Center | |
# | |
# Commands: | |
# hubot bart - Leaving Soon: Fremont=>4 min. Pittsburg/Bay Point=>15 min. Richmond=>9 min. SFO/Millbrae=>4 min. | |
# | |
# Notes: | |
# adapted from hubot-bart, API key is public from http://www.bart.gov/schedules/developers/api | |
# | |
# Author: |
This file contains hidden or 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 Array | |
def phish element | |
i = rand self.length | |
self.insert i, element | |
end | |
end |
This file contains hidden or 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
ubus = [ | |
{txt: "John Giorno -- Restless: An Interview by Daniel Nester (2002)", | |
href: "http://www.ubu.com/papers/giorno_nester_interview.html"}, | |
{txt: "Introduction -- Barbara Cole & Lori Emerson", | |
href: "http://www.ubu.com/papers/kg_ol_intro.html"}, | |
{txt: "Zero Kerning -- Craig Dworkin", | |
href: "http://www.ubu.com/papers/kg_ol_dworkin.html"}, |
This file contains hidden or 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
loop { print (rand < 0.5) ? '\\' : '/' } |
This file contains hidden or 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
alias be="bundle exec " | |
alias respectful="rspec " | |
$ be respectful |