View gist:8dd187a4112b1916157799d94c1ce9e6
root@14a7d10153fa:~/all-ruby# ./all-ruby -v
ruby-0.49 ruby - version 0.49 (18 Jul 94)
ruby-0.50 ruby - version 0.50 (10 Aug 94)
ruby-0.51 ruby - version 0.51 (13 Oct 94)
ruby-0.54 ruby - version 0.54 (94/10/26)
ruby-0.55 ruby - version 0.55 (94/11/18)
ruby-0.60 ruby - version 0.60 (94/12/08)
ruby-0.64 ruby - version 0.64 (95/01/10)
ruby-0.65 ruby - version 0.65 (95/02/08)
ruby-0.69 ruby - version 0.69 (95/03/15)
View gist:91b98953116ca65c5587169f74bb3d7f
dump.c:775:18: warning: implicit declaration of function 'rb_struct_const_ptr' is invalid in C99 [-Wimplicit-function-declaration]
VALUE beg = RSTRUCT_PTR(obj)[0];
^
/Users/usr0600238/.anyenv/envs/rbenv/versions/2.4.0-dev/include/ruby-2.4.0/ruby/ruby.h:1184:33: note: expanded from macro 'RSTRUCT_PTR'
#define RSTRUCT_PTR(st) rb_struct_const_ptr(st)
^
dump.c:775:34: error: subscripted value is not an array, pointer, or vector
VALUE beg = RSTRUCT_PTR(obj)[0];
~~~~~~~~~~~~~~~~^~
dump.c:776:34: error: subscripted value is not an array, pointer, or vector
View gist:c0c06402d50f6241fb6c35f05abedf2c
aleph_analytics-0.0.4/app/assets/javascripts/angular/services/lib/spinner_state.js.es6: class Spinner {
aleph_analytics-0.0.4/app/assets/javascripts/angular/services/lib/spinner_state.js.es6: class SpinnerState {
aleph_analytics-0.0.4/public/assets/angular/services/lib/spinner_state.js-315bb62df18f9370a89f8b865eb1766a.es6: class Spinner {
aleph_analytics-0.0.4/public/assets/angular/services/lib/spinner_state.js-315bb62df18f9370a89f8b865eb1766a.es6: class SpinnerState {
capistrano-simple-formatter-0.2.0/lib/capistrano-simple-formatter/spinner.rb: class Spinner
cli_logger-0.1.0/lib/cli_logger/spinner.rb: class Spinner
codeclimate-0.35.2/lib/cc/analyzer/formatters/spinner.rb: class Spinner
deep_test-1.2.2/lib/deep_test/ui/console.rb: class Spinner
deep_test_pre-2.0/lib/deep_test/ui/console.rb: class Spinner
gametel-0.8/lib/gametel/views/spinner.rb: class Spinner < View
View gist:1cdf73a72e24fa6124d9450bbf2afc0f
Chrononaut-hostconnect-0.1.6/lib/hostconnect/builders/agent_info_builder.rb: class AgentInfoBuilder < AbstractBuilder
Chrononaut-hostconnect-0.1.6/lib/hostconnect/responses/agent_info.rb: class AgentInfo < AbstractResponse
MINT-core-2.0.0/lib/MINT-core/agent/agent.rb: class Agent
abiquo-installer-tests-20121026.1/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/agent/java_pageant.rb: class Agent
abiquo-installer-tests-20121026.1/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/agent/socket.rb: class Agent
abiquo-installer-tests-20121026.1/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/agent.rb: class AgentError < Net::SSH::Exception; end
abiquo-installer-tests-20121026.1/vendor/net-ssh-2.5.2/lib/net/ssh/authentication/agent.rb: class AgentNotAvailable < AgentError; end
academico-0.4.0/lib/academico.rb:class Agent
active-fedora-10.2.1/spec/unit/base_spec.rb: class Agent < ActiveFedora::Base
active-triples-0.10.2/lib/active_triples/rdf_source.rb: # class Agent; include ActiveTriples::RDFSource
View gist:04aa92f3df05f6fc5098732e6c553ba8
require 'openssl'
require 'pathname'
ext_names = %w(.gz .bz2 .zip .xz)
dirs = %w(1.0 1.1a 1.1b 1.1c 1.1d 1.2 1.3 1.4 1.6 1.8 1.9 2.0 2.1 2.2 2.3)
File.open('index.txt', 'w') do |f|
dirs.each do |dir|
Dir["/home/ftp/pub/ruby/#{dir}/*"].each do |pkg|
next unless ext_names.include?(Pathname(pkg).extname)
View method_table.rb
module A
def foo
puts :x
end
end
class B
include A
end
View gist:30294c94fc181f9742eb
% g push
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 542 bytes | 0 bytes/s, done.
Total 6 (delta 3), reused 0 (delta 0)
remote: /data/github/current/config/basic.rb:67:in `require': cannot load such file -- /data/github/current//data/github/current/vendor/ruby/b3255a8b572160bf249b5019c1ec93e667d547ee/lib/ruby/2.1.0/x86_64-linux/rbconfig.rb (LoadError)
remote: from /data/github/current/config/basic.rb:67:in `require'
remote: from /data/github/current/config/basic.rb:210:in `<top (required)>'
remote: from /data/github/current/vendor/ruby/b3255a8b572160bf249b5019c1ec93e667d547ee/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
View gist:b8487a8b391bfd619c4b
# svn
jessie (ami-fe54f3fe) で t2.medium, 8GB + 100GB で tokyo にインスタンス作成
admin@ でログイン
PermitRootLogin 潰す
sudo apt update -qy && sudo apt dist-upgrade -qy
sudo apt install libapache2-mod-svn subversion apache2 git fail2ban vim
/sbin/fdisk /dev/xvdb
/sbin/mkfs.ext4 /dev/xvdb1
sudo mkdir /data
View gist:3aadfd89ea8bfe185868
SEGV received in SEGV handler
/Users/hsbt/.anyenv/envs/rbenv/versions/2.4.0-dev/lib/ruby/gems/2.4.0/gems/bundler-1.11.2/lib/bundler/rubygems_integration.rb:118: [BUG] Segmentation fault at 0x00000000000381
ruby 2.4.0dev (2015-12-30 trunk 53377) [x86_64-darwin15]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/CrashReporter
* /Library/Logs/CrashReporter
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
View gist:e9ff67f4442dffa505b1
>> Gem::Requirement.create('>= 2.3.0dev').satisfied_by? Gem::Version.new('2.3.0')
=> true
>> Gem::Requirement.create('>= 2.3.0dev').satisfied_by? Gem::Version.new('2.3.0dev')
=> true
>> Gem::Requirement.create('>= 2.3.0').satisfied_by? Gem::Version.new('2.3.0dev')
=> false
>> Gem::Requirement.create('>= 2.3.0').satisfied_by? Gem::Version.new('2.3.0')
=> true