Generates the README for git-run.
$ git clone git@gist.github.com:cd37a464bded117bfce0.git git-run_guide
$ git clone git@gist.github.com:c4bef77ec0ebf1f2639f.git git-run_guide/examples
$ cd git-run_guide/examples
$ guidedown ../guide.md
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw | |
LjE5MjE1Njg2MjcgMC4yNDcwNTg4MjM1IDAuMjc0NTA5ODAzOQAQAoAC0hAREhNaJGNs | |
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp |
<?xml version="1.0"?> | |
<testsuite errors="0" failures="0" name="Elixir.JunitXmlTest" tests="0" time="0.00"></testsuite> |
iPhone 5 still looking good. Source: NölSch.de | |
I own a 2012 iPhone 5 and today I decided that I won’t be buying a new iPhone. I do like the new iPhones, it’s just that I don’t see the added value for me to buy a new one, and I think I’m not the only one in this situation. My “old” iPhone 5 holds up perfectly to my current needs. And I say “current needs” because “Back in the day” I would basically try out all the apps and play all the games. But Today, more than 80% of those apps are long gone. Either I lost interest or they made a really good mobile website that does the job just fine. Today, next to the native apps like Safari and mail, I only regularly use Reddit, Youtube and the mirror apps for Sketch and Photoshop. I have other apps installed, but those are just there when I need them. "You never know when you might need that QR scanner"? Wrong! You never need a QR scanner, so you can safely delete it. | |
That said, I don’t really need the newest A10 processor or a double photo lens in my daily use. It woul |
Where's my jetpack? |
begin | |
require 'bundler/inline' | |
rescue LoadError => e | |
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler' | |
raise e | |
end | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'rails', '4.2.6' |
#!/usr/bin/env ruby | |
URL_REGEX = /\b(([\w-]+:\/\/?|www[.])[^\s()<>]+(?:\([\w\d]+\)|([^[:punct:]\s]|\/)))/ | |
contents = ARGF.read | |
matches = [] | |
contents.scan(URL_REGEX) do |match| | |
matches << match.first | |
end |
body{ | |
font-family: 'SF UI Display', 'Myriad Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif; | |
color: #333333; | |
font-size: 18px; | |
line-height: 26px; | |
-webkit-font-smoothing: antialiased; | |
text-rendering: optimizeLegibility; | |
} |
puts "♫ If I could turn, turn back the hands of time ♫" | |
puts "♫ Then my darlin' you'd still be mine ♫" | |
class Time | |
def self.now | |
Time.new(2015, 1, 23) | |
end | |
end |