This file contains hidden or 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
class WordMachine | |
def initialize(string) | |
@letters = string.split('') | |
end | |
def words | |
@letters.permutation.to_a.map(&:join).uniq.sort | |
end |
This file contains hidden or 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
class Foo | |
def complain! | |
puts "This a bug for real yo" | |
end | |
end | |
1000.times { Foo.new.complain! } |
This file contains hidden or 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
/* Taken in large from https://raw.github.com/gist/3331384/94f2380c2b798fab2139fd0a8f478c4f2d642e3b/github.css*/ | |
body { | |
width: #852px; | |
font-family: Helvetica, arial, sans-serif; | |
font-size: 14px; | |
line-height: 1.6; | |
padding-top: 10px; | |
padding-bottom: 10px; | |
background-color: white; |
In the midst of doing a clean install on my new MacBook, I realized I should log the steps required in order to have the system ready to work with QI's repositories and run QI's applications locally.
- Turn the scrolling around if you don't like it in
System Preferences
>Trackpad
- Enable dragging by two taps in
System Preferences
>Accessibility Options
- Enable tabbing through menus in
System Preferences
>Keyboard
- If you find your keyboard etc. too slow (I do) install remappers