Terminal 1:
ruby 01-build-repo.rb test.git
ruby 02b-read-refs.rb test.git
Terminal 2:
def main | |
message = "THIS IS IMPORTANT" | |
red_message = color(31, message) | |
puts "", red_message, "" | |
10.times do | |
print restore_pos(up_line(2) + erase_line) | |
sleep 0.5 | |
print restore_pos(up_line(2) + red_message) | |
sleep 0.5 | |
end |
Terminal 1:
ruby 01-build-repo.rb test.git
ruby 02b-read-refs.rb test.git
Terminal 2:
#!/bin/sh -x | |
httpd -f /Users/burke/github/svn_apache/httpd.conf -k `basename $0` |
Hit Tab to get a Coke.
def process(pull, attributes) | |
pull.review_comments.find_each do |comment| | |
rewrite_urls_in_model_body(comment) | |
comment.updated_at = comment.created_at # fix for referred_at | |
quiesce(comment, :ensure_synced_with_pull) do | |
comment.save | |
end | |
end | |
issue_post_processor.process(pull.issue, attributes) |
# To demonstrate what a "Bank of Dad" would be like | |
require "date" | |
INTEREST_PER_MONTH = 0.1 | |
birthday = Date.today # replace this with the child's birthday | |
twentyone = 21.times.inject(birthday) { |d, _| d.next_year } | |
balance = 0.0 |
#/ Usage: sudo ruby docker-aufs-fsck.rb | |
#/ Your docker aufs storage will be checked for orphaned or missing layers. | |
def main | |
aufs_root = find_aufs_root | |
die "Could not find aufs root!" if aufs_root.nil? | |
fsck = Fsck.new({ | |
:images => `docker images -a -q --no-trunc`.split(/\s+/), | |
:containers => `docker ps -a -q --no-trunc`.split(/\s+/), |
<?xml version="1.0" encoding="UTF-8"?> | |
<info> | |
<entry | |
kind="dir" | |
path="svn" | |
revision="14"> | |
<url>http://svn.dev/svn</url> | |
<repository> | |
<root>http://svn.dev/svn</root> | |
<uuid>35a824d2-2e84-4826-9201-d644594cceb1</uuid> |
I hereby claim:
To claim this, I am signing this object: