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/zsh | |
# see https://github.com/shyouhei/ruby/wiki/committerhowto | |
# see http://shyouhei.tumblr.com/post/997747981/ruby-svn-git-gateway | |
# see http://blogs.atlassian.com/2013/12/git-svn-tips-and-tricks/ | |
./yum-install-if-not-exist.sh git subversion git-svn screen | |
./install-gtags.sh | |
./install-gnulib.sh |
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/ruby | |
# -*- mode: Ruby -*- | |
# usage: ruby-commit-hook <file> | |
changelog = nil | |
# find out ChangeLog file | |
diff = `git diff --stat HEAD` | |
diff.scan(/^ (ChangeLog) +\|/) { |ary| |
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
14/08/06-06:09:27 [NDK] Exception Errno::ETIMEDOUT - Connection timed out | |
14/08/06-06:09:27 [NDK] Exception Errno::EPIPE - Broken pipe | |
14/08/06-06:09:27 [NDK] -- backtrace -- | |
14/08/06-06:09:27 [NDK] -- backtrace -- | |
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:81:in `gets' | |
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:188:in `write' | |
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:81:in `recv_from_clie\ | |
nt' | |
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:188:in `send_msg' | |
14/08/06-06:09:27 [NDK] | /home/kosaki/.gem/ruby/gems/nadoka-0.9.1/ndk/client.rb:56:in `start' |
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
1) Failure: | |
TestDir#test_symlink [/home/kosaki/src/ruby/test/ruby/test_dir.rb:234]: | |
<["/tmp/__test_dir__20150915-60718-diqxrp/", | |
"/tmp/__test_dir__20150915-60718-diqxrp/a/", | |
"/tmp/__test_dir__20150915-60718-diqxrp/c/", | |
"/tmp/__test_dir__20150915-60718-diqxrp/e/", | |
"/tmp/__test_dir__20150915-60718-diqxrp/g/", | |
"/tmp/__test_dir__20150915-60718-diqxrp/i/", | |
"/tmp/__test_dir__20150915-60718-diqxrp/k/", | |
"/tmp/__test_dir__20150915-60718-diqxrp/m/", |
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
diff --git a/dir.c b/dir.c | |
index aed3ecaa..1bf90ee 100644 | |
--- a/dir.c | |
+++ b/dir.c | |
@@ -1809,6 +1809,13 @@ glob_helper( | |
new_pathtype = path_noent; | |
#else | |
new_pathtype = dp->d_type; | |
+ #ifdef DT_UNKNOWN | |
+ if (new_pathtype == DT_UNKNOWN) { |
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
=== threading === | |
#!/usr/bin/python | |
import sys | |
import threading | |
THR_NUM=4 | |
class thr(threading.Thread) : | |
def run(self) : |
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
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <pthread.h> | |
#include <sys/epoll.h> | |
#define MAX_EVENTS 10 | |
void* thr_epoll_wait(void* arg) |
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
#include <unistd.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <errno.h> | |
#include <pthread.h> | |
#include <sys/epoll.h> | |
#define MAX_EVENTS 10 | |
struct epoll_event ev, events[MAX_EVENTS]; | |
int epollfd; |
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
EL7_VMWARE : build git:(trunk) ./ruby-trunk ../test.rb | |
GC 13 invokes. | |
Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC Time(ms) | |
1 0.048 629880 1207680 30192 1.64745600000000536056 | |
2 0.063 621080 1207680 30192 1.60094999999998988116 | |
3 0.077 781240 1207680 30192 1.96487900000003046230 | |
4 0.086 1064920 1207680 30192 1.22489999999997323243 | |
5 0.088 1071080 1207680 30192 0.41275399999995965317 | |
6 0.106 1758920 2154240 53856 2.38160399999991234665 | |
7 0.135 3014600 3851520 96288 4.32847699999988 |