Skip to content

Instantly share code, notes, and snippets.

View Scoutski's full-sized avatar
🐕
I just want my dog to be happy.

Mike Cooper Scoutski

🐕
I just want my dog to be happy.
View GitHub Profile
@Scoutski
Scoutski / 0_reuse_code.js
Created August 29, 2017 16:30
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Scoutski
Scoutski / jasmineAndNode.md
Last active April 7, 2016 04:45
Setting up jasmine and node.js

#Instructions to set up node.js and jasmine

Hello there! In order to complete one of the tests created by Ordermentum for development candidates, we will require you to setup an environment with node.js and the testing framework jasmine. This document provides instructions for how to set up the environment and confirm it is working correctly. If at any time you are stuck or unsure of how to proceed, feel free to get in touch with the employee who directed you to this page.

The first step is to set up node by going to the node website and downloading the appropriate version for your operating system.

Follow the instructions until the setup is complete and open a new instance of your terminal window. To check that node has installed, run the following command:

node -v

Keybase proof

I hereby claim:

  • I am scoutski on github.
  • I am scoutski (https://keybase.io/scoutski) on keybase.
  • I have a public key whose fingerprint is 8D35 3155 BC30 C8D4 7A77 29F2 D1D6 7DBF 7AE3 4C16

To claim this, I am signing this object:

@Scoutski
Scoutski / roman_numerals.rb
Created September 1, 2015 23:52
Roman Numerals Solution
require 'pry'
class RomanNumerals
def initialize num
to_roman num
end
def to_roman num
result = ""
roman_mappings.each do |arabic, roman|
@Scoutski
Scoutski / NucleotideSolution.js
Created August 10, 2015 23:59
Solution for Week 2, Day 2 warmup exercise
var Nucleotide = {
countIndividualNucleotide: function( string, char ) {
var nucleotideCount = 0;
for ( var i = 0; i < string.length; i++ ) {
if (string[i] === char ) {
nucleotideCount++;
}
}
return nucleotideCount;

This is an example Markdown file

With a subheading

  • Here's a thing
  • and another thing
  • and a final thing