I hereby claim:
- I am ecomba on github.
- I am ecomba (https://keybase.io/ecomba) on keybase.
- I have a public key ASBWCpidiG4s9Zzx5IzPwgeG2qAXahMSnoDkFU71_K9JlAo
To claim this, I am signing this object:
show_project(named: 'Wunderlist', for: 'Chad') |
class Board | |
def initialize ships | |
@ships = ships | |
end | |
def shoot coordinates | |
if coordinates == 1 # this would call the ships really | |
@ships = [0,0,-1,1] | |
return 'HIT' | |
end |
class Board | |
def add_ship ship | |
ship | |
end | |
def shoot(coordinates, player) | |
raise "Not your turn" if player == 2 | |
'BANG' | |
end | |
end |
<html> | |
<head> | |
</head> | |
<body> | |
<main> | |
<header> | |
<h1>I CAN HAZ TODO</h1> | |
</header> | |
<section> | |
<nav> |
# After authenticating with OAuth and getting the auth object | |
response = HTTParty.get('https://a.wunderlist.com/api/v1/lists', | |
headers: { | |
'X-Client-ID' => "#{auth.uid}", | |
'X-Access-Token' => auth.credentials.token | |
}) | |
# response will look like so at the moment: | |
# <HTTParty::Response:0x7faf31dad288 parsed_response={"server_unavailable"=>true}, | |
# @response=#<Net::HTTPServiceUnavailable 503 Service Temporarily Unavailable readbody=true>, |
function add_mobber() { | |
touch ~/.the_mob | |
echo $1:$2:$3 >> ~/.the_mob | |
} | |
function the_mob() { | |
echo $GIT_AUTHOR_NAME | |
} | |
function unmob() { |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
function pause(){ | |
read -p "$*" | |
} | |
echo "This script will help you rename your default branch (master) to" | |
echo "a name of your choosing." | |
echo "" | |
echo "Let's rebase your local repository with your origin first" | |
echo "" | |
git fetch origin |