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/bash | |
# This script will port old mysql 5.5 passwords to | |
# something remotely workable with mysql 8.x. | |
# | |
# If we find OLD mysql 4.x password hashes, I'll | |
# ask to find and set in a new password format. If | |
# the password you entered doesn't match the old hash, | |
# it repeats and lets you retry a different password. | |
# | |
# Run me with something like |
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/bash | |
# rds-top.sh | |
# by <[email protected]>, 20220616 | |
# * Changed some --start-time syntax | |
# * Added --profile and --region | |
# * Made nicer numbers for memory/swap | |
# * Fixed disk IO output to only show devices with real data | |
# by <[email protected]>, 20190822 | |
# based on the work of Matheus de Oliveira <[email protected]> | |
# |
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
[DEBUG] [Ticket] Loaded config file statsd into PID 29463 | |
[DEBUG] [Ticket] Loaded config file memcached into PID 29463 | |
[DEBUG] [Ticket] New MC connection to ["authdb.fbsdata.com:11211", "authdb.fbsdata.com:11212", "authdb.fbsdata.com:11213"] | |
[DEBUG] [Ticket] Loaded config file mysql into PID 29463 | |
[DEBUG] [Ticket] New master mysql connection to zoidberg.fbsdata.com in PID 29463 | |
[DEBUG] [Ticket] Loaded config file prefs into PID 29463 | |
[DEBUG] [Ticket] Loaded config file mysql_auth into PID 29463 | |
[DEBUG] [Ticket] Loaded config file cookies into PID 29463 | |
[DEBUG] [Ticket] New slave mysql connection to zoidberg.fbsdata.com in PID 29463 |
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
[DEBUG] [Ticket] New slave mysql connection to zoidberg.fbsdata.com in PID 29094 | |
[DEBUG] MOPED: 192.168.74.21:27018 COMMAND database=admin command={:ismaster=>1} (10.4039ms) | |
[DEBUG] MOPED: 192.168.74.21:27018 COMMAND database=twilio_cal command={:drop=>"sms_message"} (0.6475ms) | |
[DEBUG] MOPED: 192.168.74.21:27018 COMMAND database=twilio_cal command={:drop=>"voice_call"} (0.5147ms) | |
[DEBUG] MOPED: 192.168.74.21:27018 INSERT database=twilio_cal collection=system.indexes documents=[{:ns=>"twilio_cal.sms_message", :key=>{:date_sent=>1}, :name=>"date_sent_1"}] flags=[] (0.1259ms) | |
[DEBUG] MOPED: 192.168.74.21:27018 INSERT database=twilio_cal collection=system.indexes documents=[{:ns=>"twilio_cal.sms_message", :key=>{:to=>1}, :name=>"to_1"}] flags=[] (0.0813ms) | |
[DEBUG] MOPED: 192.168.74.21:27018 INSERT database=twilio_cal collection=system.indexes documents=[{:ns=>"twilio_cal.voice_call", :key=>{:start_time=>1}, :name=>"start_time_1"}] flags=[] (0.0660ms) | |
[DEBUG] MOPED: 1 |
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
Loaded suite /home/cal/ticket_auth/vendor/bundle/ruby/2.3.0/gems/rake-0.9.2.2/lib/rake/rake_test_loader | |
Started | |
................................................................................................... | |
Finished in 37.427476079 seconds. | |
------------------------------------------------------------------------------------------------------------------------- | |
99 tests, 252 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications | |
0% passed | |
------------------------------------------------------------------------------------------------------------------------- | |
2.65 tests/s, 6.73 assertions/s |
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
Manually running each individual spec file, showing the results: | |
[therubyracer (master)]$ for i in `find ./spec -name \*_spec.rb` ; do cmd="bundle exec ruby -S rspec $i --tag ~memory --tag ~threads " ; echo $cmd ; $cmd ; done | |
bundle exec ruby -S rspec ./spec/v8/object_spec.rb --tag ~memory --tag ~threads | |
Run options: exclude {:memory=>true, :threads=>true} | |
.. | |
Finished in 0.00391 seconds | |
2 examples, 0 failures |
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
[therubyracer (master)]$ bundle exec rake spec | |
/home/cal/.rvm/rubies/ruby-1.9.3-p545/bin/ruby -S rspec ./spec/c/array_spec.rb ./spec/c/constants_spec.rb ./spec/c/exception_spec.rb ./spec/c/external_spec.rb ./spec/c/function_spec.rb ./spec/c/handles_spec.rb ./spec/c/locker_spec.rb ./spec/c/object_spec.rb ./spec/c/script_spec.rb ./spec/c/string_spec.rb ./spec/c/template_spec.rb ./spec/c/trycatch_spec.rb ./spec/mem/blunt_spec.rb ./spec/redjs_spec.rb ./spec/threading_spec.rb ./spec/v8/context_spec.rb ./spec/v8/conversion_spec.rb ./spec/v8/error_spec.rb ./spec/v8/function_spec.rb ./spec/v8/object_spec.rb --tag ~memory --tag ~threads | |
Run options: exclude {:memory=>true, :threads=>true} | |
/home/cal/gems/therubyracer/spec/c/array_spec.rb:5: [BUG] Segmentation fault | |
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux] | |
-- Control frame information ----------------------------------------------- | |
c:0023 p:---- s:0095 b:0095 l:000094 d:000094 CFUNC :New | |
c:0022 p:0019 s:0092 b:0092 l:001418 d:000091 BLOCK /home/cal/g |