Skip to content

Instantly share code, notes, and snippets.

View rushlinneu's full-sized avatar

Shaun rushlinneu

View GitHub Profile
@rushlinneu
rushlinneu / gist:453c35f4e529bd3be84c
Created February 2, 2016 00:19 — forked from ryansobol/gist:5252653
15 Questions to Ask During a Ruby Interview

Originally published in June 2008

When hiring Ruby on Rails programmers, knowing the right questions to ask during an interview was a real challenge for me at first. In 30 minutes or less, it's difficult to get a solid read on a candidate's skill set without looking at code they've previously written. And in the corporate/enterprise world, I often don't have access to their previous work.

To ensure we hired competent ruby developers at my last job, I created a list of 15 ruby questions -- a ruby measuring stick if you will -- to select the cream of the crop that walked through our doors.

What to expect

Candidates will typically give you a range of responses based on their experience and personality. So it's up to you to decide the correctness of their answer.

@rushlinneu
rushlinneu / Issue.md
Created June 20, 2016 21:44 — forked from orta/Issue.md
Disclosable Sections in a GH issue
Summary text. Hello World, how is it going?
@rushlinneu
rushlinneu / capybara cheat sheet
Created July 7, 2016 21:41 — forked from zhengjia/capybara cheat sheet
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
@rushlinneu
rushlinneu / introrx.md
Created August 30, 2016 23:10 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@rushlinneu
rushlinneu / caesar.rb
Created September 20, 2016 01:35 — forked from matugm/caesar.rb
Caesar cipher using Ruby
ALPHABET_SIZE = 26
def caesar_cipher(string)
shiftyArray = []
charLine = string.chars.map(&:ord)
shift = 1
ALPHABET_SIZE.times do |shift|
shiftyArray << charLine.map do |c|
((c + shift) < 123 ? (c + shift) : (c + shift) - 26).chr

Comparison of ASP.NET and Node.js for Backend Programming

We will compare ASP.NET and Node.js for backend programming.
Source codes from examples.

Updates

This document was published on 21.09.2015 for a freelance employer. Some changes since then (14.02.2016):

  1. Koa.js no longer uses co-routines, it has switched to Babel's async/await. yield and await are used almost in the same way, so I see no point to rewrite the examples.