Skip to content

Instantly share code, notes, and snippets.

View marnen's full-sized avatar

Marnen Laibow-Koser marnen

View GitHub Profile
@marnen
marnen / errors.txt
Created October 26, 2010 19:35
Errors when inserting UTF-8 characters into MS SQL Server database with TinyTds
>> 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>
@marnen
marnen / gist:2001281
Created March 8, 2012 14:39
Redcar installation error message
$ 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)
// For http://xss-game.appspot.com/level6
window.alert('insecure!');
@marnen
marnen / Vivaldi Gloria.csv
Created May 17, 2017 17:27
CSV table of contents for Vivaldi's Gloria RV 589, Helmut Kickton edition at https://imslp.org/wiki/Special:ImagefromIndex/12032/hfzn
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
@marnen
marnen / input.scss
Last active June 7, 2022 18:49
Generated by SassMeister.com.
.parent {
& .child {
color: red;
}
}
.parent {
.child {
color: blue;
}