This file contains hidden or 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
| X509v3 Key Usage: | |
| Digital Signature, Non Repudiation, Key Encipherment | |
| X509v3 Extended Key Usage: | |
| TLS Web Client Authentication, E-mail Protection |
This file contains hidden or 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
| # Import the key: | |
| IO.popen(['gpg', '--homedir', '/root/.gnupg', '--import'], 'w') do |io| | |
| io.puts key['public_key'] | |
| end | |
| # Mark it as ultimately trusted: | |
| IO.popen(['gpg', '--homedir', '/root/.gnupg', '--import-ownertrust'], 'w') do |io| | |
| io.puts "#{key['fingerprint']}:6:" |
This file contains hidden or 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
| pool: tank | |
| state: DEGRADED | |
| status: One or more devices are faulted in response to persistent errors. | |
| Sufficient replicas exist for the pool to continue functioning in a | |
| degraded state. | |
| action: Replace the faulted device, or use 'zpool clear' to mark the device | |
| repaired. | |
| scan: none requested | |
| config: |
This file contains hidden or 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
| ~/Projects/venda/devise_oauth2_providable ➔ bundle | |
| Using rake (0.9.2.2) | |
| Using i18n (0.6.0) | |
| Using multi_json (1.0.4) | |
| Using activesupport (3.2.1) | |
| Using builder (3.0.0) | |
| Using activemodel (3.2.1) | |
| Using erubis (2.7.0) | |
| Using journey (1.0.1) | |
| Using rack (1.4.1) |
This file contains hidden or 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
| (gdb) thread apply all bt | |
| Thread 9 (Thread 0x7f04219a6710 (LWP 1288)): | |
| #0 0x00007f0422dbfea0 in pthread_create@@GLIBC_2.2.5 () from /lib64/libpthread.so.0 | |
| #1 0x00007f04223359f9 in os::create_thread(Thread*, os::ThreadType, unsigned long) () from /usr/java/jdk1.6.0_30/jre/lib/amd64/server/libjvm.so | |
| #2 0x00007f04224433cb in WatcherThread::start() () from /usr/java/jdk1.6.0_30/jre/lib/amd64/server/libjvm.so | |
| #3 0x00007f042244870a in Threads::create_vm(JavaVMInitArgs*, bool*) () from /usr/java/jdk1.6.0_30/jre/lib/amd64/server/libjvm.so | |
| #4 0x00007f0422145660 in JNI_CreateJavaVM () from /usr/java/jdk1.6.0_30/jre/lib/amd64/server/libjvm.so | |
| #5 0x00000000400035f8 in InitializeJVM () | |
| #6 0x000000004000206e in JavaMain () |
This file contains hidden or 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
| [candrews@snow-sso02 ~]$ sudo /usr/java/default/bin/jstack -F 3116 | |
| Attaching to process ID 3116, please wait... | |
| Debugger attached successfully. | |
| Server compiler detected. | |
| JVM version is 20.4-b02 | |
| Deadlock Detection: | |
| No deadlocks found. | |
| Thread 3123: (state = BLOCKED) |
This file contains hidden or 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/2] cxx: node_rsa.cc -> build/Release/node_rsa_1.o | |
| ../node_rsa.cc: In function ‘void node::base64(unsigned char*, int, char**, int*)’: | |
| ../node_rsa.cc:51: warning: ‘BIO_new’ is deprecated (declared at /usr/include/openssl/bio.h:581) | |
| ../node_rsa.cc:51: warning: ‘BIO_f_base64’ is deprecated (declared at /usr/include/openssl/evp.h:647) | |
| ../node_rsa.cc:51: warning: ‘BIO_f_base64’ is deprecated (declared at /usr/include/openssl/evp.h:647) | |
| ../node_rsa.cc:51: warning: ‘BIO_new’ is deprecated (declared at /usr/include/openssl/bio.h:581) | |
| ../node_rsa.cc:52: warning: ‘BIO_new’ is deprecated (declared at /usr/include/openssl/bio.h:581) | |
| ../node_rsa.cc:52: warning: ‘BIO_s_mem’ is deprecated (declared at /usr/include/openssl/bio.h:616) | |
| ../node_rsa.cc:52: warning: ‘BIO_s_mem’ is deprecated (declared at /usr/include/openssl/bio.h:616) | |
| ../node_rsa.cc:52: warning: ‘BIO_new’ is deprecated (declared at /usr/include/openssl/bio.h:581) |
This file contains hidden or 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
| require 'rubygems' | |
| require 'munin-ruby' | |
| require 'socket' | |
| require 'bunny' | |
| require 'json' | |
| amqp_host = ARGV[0] | |
| raise "no amqp host given" if amqp_host.nil? | |
| n = Munin::Node.new |
This file contains hidden or 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
| RFC 2347 OPTION NEGOTIATION | |
| This version of tftpd supports RFC 2347 option negotiation. Currently | |
| implemented options are: | |
| blksize (RFC 2348) | |
| Set the transfer block size to anything less than or equal to the | |
| specified option. This version of tftpd can support any block size | |
| up to the theoretical maximum of 65464 bytes. | |
| blksize2 (nonstandard) |
This file contains hidden or 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
| ruby_block "locate resque assets" do | |
| block do | |
| app = data_bag_item("apps", "platformapi") | |
| resque_gem_path = %x{ cd "#{app['deploy_to']}/current" && bundle show resque }.chomp | |
| node.run_state[:resque_assets_path] = "#{resque_gem_path}/lib/resque/server/public" | |
| end | |
| notifies :create, "template[#{node['apache']['dir']}/sites-available/platformapi.conf]", :immediately | |
| end | |
| template "#{node['apache']['dir']}/sites-available/platformapi.conf" do |