|
|\_ app
|...
|\_ docker
| |
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
{ | |
"fullName": "Polish (Colemak)", | |
"name": "pl-colemak", | |
"singletonKeys": [ | |
[ "Alt_R", "AltGr" ] | |
], | |
"shiftstates": [ "None", "Shift", "AltGr", "Shift+AltGr" ], | |
"keys": [ | |
{ "pos": "~", "letters": [ "`", "~", "tilde", "~" ] }, | |
{ "pos": "1", "letters": [ "1", "!", "¡", "¹" ] }, |
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 | |
require 'english' | |
require 'rubocop' | |
ADDED_OR_MODIFIED = /A|AM|^M/.freeze | |
changed_files = `git status --porcelain`.split(/\n/). | |
select { |file_name_with_status| | |
file_name_with_status =~ ADDED_OR_MODIFIED |
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
#jruby hacks | |
jps -ml #show java processes running | |
jstack <pid> #get a jvm stack info | |
jruby -J-Djruby.reify.classes=true # a flag that tell jruby to compile ruby classes to real (matching) java classes | |
jvisualvm #great profiling tool |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
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
#/bin/bash | |
# stolen from http://kingstonlabs.co.uk/blog/how-to-install-solr-36-on-ubuntu-1204/ | |
sudo apt-get update; sudo apt-get upgrade -y; | |
# Install solr and jetty packages | |
sudo apt-get install jetty openjdk-7-jdk libjetty-extra unzip -y | |
cd ~; | |
wget http://www.eng.lsu.edu/mirrors/apache/lucene/solr/3.6.2/apache-solr-3.6.2.tgz | |
tar -xvzf *.tgz; | |
rm *.tgz; |
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
(defun sublime-text-2 () | |
(interactive) | |
(color-theme-install | |
'(sublime-text-2 | |
((background-color . "#171717") | |
(background-mode . light) | |
(border-color . "#1a1a1a") | |
(cursor-color . "#fce94f") | |
(foreground-color . "#cfbfad") | |
(mouse-color . "black")) |