Skip to content

Instantly share code, notes, and snippets.

@meandavejustice
Created November 15, 2013 04:13
Show Gist options
  • Save meandavejustice/7478957 to your computer and use it in GitHub Desktop.
Save meandavejustice/7478957 to your computer and use it in GitHub Desktop.
songs
// Bohemian Rhapsody - queen
if (realLife || fantasy) {
for (i = 0; i < landslide + 1; i++) {
if (!reality) {
break;
}
landslide = i + 1;
}
}
// walk the line -johnny cash
var lines = [1, 2, 3, 4, 5];
for (i = 0; i <= lines.length-1; i++) {
console.log("walk " + lines[i]);
}
// boy named sue - johnny cash
var person = new Person();
person.gender = 'male';
person.name = 'Sue';
// blurred lines
var blurred = function(lines) {
for (var i = 0; i < lines.length; i++) {
console.log("Hey, Hey, Hey");
}
return true;
}
var getUp = function() {
return blurred(['|', '|', '|']);
}
// it was a good day - ice cube
var goodday = {
thankGod: true,
kindaOdd: true,
dog_barking: false,
smog: false,
mama_cooked_breakfast: true
}
// can't get no satisfaction -rs
var app = express();
app.get( /satisfaction , function(req, res) {
res.status(404);
});
//trashmen the bird
for(i=0;i<=17;i++) {
var the_word = 'Bird';
if (i % 4 === 0) {
console.log(the_word + " is the word.");
} else {
console.log(the_word);
};
}
// higher -creed
ComeOn.prototype.goThere = function(place) {
try {
var question = higher(me);
if (question === true) {
if (blind_men) {
place = blind_see ;
} else {
golden_streets;
}
}
} catch () {
return false;
}
}
// the real slim shady -eminem
var askNicely = function(person, mm) {
if (person == mm) {
console.log('The real one')
}
}
// i would walk 500 miles
var mile = 0;
var location = 'home';
do {
if (mile == 500) {
console.log('500 miles');
}
if (mile >= 1000) {
console.log('500 more');
location = 'your door';
}
mile = mile +1;
} while (location != 'your door');
// don't stop the party
var Party = function(){};
Party.prototype.run = function() {
var that = this;
if (true) {
console.log('dont stop');
this.run();
}
}
Party.prototype.start = function() {
this.run();
}
var party = new Party();
party.start();
// mambo no.5
function() {
var someLadies = ['Erica, Jessica, Mary, Sandra'];
for(var i=0; i<someLadies.length; i++){
var lady = valueArray[i];
var alotABit = lady.length;
var doingItRight = alotABit/2;
return lady.substring(0, doingItRight);
}
}
// when I'm sixty-four -beatles
for(i = 1; i < 100; i++) {
if (i === 64 && needMe && feedMe) {
return true;
}
}
// work it -missy elliot
ExclusiveSong.prototype.reverse = function(things) {
return things.reverse();
};
ExclusiveSong.prototype.flip = function(things) {
return _.shuffle(things);
};
ExclusiveSong.prototype.worthit = function(things) {
var things = flip(things);
var put_it_down = reverse(things);
return put_it_down;
};
ExclusiveSong.prototype.hook = function(things) {
var that = this;
if (things.indexOf( worth it ) != -1) {
var my_thing = ['my', 'thing'];
return that.worthit(my_thing);
}
}
// what does the fox say
Animal.prototype.say = function(sound) {
playSound(sound);
}
var dog = new Animal;
dog.say( Woof );
var cat = new Animal;
dog.say( Meow );
var bird = new Animal;
bird.say( Tweet );
var mouse = new Animal;
mouse.say( Squeak );
var cow = new Animal;
cow.say( Moo );
var frog = new Animal;
frog.say( Ribbit );
var fox = new Animal;
fox.say();
//black or white michael jackson
Me.prototype.matters = function(you) {
if (you.color === #000 || you.color === #FFF )
return you.thinkingAbout(this.baby);
};
// wreckin' ball - miley cyrus
var girl = new HalfNakedGirl();
var house = new House();
var ball = new Ball();
girl.ride(ball);
ball.destroy(house);
// cannonball -the breeders
Me.prototype.crash = function(splashes) {
this.blown_to_hell = splashes[-1];
return this;
};
// any song every by andrew wk
var party = function() {
console.log( PARTY );
return party();
}
// feel again - onerepublic
for(i = 0; i >= children.length; i++) {
var child = children[i];
if (child.british != true) {
washington.save(child);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment