Skip to content

Instantly share code, notes, and snippets.

View barcher's full-sized avatar
🚀

Bryce Archer barcher

🚀
  • San Francisco, CA
View GitHub Profile
@barcher
barcher / gist:5580879
Last active December 17, 2015 08:29
Map Enactment
Method: Map
Class: Array (of people)
Format: map { | persom | block } → new_ary
Block: { |person| person + awesome_new_shirt }
Result: array of people with shirts
people = [katharine, shiv, bryce, josh]
new_people = people.map { |person| person + awesome_new_shirt }
people = [Person.new("Katharine"),
@barcher
barcher / index.html
Created June 18, 2013 23:11 — 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>

Instructions:

  1. Download this application skeleton.
  2. Convert the app to use AJAX.
  3. Add any files you changed to your gist and submit your code.
@barcher
barcher / gist:8049571
Last active December 31, 2015 21:49
.vimrc
set nocompatible
filetype on
filetype plugin on
" Set plugin preferences
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
" let Vundle manage Vundle
" required!
[ 'Amanda Surya',
'Brandon Woolf',
'Doug Hatch',
'Gary Morain',
'Jonathan Rhodes',
'Justin Lawyer',
'Kenneth Cheng',
'Lloyd Thompson',
'Matthew Scott',
'Robert Gardner',