Skip to content

Instantly share code, notes, and snippets.

RailsBridge needs your help!

We’re searching for volunteers who can make RailsBridge more awesome by improving our communications, chapter outreach, and organization-wide fundraising. If you're interested in one of the positions described below, please apply here: http://bit.ly/volunteer-railsbridge-2015 by Sunday, November 15, 2015.

If you have any questions about the roles, email us at volunteer@railsbridge.org.

You don’t need to have professional experience in order to join a team — we're especially interested in volunteers who can manage projects independently and like to stay on top of their email (or Slack, or GitHub issues, depending on how the team communicates). 👯

These roles are ongoing; we are looking for you to make a 6-month commitment with the opportunity to continue if it’s still a good fit for you and RailsBridge. They are also all meant to be done as a member of a team. (No one person could be expected to do all of the things listed!)

@lilliealbert
lilliealbert / xp.md
Last active April 3, 2016 17:32
Companies that might do XP

This workshop's going to be amazing!! Here's what we need to do!

A few months out:

  • Pick a curriculum (Rails, Front End, JavaScript, Ruby)
  • Find a venue and sponsor for the workshop.
  • Find two co-organizers. It's a lot of work, but always a lot of fun. No experience is necessary; checkout the workshop cookbook if it's new to you. (Also, we match up first time organizers with mentors.)
  • Read through the Fundraising and Accounting Docs

Leave a comment below if you're able to host, sponsor or organize! 😸

@lilliealbert
lilliealbert / railsbridge-int.md
Last active August 29, 2015 14:00
New RailsBridge intermediate curriculum

Intermediate Curriculum

TODO

  • Figure out what kind of illustrations would be fun to add
  • Write the various explanations

Introduction

We're going to build a job board. We're gonna use Rails generators, which do a lot less than scaffolds, so we're gonna get a little less done today than we did when we built Suggestotron. But we're gonna build an app in little pieces, so you'll understand better how the pieces fit together.

@lilliealbert
lilliealbert / test-bookmarklet.js
Created July 19, 2013 17:27
javascript bookmarklet hell
javascript:(function() {
var jsCode = document.createElement('script');
jsCode.onLoad = function(){console.log('onLoad anon funtion called')};
jsCode.setAttribute('src', 'http://localhost:3000/test.js');
document.body.appendChild(jsCode);
})();
// if the console.log is inside of an anonymous function, it never gets called
// the onLoad call also doesn't seem to be able to see anything defined in the test.js file :(
@lilliealbert
lilliealbert / lillie_chilen_resume.md
Last active December 19, 2015 19:19
here's a markdown version of my resume. what would make it better?! xoxo, L.

ActionController

What is it?

  • It's a class --- and requests to the controller are just instances of the class
  • Controllers are responsible for doing one of two things
  • rendering something or redirecting to another URL
  • Sinatra v. Rails
  • The bulk of what you'd put in sinatra routes, are written in methods within the controller

Default Methods

@lilliealbert
lilliealbert / index.html
Last active December 18, 2015 10:49 — forked from dbc-challenges/index.html
DBC Phase 2 Practice Assessment Part 3
<!doctype html>
<html>
<head>
<link rel="stylesheet" href="http://cdn.jsdelivr.net/normalize/2.1.0/normalize.css">
<link rel="stylesheet" href="main.css">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800">
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Lato:100,900">
<link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/3.0.2/css/font-awesome.min.css">
</head>
begin
print "list> "
@input = gets.chomp
puts @input
if @input =~ /^add/
@input.sub!(/add /, "")
Task.add(@input)
elsif @input == "list"
Task.list.each {|task| p task }
elsif @input =~ /^delete/
def factorial_recursive(n)
return 1 if n == 1
n * factorial_recursive(n-1)
end