Skip to content

Instantly share code, notes, and snippets.

View AlbertWang2018's full-sized avatar

Albert.Wang AlbertWang2018

  • VTC
  • Adelaide, Australia
  • 00:01 (UTC +09:30)
View GitHub Profile
@oofnikj
oofnikj / answerfile
Last active May 7, 2024 05:55
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@neuman
neuman / showertime.js
Created February 26, 2014 06:09
Shower Time Tasker JS
showScene('Tester');
mediaVol(15);
say("Good morning Eric, welcome to "+global('DAYW')+". Let me check the weather.");
//getLocation( 'net' );
//var coords = global('LOCN').split(",");
var http = new XMLHttpRequest();
//flashLong('http://api.openweathermap.org/data/2.5/find?lat='+coords[0]+'&lon='+coords[1]+'&units=imperial&mode=json');
//http.open("GET",'http://api.openweathermap.org/data/2.5/find?lat='+coords[0]+'&lon='+coords[1]+'&units=imperial&mode=json&type=like',false);
http.open("GET",'http://api.openweathermap.org/data/2.5/find?q=brooklyn&units=imperial&mode=json&type=like',false);
http.send();