diff options
Diffstat (limited to 'source/notes/2017-06-19-cli-weather.md')
-rw-r--r-- | source/notes/2017-06-19-cli-weather.md | 20 |
1 files changed, 20 insertions, 0 deletions
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); +``` |