This is an officially unsupported two-box setup, suitable for real kernel (and sometimes kext) development.
Make sure the box has plenty, but not too much, ram, unless you enjoy wasting time doing either virtual or actual paging.
diff --git a/VT100Screen.h b/VT100Screen.h | |
index d47185e..585d326 100644 | |
--- a/VT100Screen.h | |
+++ b/VT100Screen.h | |
@@ -87,6 +87,8 @@ void TranslateCharacterSet(screen_char_t *s, int len); | |
int ALT_SAVE_CURSOR_Y; | |
int SCROLL_TOP; | |
int SCROLL_BOTTOM; | |
+ int SCROLL_LEFT; | |
+ int SCROLL_RIGHT; |
import asyncio | |
concurrency_sem = asyncio.Semaphore(3) | |
@asyncio.coroutine | |
def run(process): | |
yield from concurrency_sem.acquire() | |
print("Running {}...".format(process)) | |
proc = yield from asyncio.create_subprocess_shell(process) | |
yield from proc.communicate() |
package main | |
import ( | |
git "github.com/libgit2/git2go" | |
"log" | |
) | |
func credentialsCallback(url string, username string, allowedTypes git.CredType) (git.ErrorCode, *git.Cred) { | |
ret, cred := git.NewCredSshKey("git", "/home/vagrant/.ssh/id_rsa.pub", "/home/vagrant/.ssh/id_rsa", "") | |
return git.ErrorCode(ret), &cred |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
#How to transition from EasySIMBL to SIMBL
( ~
is your home directory )
Use SIMBL
checkbox. Quit EasySIMBL.~/Library/ScriptingAdditions/EasySIMBL.osax
if exists.SIMBL
directory and EasySIMBL.osax
located in ~/Library/Containers/
is not needed. Find from Finder or find command like find ~/Library/Containers -name "*SIMBL*" -ls
and remove manually if exists.#!/bin/sh | |
if [ "$1" = "open" ]; then | |
REPO=`git remote -v | grep origin | perl -nle '/github\.com:(\S*)\.git/ && print $1' | head -1` | |
open "https://travis-ci.org/$REPO" | |
exit | |
fi | |
rbenv exec travis "$@" |
--- kiklib/configure.orig 2013-03-23 21:40:00.000000000 +0900 | |
+++ kiklib/configure 2013-04-15 19:58:13.000000000 +0900 | |
@@ -19839,7 +19839,7 @@ | |
DL_LIBS="${DL_LIBS} ${lt_cv_dlopen_libs}" | |
# NSLinkModule (darwin) | |
ac_fn_c_check_func "$LINENO" "NSLinkModule" "ac_cv_func_NSLinkModule" | |
-if test "x$ac_cv_func_NSLinkModule" = x""yes; then : | |
+if test "$DL_LOADER" = none && test "x$ac_cv_func_NSLinkModule" = x""yes; then : | |
DL_LOADER=dyld |
# Mac rxvt-unicode setup. | |
# http://rcrowley.org/articles/rxvt-unicode.html | |
# Install dependencies from MacPorts and CPAN. | |
sudo port install rxvt-unicode +xterm_colors_256 | |
sudo port install terminus-font | |
sudo cpan install Mac::Pasteboard | |
# Run urxvt at X11 startup. | |
defaults write org.x.X11 app_to_run /opt/local/bin/urxvt |
Some scripts/configurations that greatly improve tmux/vim workflows. The shell scripts target zsh but should be adaptable without much effort for other unix shells.
Features:
'vim-tmux-move.zsh', '.vimrc' and '.tmux.conf' cooperate so you can move transparently between tmux panes and vim windows using ALT + (arrow keys or jkhl). It was based on this gist