Skip to content

Instantly share code, notes, and snippets.

View lucasuyezu's full-sized avatar

Lucas Uyezu lucasuyezu

  • Tiohti:áke, unceded Kanien’kehá:ka Territory
  • X @coralton
View GitHub Profile
@lucasuyezu
lucasuyezu / gist:2591216
Created May 4, 2012 01:51
Resumo para a prova 1 do módulo A1.1

Pronúncia

  • u com acento circunflexo significa u com biquinho.
  • u sem nada é u seco mesmo.
Il y a

Haver, existir. Ex. Est-ce que il y a un musée à Cannes? (Há um museu em Cannes?)

Quel - Quelle - Quels - Quelles
DictionaryOpenHelper storage = new DictionaryOpenHelper(getApplicationContext());
// write
SQLiteDatabase writableDatabase = storage.getWritableDatabase();
ContentValues map2 = new ContentValues();
map2.put("QUERY_STRING", queryString.toString());
map2.put("QUERY_DATE", new Date().toLocaleString());
writableDatabase.insert("dictionary", "", map2);
HashMap<String, String> map = new HashMap<String, String>();
#!/usr/bin/env ruby
unless ARGV.size == 2
puts
puts "Usage: fix_subtitles.rb /path/to/file miliseconds_offset"
puts "Example: If subtitles appear AFTER the sound, use -2000 to bring them back 2 seconds"
puts
puts "DISCLAMIER: I only tested them with srt files."
puts
exit()
end