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
| #!/usr/bin/env ruby | |
| # vim: set ts=2 expandtab: | |
| require 'rubygems' | |
| require 'nokogiri' | |
| require 'pp' | |
| require 'erb' | |
| build_dir = '/var/deploy/.hudson/jobs/SoundCloud coverage/builds/**/archive/coverage/index.html' |
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
| # .irbrc | |
| # vim: set syntax=ruby : | |
| require 'irb/completion' | |
| require 'irb/ext/save-history' | |
| require 'fileutils' | |
| require 'pp' | |
| require 'rubygems' | |
| ARGV.concat [ "--readline", | |
| "--prompt-mode", |
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
| D/dalvikvm( 374): GC freed 382 objects / 49832 bytes in 444ms | |
| E/AndroidRuntime( 374): java.lang.OutOfMemoryError | |
| E/AndroidRuntime( 374): at java.lang.String.<init>(String.java:513) | |
| E/AndroidRuntime( 374): at java.lang.String.<init>(String.java:488) | |
| E/AndroidRuntime( 374): at android.text.SpannableStringBuilder.toString(SpannableStringBuilder.java:870) | |
| E/AndroidRuntime( 374): at android.text.SpannableStringInternal.<init>(SpannableStringInternal.java:28) | |
| E/AndroidRuntime( 374): at android.text.SpannableString.<init>(SpannableString.java:30) | |
| E/AndroidRuntime( 374): at android.widget.TextView.onSaveInstanceState(TextView.java:2391) | |
| E/AndroidRuntime( 374): at android.view.View.dispatchSaveInstanceState(View.java:5870) | |
| E/AndroidRuntime( 374): at android.view.ViewGroup.dispatchSaveInstanceState(ViewGroup.java:1102) |
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
| I/dalvikvm-heap( 353): Clamp target GC heap from 16.286MB to 16.000MB | |
| D/dalvikvm( 353): GC freed 41990 objects / 1264224 bytes in 532ms | |
| I/dalvikvm-heap( 353): Forcing collection of SoftReferences for 16388-byte allocation | |
| I/dalvikvm-heap( 353): Clamp target GC heap from 16.278MB to 16.000MB | |
| D/dalvikvm( 353): GC freed 207 objects / 8744 bytes in 456ms | |
| E/dalvikvm-heap( 353): Out of memory on a 16388-byte allocation. | |
| I/dalvikvm( 353): "main" prio=5 tid=3 RUNNABLE | |
| I/dalvikvm( 353): | group="main" sCount=0 dsCount=0 s=N obj=0x4001b268 self=0xbd00 | |
| I/dalvikvm( 353): | sysTid=353 nice=0 sched=0/0 cgrp=default handle=-1344001384 | |
| I/dalvikvm( 353): at android.text.SpannableStringBuilder.resizeFor(SpannableStringBuilder.java:~131) |
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
| #!/usr/bin/env ruby | |
| # | |
| require 'rubygems' | |
| require 'open-uri' | |
| require 'nokogiri' | |
| require 'ruby-growl' | |
| already_notified = [] | |
| while true do | |
| doc = Nokogiri::HTML(open('http://www.bln.fm/feed/podcast/songinfo-alx.html')) |
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
| core 'nginx.2742.610.core' of 2742: /opt/ec/sbin/nginx | |
| fea4510f t_splay (8269180) + 30 | |
| fea44fdc t_delete (8269180) + 2a | |
| fea44d16 realfree (8268180) + 58 | |
| fea4531f cleanfree (0) + 44 | |
| fea4483b _malloc_unlocked (290, 80ffea8, 290, 290, 8047a88, 806f3e8) + ad | |
| fea44764 malloc (290, 0, 0, 80ffea8, feb1f5d0, feb1e000) + 34 | |
| 0806f3e8 ngx_alloc (290, 80ffea8, feb1f5d0, 80ffea8, 290, 80ffe70) + 15 | |
| 0805ccbc ngx_palloc_large (80ffe70, 290, 1, 8268aa8) + 16 | |
| 0805cbbb ngx_palloc (80ffe70, 290, 81b6300, 400, 80ffedc, 0) + 4f |
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
| root cores (web01.soundcloud): pstack nginx.2743.610.core | |
| core 'nginx.2743.610.core' of 2743: /opt/ec/sbin/nginx | |
| fea4510f ???????? (816b800) | |
| fea44fdc ???????? (816b800) | |
| fea44d16 ???????? (816a800) | |
| fea4531f ???????? (0) | |
| fea4483b ???????? (1000, 81b0210, 1000, 1000, 8047ab8, 806f3e8) | |
| fea44764 ???????? (1000, 8192d70, 4b9a753b, a85d7, 8192d70, 0) | |
| 0806f3e8 ngx_alloc (1000, 81b0210, 8047af8, 808d114, 1000, 8160080) + 15 | |
| 0805ccbc ???????? (8160080, 1000, 8047b18, 81bc470) |
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
| diff -ruN debian/control debian_new/control | |
| --- debian/control 2010-02-27 23:32:15.000000000 +0000 | |
| +++ debian_new/control 2010-03-06 21:26:18.000000000 +0000 | |
| @@ -4,25 +4,15 @@ | |
| Maintainer: Leo Costela <[email protected]> | |
| Uploaders: Philipp Benner <[email protected]> | |
| DM-Upload-Allowed: yes | |
| -Build-Depends: debhelper (>= 7), autotools-dev, libgtk2.0-dev, libevent-dev | |
| - (>= 1.4), libglib2.0-dev, libnotify-dev, libssl-dev, libcurl4-dev | | |
| - libcurl-dev, chrpath, intltool (>= 0.40), qt4-qmake, libqt4-dev, |
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
| for i in *; do pushd .; echo $i; cd "$i" && ([ -d '.git' ] && git pull); popd; done |
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
| module ActionController | |
| module Session | |
| class CookieStore | |
| def load_session_with_logging(env) | |
| # require 'pp' | |
| # pp caller | |
| load_session_without_logging(env) | |
| end |