Skip to content

Instantly share code, notes, and snippets.

View gokulnath's full-sized avatar
🎯
Focusing

Gokulnath gokulnath

🎯
Focusing
View GitHub Profile
@gokulnath
gokulnath / java-verbose.log
Created August 1, 2013 08:54
Verbose log when running war file.
$ java -jar -verbose my-app.war
[Opened /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.Object from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.io.Serializable from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.Comparable from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.CharSequence from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.String from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.reflect.GenericDeclaration from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.reflect.Type from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.reflect.AnnotatedElement from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
@gokulnath
gokulnath / java-verbose.log
Created August 1, 2013 08:54
Verbose log when running war file.
$ java -jar -verbose my-app.war
[Opened /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.Object from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.io.Serializable from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.Comparable from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.CharSequence from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.String from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.reflect.GenericDeclaration from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.reflect.Type from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
[Loaded java.lang.reflect.AnnotatedElement from /usr/lib/jvm/java-7-oracle/jre/lib/rt.jar]
@gokulnath
gokulnath / test
Created August 30, 2013 06:38
test gist
test
@gokulnath
gokulnath / Earth
Created October 28, 2013 17:40
History
If you imagine the 4,500-billion-odd years of Earth's history compressed into a normal earthly day, then life begins very early, about 4A.M., with the rise of the first simple, single-celled organisms, but then advances no further for the next sixteen hours. Not until almost 8:30 in the evening, with the day five-sixths over, has Earth anything to show the universe but a restless skin of microbes. Then, finally, the first sea plants appear, followed twenty minutes later by the first jellyfish and the enigmatic Ediacaran fauna. At 9:04P.M. trilobites swim onto the scene, followed more or less immediately by the shapely creatures of the Burgess Shale. Just before 10P.M. plants begin to pop up on the land. Soon after, with less than two hours left in the day, the first land creatures follow.
Thanks to ten minutes or so of balmy weather, by 10:24 the Earth is covered in the great carboniferous forests whose residues give us all our coal, and the first winged insects are evident. Dinosaurs plod onto the scene ju
@gokulnath
gokulnath / trace
Created January 12, 2014 04:04
Trace on running rspec
╭─gokulnath@void ~/projects/bitbucket/rails_sample_app ‹following-users*›
╰─➤ bundle exec rspec spec
zsh: correct 'rspec' to '.rspec' [nyae]? n
DEPRECATION: Rspec is deprecated. Use RSpec instead. Called from /home/gokulnath/projects/bitbucket/rails_sample_app/spec/support/utilities.rb:3:in `<top (required)>'.
UserPages
signup
with invalid information
should not create a user
after submission with no data
@gokulnath
gokulnath / json
Created January 13, 2014 11:36
sample nginx_site
'nginx_site' => {
'sites' => [
{
'site_name' => 'gokulnath.in',
'listen' => '80',
'server_name' => 'gokulnath.in',
'root' => '/home/vagrant/deploy/gokul',
'passenger_ruby' => 'ruby-1.9.3-p194',
'passenger_base_uri' => %w(/resume /home),
'deny' => ['182.121.111.1', '131.122.111.111']

Keybase proof

I hereby claim:

  • I am gokulnath on github.
  • I am gokulnath (https://keybase.io/gokulnath) on keybase.
  • I have a public key whose fingerprint is 3B3F 48D1 70AE 1652 C884 BC78 AB1E AAE8 8798 F42A

To claim this, I am signing this object:

@gokulnath
gokulnath / route
Created June 2, 2015 05:40
routes
```
namespace :admin do
mount Logster::Web => "/logs"
end
```
https://player.fm/series/beats-rye-types
https://player.fm/series/one-universe-at-a-time
https://player.fm/series/the-skeptics-guide-38316
https://player.fm/series/slate-money
https://player.fm/series/the-math-dude-quick-and-dirty-tips-to-make-math-easier
https://player.fm/series/planet-money
https://player.fm/series/fwthinking
https://player.fm/series/the-story-collider-10557
https://player.fm/series/spilled-milk
https://player.fm/series/goggles-optional
@gokulnath
gokulnath / user_preference.py
Created October 3, 2015 05:56
slublime text user preferences.
{
"auto_ complete_comit_on_tab": true,
"caret_extra_width": 1,
"caret_style": "phase",
"close_windows_when_empty": false,
"color_scheme": "Packages/User/SublimeLinter/predawn (SL).tmTheme",
"copy_with_empty_selection": false,
"drag_text": false,
"draw_minimap_border": true,
"enable_tab_scrolling": false,