Skip to content

Instantly share code, notes, and snippets.

View valentingavela's full-sized avatar

Valentín Gavela valentingavela

  • Argentina
View GitHub Profile
@pisculichi
pisculichi / radios_nacionales.txt
Last active May 2, 2024 13:45
URLs de radios nacionales de Argentina, para poder escuchar en la terminal con mplayer o vlc
# alias radio='function __radio(){ r=`grep -v "#" radios_nacionales.txt | grep -m 1 -i $1 | cut -d" " -f1`; cvlc $r 2> /dev/null; }; __radio'
# podria utilizarse mplayer en vez de vlc
AMs Nacionales
http://cdn.instream.audio:9288/stream Radio Madre 530
https://streaming1.hostingmontevideo.com:7019/; Radio Colonia 550
http://server.laradio.online:25224/live.mp3 Radio Argentina 570
http://playerservices.streamtheworld.com/api/livestream-redirect/CONTINENTAL_SC Continental 590
https://streammax.alsolnet.com/radiorivadavia Rivadavia 630
@xarg
xarg / websql2json
Created March 3, 2015 16:27
WebSQL to jSON dump
//change table variables below according to your case and you should get a nice JSON at the end
var db = "db";
var table = "your_table";
var db = openDatabase(db, '1.0.0', '', 2 * 1024 * 1024);
db.transaction(function (tx) {
var l = [];
tx.executeSql('select * from ' + table, null, function(tx, res){
for (var i = 0; i < res.rows.length; i++) {
l.push(res.rows.item(i));
}