- Who has used a gem?
- Such as Rails, Sinatra, Bundler, Rake
- Who has written a gem?
This file contains 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
# Search and replace page elements in the CMS for old SSL URLs and replace with | |
# a new domain. | |
# | |
# Example: | |
# | |
# CMS::SslUrlReplacer.new(Site.first, "foo.bar.com", "foobar.example.com").perform | |
class CMS::SslUrlReplacer | |
# Public: Initialize a new SslUrlReplacer | |
# | |
# site - An instance of Site |
This file contains 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=/usr/local/mysql/bin:$PATH |
This file contains 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
# This option has the most clarity, but I generally hate local variables in a | |
# method, preferring to use tap. | |
def calculated_foo | |
available_foos = [] | |
available_foos << bar | |
available_foos << baz.qux if baz | |
available_foos.max | |
end | |
# It's a little less clear, unless you know what tap is, and `end.max` is |
For reference, the ciphertext from the note included with your first package:
GR QRW WKURZ DZDB DQBWKLQJ ZH VHQG BRX
Hint: This encrypted with a Ceaser cipher.
This file contains 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 ruby | |
# | |
# Usage: | |
# strace_parser.rb < file.out | |
# head -n100 file.out | strace_parser.rb | |
# strace_parser.rb file.out | |
class StraceEntry | |
attr_accessor :line | |
attr_accessor :pid, :timestamp, :command, :args, :result, :runtime |
I hereby claim:
- I am pbyrne on github.
- I am pbyrne (https://keybase.io/pbyrne) on keybase.
- I have a public key whose fingerprint is D998 4D66 CC5B 33A9 83B8 51AA 3A2F FA10 BF7A D0CD
To claim this, I am signing this object:
- Sascha Bates
- @sascha_d
- http://brattyreadhead.com/
- Works at Chef
- Cohost, Ship Show podcast
- Started Infracoders Minneapolis meetup
- Fear of failure
- Powerful emotion
- Stops us from even trying
- Keeps us on the small potatoes
- Ignore the big problems, the hard challenges
- Many of us were "bright kids", and we're not used to failing or tying hard
- We leave school and enter the real world. Things aren't so easy.