Skip to content

Instantly share code, notes, and snippets.

View coopermayne's full-sized avatar

Cooper Mayne coopermayne

View GitHub Profile
@coopermayne
coopermayne / gist:6781210
Created October 1, 2013 16:27
this iss a test for my curl app
test
@coopermayne
coopermayne / something.rb
Created October 1, 2013 16:28
seomthing else
def write_in_ruby
end
gem_group :development, :test do
gem 'pry-rails' # Causes rails console to open pry
# https://github.com/rweng/pry-rails
gem 'pry-debugger' # Adds step, next, finish, and continue commands and breakpoints
# https://github.com/nixme/pry-debugger
gem 'pry-stack_explorer' # Navigate the call-stack
# https://github.com/pry/pry-stack_explorer
gem 'annotate' # Annotate all your models, tests, fixtures, and factories
# https://github.com/ctran/annotate_models
gem 'quiet_assets' # Turns off the Rails asset pipeline log
@coopermayne
coopermayne / eruby.snippets
Created October 23, 2013 02:47
eruby snippets
# Some useful Unicode entities
# Non-Breaking Space
snippet nbs
 
# ←
snippet left
←
# →
snippet right
→
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
"required
Bundle 'gmarik/vundle'
Bundle 'vim-scripts/YankRing.vim'
Bundle 'mileszs/ack.vim'
Bundle 'kien/ctrlp.vim'
Bundle 'scrooloose/nerdtree'
Bundle 'loremipsum'
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NOTES</title>
<link rel="stylesheet" href="https://stackedit.io/res-min/themes/base.css" />
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
</head>
<body><div class="container"><h1 id="notes">NOTES</h1>
@coopermayne
coopermayne / notes
Last active August 29, 2015 14:25
NOTES
# NOTES
[TOC]
##STRINGS
```ruby
"strings look like this."
```
###index reference
@coopermayne
coopermayne / gta gameplan
Last active August 29, 2015 14:25
GTA Game Plan
# GTA Gameplan
## Version 1
- **map:** one dimensional, strings
- **items:** strings
- **user:** the user has an inventory and a current location. the inventory is an array of items. the location is a simple string.
- **actions:** the user has some basic actions... for instance:
- **take:** take an item from the world and move it to user's inventory
- **move:** move to a different location on the map
- **status:** prints out users inventory and current location
@coopermayne
coopermayne / GTA Gameplan
Created July 21, 2015 16:38
GTA Game Plan
# GTA Gameplan
## Version 1
- **map:** one dimensional, strings
- **items:** strings
- **user:** the user has an inventory and a current location. the inventory is an array of items. the location is a simple string.
- **actions:** the user has some basic actions... for instance:
- **take:** take an item from the world and move it to user's inventory
- **move:** move to a different location on the map
- **status:** prints out users inventory and current location
@coopermayne
coopermayne / gta
Created July 21, 2015 16:39
GTA Game Plan
# GTA Gameplan
## Version 1
- **map:** one dimensional, strings
- **items:** strings
- **user:** the user has an inventory and a current location. the inventory is an array of items. the location is a simple string.
- **actions:** the user has some basic actions... for instance:
- **take:** take an item from the world and move it to user's inventory
- **move:** move to a different location on the map
- **status:** prints out users inventory and current location