Skip to content

Instantly share code, notes, and snippets.

View eddyruiz's full-sized avatar

Eddy Ruiz eddyruiz

  • Los Angeles, CA
View GitHub Profile
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:20 — forked from LearningNerd/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/seek-and-destroy
/*
You will be provided with an initial array
(the first argument in the destroyer function),
followed by one or more arguments.
Remove all elements from the initial array that
are of the same value as these arguments.
*/
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:18 — forked from LearningNerd/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/seek-and-destroy
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:16 — forked from LearningNerd/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/check-for-palindromes
// TESTS:
// palindrome("eye") should return a boolean
//
function palindrome(str) {
// Good luck!
return true;
}
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created July 13, 2017 02:14 — forked from LearningNerd/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CHALLENGE: https://www.freecodecamp.org/challenges/check-for-palindromes
// TESTS:
// palindrome("eye") should return a boolean
//
function palindrome(str) {
// Good luck!
return true;
}
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created June 29, 2017 03:45 — forked from nmwenz90/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CODE CHALLENGE:
// Fizz buzz: print 1 to 1000, but replace every multiple of
// 3 with "fizz", every multiple of 5 with "buzz",
// and any multiple of 3 AND 5 with "fizzbuzz"
// TO RUN THE CODE:
// Copy-paste it into something like REPL.it and test it =P
// in JavaScript:
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created June 29, 2017 03:42 — forked from zippyzz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CODE CHALLENGE:
// Fizz buzz: print 1 to 1000, but replace every multiple of
// 3 with "fizz", every multiple of 5 with "buzz",
// and any multiple of 3 AND 5 with "fizzbuzz"
// TO RUN THE CODE:
// Copy-paste it into something like REPL.it and test it =P
// in JavaScript:
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created June 29, 2017 03:39 — forked from zippyzz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CODE CHALLENGE:
// Fizz buzz: print 1 to 1000, but replace every multiple of
// 3 with "fizz", every multiple of 5 with "buzz",
// and any multiple of 3 AND 5 with "fizzbuzz"
// TO RUN THE CODE:
// Copy-paste it into something like REPL.it and test it =P
// in JavaScript:
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created June 29, 2017 03:36 — forked from zippyzz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CODE CHALLENGE:
// Fizz buzz: print 1 to 1000, but replace every multiple of
// 3 with "fizz", every multiple of 5 with "buzz",
// and any multiple of 3 AND 5 with "fizzbuzz"
// TO RUN THE CODE:
// Copy-paste it into something like REPL.it and test it =P
// in JavaScript:
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created June 29, 2017 03:33 — forked from nmwenz90/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CODE CHALLENGE:
// Fizz buzz: print 1 to 1000, but replace every multiple of
// 3 with "fizz", every multiple of 5 with "buzz",
// and any multiple of 3 AND 5 with "fizzbuzz"
// TO RUN THE CODE:
// Copy-paste it into something like REPL.it and test it =P
// in JavaScript:
@eddyruiz
eddyruiz / mob-coding-challenge.js
Created June 29, 2017 03:30 — forked from zippyzz/mob-coding-challenge.js
A saved mob programming session with Learn Teach Code!
// CODE CHALLENGE:
// Fizz buzz: print 1 to 1000, but replace every multiple of
// 3 with "fizz", every multiple of 5 with "buzz",
// and any multiple of 3 AND 5 with "fizzbuzz"
// TO RUN THE CODE:
// Copy-paste it into something like REPL.it and test it =P
// in JavaScript: