Operator | Name |
---|---|
=> |
hashrocket |
<=> |
spaceship |
=== |
threequals |
~> |
twiddlewalka |
-> |
stabby lambda |
@ |
spiral |
* |
splat |
~ |
tidle |
- Twitter: @_toch
- Blog: http://blog.8thcolor.com
- Company: https://pullreview.com
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
require 'sprite_factory' | |
namespace :assets do | |
desc 'recreate sprite images and css' | |
task :resprite => :environment do | |
Dir.glob('app/assets/images/icons/*.svg').each do |svg_file| | |
%x(convert -antialias -background transparent #{svg_file} -resize 15x14 #{File.dirname svg_file}/#{File.basename(svg_file).gsub(/\.svg\z/, ".png")} ) | |
end | |
SpriteFactory.cssurl = "image-url('$IMAGE')" |
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
require 'minitest/autorun' | |
require 'minitest/spec' | |
class ElementTest | |
attr_accessor :value | |
def eql?(other) | |
value == other.value | |
end |
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
UXTerm*background: black | |
UXTerm*foreground: white | |
UXTerm*cursorColor: grey | |
UXTerm*faceName: Liberation Mono | |
UXTerm*faceSize: 11 | |
UXTerm*VT100*translations: #override Shift <Btn1Up>: exec-formatted("firefox '%t'", PRIMARY) | |
UXTerm*charClass: 33:48,36-47:48,58-59:48,61:48,63-64:48,95:48,126:48 |
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
https://github.com/misfo/Shell-Turtlestein | |
add the following in your User keybinding setup file: ~/.config/sublime-text-2/Pacakges/User/Default (Linux).sublime-keymap | |
[ | |
{"keys": ["shift+ctrl+alt+c"], "command": "subprocess_in_cwd", "args": { | |
"cmd": ["uxterm", "/bin/bash"] | |
} } | |
] |
NewerOlder