February 10, 2018 tim

You learn something new everyday and yesterday I discovered an awesome way to check the weather from a command line using wttr.in that will work with FreeBSD, Linux, Mac OS X, and any system that has cURL installed on it which is also available for windows. Download cURL for Windows Most Linux distributions ship with cURL and on FreeBSD it can be installed via pkgng like so # pkg install -y curl Now let’s check the weather # curl wttr.in Since wttr.in is geographically aware you will not have to specify your location, however if you are behind a VPN…

April 15, 2017 tim

Recently I had a client who had a list of zip codes (Like everyone in the state of  Massachusetts) he wanted to create folders of each zip code on this list. This could have taken some time but thanks to my awesome skills and some Google-Fu I was able to work out a solution to do this on FreeBSD and in the process found the commands to create directories from a .txt list on Windows and Macs. In these examples we have a list of folder names in folders.txt and we run the below commands within the same directory as…