News for hackers. Stuff that matters.
Re:A command-line weather app built using Elixir by gknoy on Thursday May 07, 2015 @11:55AM (#9505965)
Perhaps I'm a bash noob, but when I try to paste that in my shell, it complains about a syntax error near `{curl`. Am I doing something wrong?
Re:A command-line weather app built using Elixir by cocoflunchy on Thursday May 07, 2015 @12:00PM (#9506014)
There are spacing issues for me. Try

    function weather() { curl -s "http://api.openweathermap.org/data/2.5/weather?q=$1&units=metric" | jq .main.temp | figlet -kcf big ;}
Re:A command-line weather app built using Elixir by rnhmjoj on Thursday May 07, 2015 @12:46PM (#9506403)
I wrote this in zsh. It seems in bash you need to add a space before the bracket