Skip to content

Instantly share code, notes, and snippets.

Avatar

Isao Sugimoto d6rkaiz

View GitHub Profile
@d6rkaiz
d6rkaiz / gist:5520721
Created May 5, 2013
squeeze to wheezy upgrade. with mysql@dotdeb
View gist:5520721
root@squeeze64:# apt-get update
Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org/ wheezy/updates/contrib Translation-en [14 B]
Ign http://security.debian.org/ wheezy/updates/contrib Translation-en_US
Get:3 http://security.debian.org/ wheezy/updates/main Translation-en [5,645 B]
Ign http://security.debian.org/ wheezy/updates/main Translation-en_US
Get:4 http://security.debian.org wheezy/updates Release [102 kB]
Get:5 http://ftp.jp.debian.org wheezy Release.gpg [1,672 B]
Get:6 http://ftp.jp.debian.org/debian/ wheezy/main Translation-en [3,851 kB]
Get:7 http://packages.dotdeb.org wheezy Release.gpg [836 B]
View gist:5024273

MountainLion 10.8.2 & Xcode 4.6

$ cc -v
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.1
Thread model: posix
$ clang -v
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.1
@d6rkaiz
d6rkaiz / gist:5023873
Created Feb 24, 2013
ruby 2.0.0 p0 compile warning.
View gist:5023873
compiling thread.c
thread.c:3291:34: warning: variable 'orig_read' is uninitialized when used within its own initialization [-Wuninitialized]
rb_fdset_t UNINITIALIZED_VAR(orig_read);
^~~~~~~~~
./vm_core.h:119:34: note: expanded from macro 'UNINITIALIZED_VAR'
#define UNINITIALIZED_VAR(x) x = x
^
thread.c:3292:34: warning: variable 'orig_write' is uninitialized when used within its own initialization [-Wuninitialized]
rb_fdset_t UNINITIALIZED_VAR(orig_write);
^~~~~~~~~~
@d6rkaiz
d6rkaiz / gist:4275272
Created Dec 13, 2012
SAKURA VPS SSD 1G plan UnixBench
View gist:4275272
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: www3241gi.sakura.ne.jp: GNU/Linux
OS: GNU/Linux -- 2.6.32-279.14.1.el6.x86_64 -- #1 SMP Tue Nov 6 23:43:09 UTC 2012
Machine: x86_64 (x86_64)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Intel(R) Xeon(R) CPU E5-2640 (5000.0 bogomips)
Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSCALL/SYSRET
CPU 1: Intel(R) Xeon(R) CPU E5-2640 (5000.0 bogomips)
@d6rkaiz
d6rkaiz / gist:4274496
Created Dec 13, 2012
SAKURA VPS SSD 1G cpu info
View gist:4274496
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Xeon(R) CPU E5-2640
stepping : 1
cpu MHz : 2499.998
cache size : 4096 KB
physical id : 0
siblings : 2
@d6rkaiz
d6rkaiz / gist:3969063
Created Oct 28, 2012
neocomplcache error
View gist:3969063
function <SNR>87_check_recache の処理中にエラーが検出されました:
行 15:
E117: 未知の関数です: neocomplcache#is_source_enabled
E15: 無効な式です: neocomplcache#is_source_enabled('member_complete')
@d6rkaiz
d6rkaiz / gist:3958477
Created Oct 26, 2012
neocomplcache-snippets-complete
View gist:3958477
remote: Counting objects: 79, done.
remote: Compressing objects: 100% (50/50), done.
remote: Total 79 (delta 12), reused 79 (delta 12)
Unpacking objects: 100% (79/79), done.
From https://github.com/Shougo/neocomplcache-snippets-complete
+ 77b3a19...c2db19f master -> origin/master (forced update)
Auto-merging syntax/snippet.vim
CONFLICT (add/add): Merge conflict in syntax/snippet.vim
Auto-merging autoload/unite/sources/snippet.vim
CONFLICT (add/add): Merge conflict in autoload/unite/sources/snippet.vim
@d6rkaiz
d6rkaiz / gist:3483403
Created Aug 26, 2012
remote hostname at icloud
View gist:3483403
echo show Setup:/Network/BackToMyMac | scutil | sed -n 's/.* : *\(.*\).$/\1/p'
View gist:3088822
CONFIGURE_OPTS="--enable-shared --with-openssl-dir=/usr/local --with-readline-dir=/usr/local" rbenv install 1.9.3-p194
@d6rkaiz
d6rkaiz / hack.sh
Created Jun 19, 2012 — forked from DAddYE/hack.sh
OSX For Hackers
View hack.sh
#!/bin/sh
##
# This is a script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# Run in interactive mode with:
# $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)"
#
# or run it without prompt questions: