Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Hiroshi SHIBATA hsbt

🏠
Working from home
View GitHub Profile
View gist:47da18134a7323ab6fdb00d23e148e5f
lib/open-uri.rb
2:require 'uri'
lib/time.rb
3:require 'date'
lib/rdoc/store.rb
2:require 'fileutils'
lib/rdoc/options.rb
View gist:f61e3f946f2ac5da6e0768d370ed7688
hsbt@euclid /usr % ls /usr/lib
charset.alias libMTLCapture.dylib libiodbcinst.2.dylib log sasl2
cron libffi-trampolines.dylib libiodbcinst.dylib pam sqlite3
dsc_extractor.bundle libgmalloc.dylib libobjc-trampolines.dylib php swift
dtrace libhunspell-1.2.0.dylib libpython.dylib pkgconfig system
dyld libhunspell-1.2.dylib libpython2.7.dylib python2.7 updaters
groff libiodbc.2.dylib libstdc++.6.dylib rpcsvc xpc
libLeaksAtExit.dylib libiodbc.dylib libstdc++.dylib ruby zsh
View gist:c4a6cf7dfaf3839998378e9d55faa330
linking shared-object io/nonblock.bundle
../../../../ext/fiddle/libffi-3.2.1/src/arm/trampoline.S:34:17: error: vector register expected
stmfd sp!, {r0-r3}
^
../../../../ext/fiddle/libffi-3.2.1/src/arm/trampoline.S:39:9: error: invalid operand for instruction
ldr r0, [pc, #-4092]
^
../../../../ext/fiddle/libffi-3.2.1/src/arm/trampoline.S:42:9: error: invalid operand for instruction
ldr pc, [pc, #-4092]
^
View gist:82d9eae64ccbc3a4cc648ad973ab00a6
$ rbenv install truffleruby-20.2.0
ruby-build: using openssl from homebrew
Downloading truffleruby-20.2.0-macos-amd64.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/ac1e6867e357a44d0bb72b0bb44ea50c3900b0574e81e6e48d2317b6b45a6ffd
Installing truffleruby-20.2.0...
Recompiling the OpenSSL C extension (against the installed libssl)
/Users/hsbt/.local/share/rbenv/versions/truffleruby-20.2.0/lib/mri/rubygems/specification.rb:18: warning: loading in progress, circular require considered harmful - /Users/hsbt/.local/share/rbenv/versions/truffleruby-20.2.0/lib/mri/rubygems.rb
<internal:core> core/kernel.rb:265:in `require': RubyGems did not redefine #require as expected, make sure $LOAD_PATH and home are set correctly (RuntimeError)
from /Users/hsbt/.local/share/rbenv/versions/truffleruby-20.2.0/lib/mri/rubygems/specification.rb:18:in `<top (required)>'
from <internal:core> core/kernel.rb:257:in `require'
View gist:806d4d93e120ff26e229ead84386e43f
$ rake test
Run options: --seed 14972
# Running:
.........................................................................................................................E.........................................................................................................^Crake aborted!
Interrupt:
Tasks: TOP => test
(See full trace by running task with --trace)
View gist:bc9ed40405cc8b96a82c4b432d0f219e
11238 │ compiling symbol.c
11239 │ parse.c:12491:41: error: too many arguments provided to function-like macro invocation
11240 │ yytoken, &yylval, &yylloc, p);
11241 │ ^
11242 │ parse.c:6055:9: note: macro 'yydestruct' defined here
11243 │ #define yydestruct(m, t, v) ruby_parser_yydestruct(m, t, v, p)
11244 │ ^
11245 │ parse.c:12490:11: error: use of undeclared identifier 'yydestruct'
11246 │ yydestruct ("Error: discarding",
11247 │ ^
View gist:eff3a2b9e075860d4190217dfb1475f3
abbrev
[{"id":94602,"handle":"nt_gem_test","email":"alfredhochmeier@yahoo.de"}]
base64
[{"id":95512,"handle":"jimflexton","email":"hans_adel@zoho.com"}]
coverage
[{"id":41673,"handle":"jix","email":"jannis@harderweb.de"},{"id":41557,"handle":"kbrooks","email":"cmpfixer@hotmail.com"},{"id":42043,"handle":"jpedrosa","email":"joaopedrosa@yahoo.com"},{"id":42164,"handle":"pinguin751","email":"pinguin751@gmx.net"},{"id":42796,"handle":"neoneye","email":"neoneye@gmail.com"},{"id":42828,"handle":"msparshatt","email":"msparshatt@gmail.com"}]
english
[{"id":209,"handle":"transami","email":"transfire@gmail.com"},{"id":11988,"handle":"temp_account","email":"michael.s.klishin@gmail.com"}]
fiber
[{"id":62948,"handle":"zackrw","email":"z.reneau.wedeen@gmail.com"}]
View gist:780b0209fab1142c26f1193c449539fd
Errno::ESPIPE: Illegal seek
/Users/hsbt/Documents/github.com/ruby/ruby/lib/reline/ansi.rb:119:in `pos'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/reline/ansi.rb:119:in `rescue in cursor_pos'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/reline/ansi.rb:102:in `cursor_pos'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/reline.rb:340:in `may_req_ambiguous_char_width'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/reline.rb:207:in `inner_readline'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/reline.rb:174:in `readmultiline'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/forwardable.rb:235:in `readmultiline'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/forwardable.rb:235:in `readmultiline'
/Users/hsbt/Documents/github.com/ruby/ruby/lib/irb/input-method.rb:262:in `gets'
View gist:618a57951f161ae8a278ec1d86fa92d4
generating parse.c
Traceback (most recent call last):
2: from ../ruby/tool/pure_parser.rb:1:in `<main>'
1: from ../ruby/tool/pure_parser.rb:1:in `gets'
../ruby/tool/pure_parser.rb:1:in `gets': Can't do inplace edit without backup (fatal)
NMAKE : fatal error U1077: 'C:\opt\scoop\apps\ruby\current\bin\ruby.exe' : リターン コード '0x1'
Stop.
View gist:4b9c840172927010f9fbe4ceda0c432e
rubyci-recipe on  hocho via 💎 v2.8.0
‚ùØ bundle exec hocho apply --dry-run chkbuild006.hsbt.org
=> Running on chkbuild006.hsbt.org using mitamae
=> $ rsync -az --copy-links --copy-unsafe-links --delete --exclude\=.git --rsh ssh\ -o\ \"PubkeyAuthentication\=yes\"\ -o\ \"PasswordAuthentication\=yes\"\ -o\ \"PreferredAuthentications\=none,publickey,password,keyboard-interactive\"\ -o\ \"Compression\=true\"\ -o\ \"User\=hsbt\" . chkbuild006.hsbt.org:/tmp/hocho-run-RAj4SScp6/itamae
rsync: This rsync lacks old-style --compress due to its external zlib. Try -zz.
rsync error: syntax or usage error (code 1) at main.c(1578) [server=3.1.3]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [sender=3.1.3]
=> chkbuild006.hsbt.org $ rm -rf /tmp/hocho-run-RAj4SScp6/itamae
$ rm -rf /tmp/hocho-run-RAj4SScp6/itamae