I hereby claim:
- I am peat on github.
- I am peat (https://keybase.io/peat) on keybase.
- I have a public key ASC9lLkXvhz1GS6yTqkMobWjU1gqaiz6OoYHWhtR4PbZPAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
The third party CC scam works like this. | |
There are three parties involved: | |
a) The innocent buyer. | |
b) The innocent seller. | |
c) The con artist. | |
Here's how it works: |
I hereby claim:
To claim this, I am signing this object:
SMALL_WORDS = %w{a an and as at but by en for if in of on or the to v v. via vs vs.} | |
def titleize( sentence ) | |
capped_words = sentence.downcase.split(" ").map do |word| | |
SMALL_WORDS.include?(word) ? word : word.capitalize | |
end | |
capped_words[0] = capped_words[0].capitalize unless capped_words.empty? | |
capped_words.join(" ") |
<link rel="openid.server" href="https://indieauth.com/openid" /> | |
<link rel="openid.delegate" href="http://peat.org/" /> |
<a href="https://github.com/peat" rel="me">GitHub</a> | |
<a href="https://twitter.com/peat" rel="me">Twitter</a> | |
<a href="sms:+15037014135" rel="me">SMS</a> |
FOO=/long/path/to/some/file.rb | |
echo ${FOO##*/} |
; To run these examples (assuming you have homebrew installed): | |
; | |
; $ brew install leiningen | |
; ... | |
; $ lein repl | |
; | |
; ... this drops you into the Clojure REPL (Read, Evaluate, Print, Loop). | |
; | |
; Copy and paste the lines below and play around. |
#!/bin/sh | |
# | |
# Pulls updates for your repos, including registered submodules. | |
# | |
# Put this file in the directory containing all yer git repos. | |
GITS=`find . -type d -name .git` | |
START=`pwd` | |
for i in $GITS; do |
friend_bucket = AWS::S3.new.buckets[ ... ] | |
follower_bucket = AWS::S3.new.buckets[ ... ] | |
friend_obj = friend_bucket.objects[ ... ] | |
follower_obj = follower_bucket.objects[ ... ] | |
threads = [] | |
threads << Thread.new do | |
friend_obj.write( data, :content_type => ... ) |