aboutsummaryrefslogtreecommitdiff
path: root/source/notes/2017-06-19-cli-weather.md
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-06-20 19:03:17 +0200
committerneodarz <neodarz@neodarz.net>2017-06-20 19:03:17 +0200
commit6dbdf013628321f9996efe4a90eaa03b8a8875a4 (patch)
tree0d48ee911685c9170ee7750b5cc21e117918a5d5 /source/notes/2017-06-19-cli-weather.md
parente11b17c3265cca97b244fa368391cdfe8dd182f0 (diff)
downloadmy_new_personal_website-6dbdf013628321f9996efe4a90eaa03b8a8875a4.tar.xz
my_new_personal_website-6dbdf013628321f9996efe4a90eaa03b8a8875a4.zip
Fork of wiki.neodarz.net
Diffstat (limited to '')
-rw-r--r--source/notes/2017-06-19-cli-weather.md20
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);
+```