This file contains 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
/** | |
* Saebekassebil <Jakob Miland> 2012 | |
* GeekShadow <Antoine Turmel> 2012 | |
* | |
* Put this file in top of the project directory | |
* $ node search.js | |
* | |
**/ | |
var fs = require('fs'), |
This file contains 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
jxon = parser.parseXMLFile("http://www.scenemusic.net/demovibes/xml/queue/") | |
alert(jxon.playlist.queue.entry[2].song); | |
alert(jxon.playlist.now.entry.song); |
This file contains 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
#!/bin/bash | |
#Show 10 first lines with only the string id | |
head songbird.properties | sed 's!^\([^=]*\)=.*$!\1!' |
This file contains 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
#!/bin/bash | |
# This script allow reorder of strings from a foreign .properties file | |
# based on the en-US file and keeping original comments | |
#en-US basefile | |
prop_base_file='/home/antoine/Dev/nightingale-l10n/locales/en-US/songbird/songbird.properties' | |
for lang_code in $(cat /home/antoine/Dev/songbird-l10n/shipped-locales) | |
do |
This file contains 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
#!/bin/bash | |
# This script allow reorder of strings from a foreign .dtd file | |
# based on the en-US file and keeping original comments | |
#en-US base folder | |
dtd_base_folder='/home/antoine/Dev/nightingale-l10n/locales/en-US/songbird/' | |
for lang_code in $(cat /home/antoine/Dev/songbird-l10n/shipped-locales) | |
do |
This file contains 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/python | |
import urllib | |
import sys | |
if len(sys.argv) == 1: | |
print "You must specify a locale" | |
else: | |
f = urllib.urlopen("http://translate.songbirdnest.com/languages/" + sys.argv[1]) |
This file contains 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
#!/bin/bash | |
bz_user= | |
bz_pass= | |
tx_api_url="http://beta.babelzilla.org/api/2/project/" | |
tx_project="ngaletest" | |
curl -L --user $bz_user:$bz_pass -X GET $tx_api_url$tx_project/resources/ > filelist.json | |
cat filelist.json | grep slug | sed -e 's/"slug": "//g' | sed -e 's/",//g' | sed -e 's/ //g' > filelist |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<SongbirdInstallBundle version="2"> | |
<XPI name="Afrikaans" id="langpack-af@getnightingale.com" languageTag="af" url="http://locales.getnightingale.com/langpacks/1.12.1/langpack-af-1.12.1.xpi"/> | |
<XPI name="عربي" id="langpack-ar@getnightingale.com" languageTag="ar" url="http://locales.getnightingale.com/langpacks/1.12.1/langpack-ar-1.12.1.xpi"/> | |
<XPI name="Български" id="langpack-bg@getnightingale.com" languageTag="bg" url="http://locales.getnightingale.com/langpacks/1.12.1/langpack-bg-1.12.1.xpi"/> | |
<XPI name="বাংলা (ভারত)" id="langpack-bn-IN@getnightingale.com" languageTag="bn-IN" url="http://locales.getnightingale.com/langpacks/1.12.1/langpack-bn-IN-1.12.1.xpi"/> | |
<XPI name="Català" id="langpack-ca@getnightingale.com" languageTag="ca" url="http://locales.getnightingale.com/langpacks/1.12.1/langpack-ca-1.12.1.xpi"/> | |
<XPI name="Čeština" id="langpack-cs@getnightingale.com" languageTag="cs" url="http://locales.getnightingale.com/langpacks/1.12.1/langpack-cs-1.12.1. |
This file contains 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/python | |
import urllib | |
import sys | |
if len(sys.argv) == 1: | |
print "You must specify a locale" | |
else: | |
f = urllib.urlopen("http://translate.songbirdnest.com/languages/" + sys.argv[1]) |
This file contains 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
// ==UserScript== | |
// @name Flickr RSS Feed | |
// @name:fr Flux RSS Flickr | |
// @namespace https://greasyfork.org/fr/users/11510-antoine-code | |
// @author Antoine Turmel | |
// @version 1.0.2 | |
// @description Adds back RSS feeds to Flickr galleries | |
// @description:fr Réajoute le flux RSS des galeries Flickr | |
// @icon https://cloud.githubusercontent.com/assets/119288/7681140/9284a93e-fd6d-11e4-8854-89ab643b600a.png | |
// @icon64 https://cloud.githubusercontent.com/assets/119288/7681134/811317e4-fd6d-11e4-8350-2dac0d5f0d66.png |
OlderNewer