From 6dbdf013628321f9996efe4a90eaa03b8a8875a4 Mon Sep 17 00:00:00 2001 From: neodarz Date: Tue, 20 Jun 2017 19:03:17 +0200 Subject: Fork of wiki.neodarz.net --- source/notes/2017-06-19-cli-weather.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 source/notes/2017-06-19-cli-weather.md (limited to 'source/notes/2017-06-19-cli-weather.md') diff --git a/source/notes/2017-06-19-cli-weather.md b/source/notes/2017-06-19-cli-weather.md new file mode 100644 index 00000000..ebf5962b --- /dev/null +++ b/source/notes/2017-06-19-cli-weather.md @@ -0,0 +1,20 @@ +--- +title: "cli-weather" +date: 2017-06-19T22:15:00 +date_display: Jun 19, 2017 +--- + +Patch pour supprimer la pub à propos de DarkSky.net dans [cli-weather](https://github.com/apizzimenti/cli-weather) : + +```sh +lib/weather/Output.js 2017-06-19 16:55:36.784344203 +0200 +@@ -352,7 +352,7 @@ + console.log(table.toString()); + this.warnings(); + // credit to DarkSky.net; if I hadn't seen a reddit thread with this api in it last year, this project wouldn't exist +- //console.log(chalk.dim("Powered by DarkSky.net")); => fuck-it ! I dont like this pub in my terminal :p ++ console.log(chalk.dim("Powered by DarkSky.net")); + console.log(); + + process.exit(0); +``` -- cgit v1.2.1