This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying I am +jkronz on my passcard. https://onename.com/jkronz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Feed | |
attr_reader :user | |
include Adamantium | |
def initialize user | |
@user = user | |
end | |
def microposts | |
# extracting side effects from Micropost is an obvious next step |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
init: function(elevators, floors) { | |
var floorRequests = { | |
up: [], | |
down: [] | |
}; | |
elevators.map(function(elevator, i){ | |
var destinations = []; | |
function nextDestination() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
card[number]:4111111111111111 | |
card[cvc]:123 | |
card[exp_month]:9 | |
card[exp_year]:2015 | |
key:pk_test_8zEmylR7G0Y04mcdts7hAEZR | |
payment_user_agent:stripe.js/15d3aa9 | |
callback:sjsonp1420920916988 | |
_method:POST |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CatFact | |
def self.fact | |
response = Typhoeus.get("http://catfacts-api.appspot.com/api/facts") | |
JSON.parse(response.body)['facts'].first | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# You may add here your | |
# server { | |
# ... | |
# } | |
# statements for each of your virtual hosts to this file | |
## | |
# You should look at the following URL's in order to grasp a solid understanding | |
# of Nginx configuration files in order to fully unleash the power of Nginx. | |
# http://wiki.nginx.org/Pitfalls |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 8080; | |
root /Users/justin/Projects/lucena/QuantDesk/public; | |
index index.html; | |
#rewrite ^(.+)$ /index.html; | |
#location ~ ^/(.+)/$ { | |
#rewrite .* /index.html last; | |
#} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[scribe] 16483 round 1 | |
[scribe] 16688 round 1 | |
[scribe] 21279 round 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH="$HOME/.rbenv/bin:$PATH" | |
eval "$(rbenv init -)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
# | |
# The argument is the tag to move to HEAD | |
git tag -d $1 | |
git push origin :$1 | |
git tag $1 | |
git push origin $1 |
NewerOlder