Skip to content

Instantly share code, notes, and snippets.

View ManjunathaN's full-sized avatar

Manjunatha N ManjunathaN

  • Toronto, Canada
View GitHub Profile
@ManjunathaN
ManjunathaN / README.md
Created June 5, 2019 14:46 — forked from leonardofed/README.md
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


$:> wsimport -keep -verbose "https://slc.centershift.com/store40/sws.asmx?WSDL"
parsing WSDL...
[ERROR] Property "Any" is already defined. Use <jaxb:property> to resolve this conflict.
line 6601 of https://slc.centershift.com/store40/sws.asmx?WSDL
[ERROR] The following location is relevant to the above error
line 6602 of https://slc.centershift.com/store40/sws.asmx?WSDL
$:>wsdl2java -compile -client -d . -p com.centershift.store40 -autoNameResolution "https://slc.centershift.com/store40/sws.asmx?WSDL"
Mar 18, 2014 11:09:32 AM org.apache.cxf.transport.https.SSLUtils getCiphersuites
INFO: The cipher suites have not been configured, falling back to cipher suite filters.
Mar 18, 2014 11:09:33 AM org.apache.cxf.transport.https.SSLUtils getCiphersuites
INFO: The cipher suite filters have not been configured, falling back to default filters.
Mar 18, 2014 11:09:33 AM org.apache.cxf.transport.https.SSLUtils getCiphersFromList
INFO: The cipher suites have been set to SSL_RSA_WITH_RC4_128_MD5, SSL_RSA_WITH_RC4_128_SHA, TLS_RSA_WITH_AES_128_CBC_SHA, TLS_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_RSA_WITH_AES_128_CBC_SHA, TLS_DHE_RSA_WITH_AES_256_CBC_SHA, TLS_DHE_DSS_WITH_AES_128_CBC_SHA, TLS_DHE_DSS_WITH_AES_256_CBC_SHA, SSL_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_RSA_WITH_3DES_EDE_CBC_SHA, SSL_DHE_DSS_WITH_3DES_EDE_CBC_SHA, SSL_RSA_WITH_DES_CBC_SHA, SSL_DHE_RSA_WITH_DES_CBC_SHA, SSL_DHE_DSS_WITH_DES
@ManjunathaN
ManjunathaN / redis_experiment
Created June 12, 2013 09:40
In Redis, using Hash data type over String data type save half the memory.
jruby-1.7.1 :079 > redis_conn
=> #<Redis client v3.0.2 for redis://localhost:6379/0>
jruby-1.7.1 :080 > redis_conn.flushdb
=> "OK"
jruby-1.7.1 :081 > redis_conn.info "memory"
=> {"used_memory"=>"1081696", "used_memory_human"=>"1.03M", "used_memory_rss"=>"29933568", "used_memory_peak"=>"38219840", "used_memory_peak_human"=>"36.45M", "used_memory_lua"=>"31744", "mem_fragmentation_ratio"=>"27.67", "mem_allocator"=>"libc"}
jruby-1.7.1 :082 > 100000.times { |i| redis_conn.mset "USER"+i.to_s+"POSTS",(1+i).to_s, "USER"+i.to_s+"COMMENTS"+i.to_s,(2+i).to_s, "USER"+i.to_s+"LIKES"+i.to_s,(2+i).to_s, "USER"+i.to_s+"DISLIKES"+i.to_s,(2+i).to_s}
=> 100000
jruby-1.7.1 :083 > redis_conn.info "memory"
=> {"used_memory"=>"36636112", "used_memory_human"=>"34.94M", "used_memory_rss"=>"42246144", "used_memory_peak"=>"38219840", "used_memory_peak_human"=>"36.45M", "used_memory_lua"=>"31744", "mem_fragmentation_ratio"=>"1.15", "mem_allocator"=>"libc"}