I hereby claim:
- I am micahbrich on github.
- I am micahbrich (https://keybase.io/micahbrich) on keybase.
- I have a public key ASBJth2oLpSqh6t9JYjdcDlrWeoXZ6FaM5uFwrxPRpCDwwo
To claim this, I am signing this object:
| # /usr/bin/env ruby | |
| puts <<-EOF | |
| LEAGUE CLONER via The League of Moveable Type | |
| ==================================================== | |
| EOF |
| <strong>August 1<sup>st</sup></strong> through <strong>October 1<sup>st</sup></strong> |
| def reading_time(content) | |
| wordcount = content.to_s.scan(/(\w|-)+/).length.to_f # count words | |
| reading_time_in_s = (wordcount / 275)*60 # avg american reading time is around 250 words per minute | |
| reading_time = Time.at(reading_time_in_s).gmtime.strftime("%-M minutes, %-S seconds") #convert to pretty string | |
| end |
| {% for post in paginator.posts %} | |
| <h1><a href="{{ post.url }}">{{ post.title }}</a></h1> | |
| <h5 class="date">{{post.date}}</h5> | |
| <div class="content"> | |
| {{ post.content }} | |
| </div> | |
| {% endfor %} |
| class Pitcher | |
| attr_accessor :whip, :age | |
| alias :whip_1 :whip | |
| (2..20).each do |num| | |
| define_method("whip_#{num}") do | |
| if self.age < 28 | |
| eval("self.whip_#{num-1}") * 0.95 | |
| else | |
| eval("self.whip_#{num-1}") * 1.05 |
| source 'https://rubygems.org' | |
| group :production do | |
| gem "thin" | |
| end |
| #!/bin/bash | |
| ####################################### | |
| # List the contents, or download a | |
| # folder from a GitHub repo. | |
| # Argument: | |
| # HTTPS URI to folder | |
| ####################################### | |
| echo ${1} | sed 's/tree\/master/trunk/g' | { read uri; (svn export $uri); } |
| #!/bin/bash | |
| RED="\033[0;31m" | |
| YELLOW="\033[33m" | |
| REDBG="\033[0;41m" | |
| BLACKBG="\033[0;40m" | |
| WHITE="\033[1;37m" | |
| NC="\033[0m" | |
| mkdir -p /Applications/MAMP/Library/vhosts; |
I hereby claim:
To claim this, I am signing this object:
| # to run: docker-compose run | |
| # | |
| # Create a .evn file in the same folder as this file and change the variables. | |
| # MOUNT_POINT=/tmp/ | |
| # VPN_PROVIDER=changeme | |
| # VPN_CONFIG=changeme | |
| # VPN_USERNAME=changeme | |
| # VPN_PASSWORD=changeme | |
| # | |
| # |