This is an example set of scripts that allow me to always have weather forecast at my waybar.
Each script can be used on its own, but together they are great.
- NetworkManager for WIFI AP scanning
- Google Geolocation API key
- OpenWeatherMap API key
This is an example set of scripts that allow me to always have weather forecast at my waybar.
Each script can be used on its own, but together they are great.
// Simple proxy/forwarding server for when you don't want to have to add CORS during development. | |
// Usage: node proxy.js | |
// Open browser and navigate to http://localhost:9100/[url] | |
// Example: http://localhost:9100/http://www.google.com | |
// This is *NOT* for anything outside local development. It has zero error handling among other glaring problems. | |
// This started as code I grabbed from this SO question: http://stackoverflow.com/a/13472952/670023 |