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
javascript: | |
var url = location.href; | |
if (url.match(/^https:\/\/github\.com\/.*\/commit\//)) { | |
var params = url.split('?')[1]; | |
if (params == undefined) { | |
location.href = url + '?w=1' | |
} | |
} |
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
diff --git configure.ac configure.ac | |
index 62f53a3..850eaa4 100644 | |
--- configure.ac | |
+++ configure.ac | |
@@ -1571,7 +1571,7 @@ if test "${HAVE_NS}" = yes; then | |
leimdir="\${ns_appresdir}/leim" | |
INSTALL_ARCH_INDEP_EXTRA= | |
fi | |
- NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o" | |
+ NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o macim.o" |
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
__gvm_switch() { | |
if [ -s "application.properties" ]; then | |
local arr candidate candidate_home current target | |
arr=($(cat application.properties | grep --color=never 'app.\(grails\|griffon\).version' | sed "s_app.\(.*\).version=\(.*\)_\1 \2_g")) | |
candidate=${arr[1]} | |
target=${arr[2]} | |
candidate_home=$(eval echo '$'$(echo $candidate | tr '[:lower:]' '[:upper:]')_HOME) | |
if [ ! -z "$(readlink $candidate_home)" ]; then | |
candidate_home=$(readlink $candidate_home) | |
fi |
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
// ==UserScript== | |
// @id hatena-keyword-link-remover | |
// @name Hatena Keyword Link Remover | |
// @namespace http://piyopiyoducky.net/ | |
// @author Hideki IGARASHI | |
// @description はてなダイアリー&はてなブログのキーワードリンクを除去します。 | |
// @include http://d.hatena.ne.jp/* | |
// @include http://*.hatenablog.com/* | |
// @include http://*.hatelabo.jp/* | |
// @version 1.0.1 |
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
Show hidden characters
{ | |
"bold_folder_labels": true, | |
"build_env": | |
{ | |
"PATH": "/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin" | |
}, | |
"caret_style": "solid", | |
"disable_formatted_linebreak": true, | |
"disable_tab_abbreviations": true, | |
"draw_minimap_border": true, |
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
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb | |
index f12619b..ed3d217 100644 | |
--- a/Library/Formula/tmux.rb | |
+++ b/Library/Formula/tmux.rb | |
@@ -20,7 +20,12 @@ class Tmux < Formula | |
# NOTE: it applies to 1.6 only, and should be removed when 1.7 is out. | |
# (because it has been merged upstream) | |
def patches | |
- DATA if build.stable? | |
+ ps = [] |
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
require 'formula' | |
class Tmux < Formula | |
homepage 'http://tmux.sourceforge.net' | |
url 'http://sourceforge.net/projects/tmux/files/tmux/tmux-1.6/tmux-1.6.tar.gz' | |
sha1 '8756f6bcecb18102b87e5d6f5952ba2541f68ed3' | |
head 'git://tmux.git.sourceforge.net/gitroot/tmux/tmux' | |
depends_on 'pkg-config' => :build |
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
diff --git a/utf8.c b/utf8.c | |
index 5ae1bba..4d95c33 100644 | |
--- a/utf8.c | |
+++ b/utf8.c | |
@@ -135,7 +135,6 @@ struct utf8_width_entry utf8_width_table[] = { | |
{ 0x0135f, 0x0135f, 0, NULL, NULL }, | |
{ 0x01a17, 0x01a18, 0, NULL, NULL }, | |
{ 0x006e7, 0x006e8, 0, NULL, NULL }, | |
- { 0x03099, 0x0309a, 0, NULL, NULL }, | |
{ 0x00b4d, 0x00b4d, 0, NULL, NULL }, |
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
# RAILS_ROOT/config/unicorn.rb | |
# Search for "# SET ME!" and replace these with your own settings!. | |
HOW_DEEP_WE_R_FROM_RAILS_ROOT = "../.." | |
# Set environment to development unless something else is specified | |
RAILS_ROOT = File.expand_path(HOW_DEEP_WE_R_FROM_RAILS_ROOT, File.dirname(__FILE__)) | |
SHARED_PATH = File.expand_path('../shared', RAILS_ROOT) | |
ENV['BUNDLE_GEMFILE'] = File.expand_path("#{HOW_DEEP_WE_R_FROM_RAILS_ROOT}/Gemfile", File.dirname(__FILE__)) |
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
*** a/src/macim.m 2012-06-12 13:09:43.000000000 +0900 | |
--- b/src/macim.m 2012-06-12 13:11:47.000000000 +0900 | |
*************** | |
*** 99,105 **** | |
} | |
else | |
{ | |
! NSString *locale = [[NSLocale currentLocale] localeIdentifier]; | |
is = TISCopyInputSourceForLanguage((CFStringRef)locale); | |
} |