Skip to content

Instantly share code, notes, and snippets.

@marnen
marnen / Vivaldi Gloria.csv
Created May 17, 2017
CSV table of contents for Vivaldi's Gloria RV 589, Helmut Kickton edition at https://imslp.org/wiki/Special:ImagefromIndex/12032/hfzn
View Vivaldi Gloria.csv
Title Start End Key
1. Gloria 1 9 D
2. Et in terra pax 10 21 Bm
3. Laudamus te 22 27 G
4. Gratias agimus tibi 28 28 Em
5. Propter magnam gloriam tuam 29 32 Em
6. Domine Deus I 33 36 C
7. Domine fili unigenite 37 44 F
8. Domine Deus II 45 50 Dm
9. Qui tollis peccata mundi 51 52 Am
View xss.js
// For http://xss-game.appspot.com/level6
window.alert('insecure!');
@marnen
marnen / gist:2001281
Created Mar 8, 2012
Redcar installation error message
View gist:2001281
$ gem -v
1.8.17
$ gem install redcar
ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: redcar requires lucene (~> 0.5.0.beta.1), net-ssh (>= 0), net-sftp (>= 0), net-ftp-list (>= 0), jruby-openssl (>= 0), ruby-blockcache (>= 0), bouncy-castle-java (>= 0), swt (>= 0), plugin_manager (>= 0), redcar-icons (>= 0), redcar-jruby (>= 0), redcar-svnkit (>= 0), redcar-bundles (>= 0), redcar-javamateview (>= 0)
@marnen
marnen / errors.txt
Created Oct 26, 2010
Errors when inserting UTF-8 characters into MS SQL Server database with TinyTds
View errors.txt
>> db = TinyTds::Client.new :username => 'USER', :password => 'PASSWORD', :dataserver => 'SERVER', :database => 'DB', :encoding => 'UTF-8'
=> #<TinyTds::Client:0x101174a88>
>> db.encoding
=> nil
>> r = db.execute "insert into awards (title) values ('Japanese')"
=> #<TinyTds::Result:0x101167810>
>> r.each
=> []
>> r = db.execute "insert into awards (title) values ('Japanese 日本語です')"
=> #<TinyTds::Result:0x101155188>
You can’t perform that action at this time.