- 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
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"] | |
} } | |
] |
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
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
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')" |
Operator | Name |
---|---|
=> |
hashrocket |
<=> |
spaceship |
=== |
threequals |
~> |
twiddlewalka |
-> |
stabby lambda |
@ |
spiral |
* |
splat |
~ |
tidle |
- Building a API CLI in 15 minutes with mruby-cli, Ruby Conf Philippines 2016 slides video code
- Prepare Yourself Agains Zombie Epidemic, Ruby Kaigi 2015 slides video code
- Static Analysis Driven Refactoring in Ruby, App Worlds Europe 2015
- Deep Diving: How to Explore a New Code Base, RubyDay IT 2015 slides code
- Prepare Yourself Against Zombie Epidemic, Keep Ruby Weird 2015 slides [video](http://confreaks.tv/videos/keeprubyweird2015-prepare-yourself-against-the-zombie-epidemi
-
disable EFI
-
run
VBoxManage modifyvm "OSX Yosemite" --cpuidset 00000001 000306a9 00020800 80000201 178bfbff
-
follow the following because stuck on 2 minutes left
1. Close the VMachine when stuck on 2 minutes left (Power off)
2. Start it again, select newly created
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
template<int n> | |
struct fibonacci | |
{ | |
static constexpr int value = fibonacci<n-1>::value + fibonacci<n-2>::value; | |
}; | |
template<> | |
struct fibonacci<0> | |
{ | |
static constexpr int value = 0; | |
}; |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Some Orval <3</title> | |
</head> | |
<body> | |
<pre style="font: 10px/5px monospace;"> `,.` | |
`,``````` .;` | |
```````;`'`````,. |
OlderNewer