Skip to content

Instantly share code, notes, and snippets.

View rubygeek's full-sized avatar

Nola Stowe rubygeek

View GitHub Profile

Working on project

Always make a branch to work on, you can always throw it away if it doesn't work.

Go into your folder of projects:

> git checkout -b myawesomebranch

This creates a branch and checkes it out, you are now inside of this branch.

@rubygeek
rubygeek / slides.md
Created August 31, 2017 23:58
bootcamp code

Slide 74

<h1>To Do List</h1>
   <ul>
      <li>Get out of bed</li>
      <li>Drink Coffee</li>
      <li>Get to Work</li>
      <li>Get to School</li>
   </ul>
https://www.codewars.com/kata/56747fd5cb988479af000028/train/ruby
https://www.codewars.com/kata/52fba66badcd10859f00097e/train/ruby
@rubygeek
rubygeek / ants.clj
Created January 22, 2018 15:59 — forked from michiakig/ants.clj
Clojure ant sim from Rich Hickey
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Ant sim ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) Rich Hickey. All rights reserved.
; The use and distribution terms for this software are covered by the
; Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
; which can be found in the file CPL.TXT at the root of this distribution.
; By using this software in any fashion, you are agreeing to be bound by
; the terms of this license.
; You must not remove this notice, or any other, from this software.
;dimensions of square world
@rubygeek
rubygeek / gist:aa533cd5919bd2bcb19174e7ca1e3a3b
Last active October 3, 2018 16:54
react testing with enzyme, react 16

sample in JS

portion of package.json

  "dependencies": {
    "enzyme": "^3.6.0",
    "enzyme-adapter-react-16": "^1.5.0",