Rust on Mac

Rust is systems programming language gaining popularity due to its “safe, concurrent, practical language”, being memory safe while maintaining performance is the reason why so many people are adopting it as their systems language of choice, winning the first place for “most loved programming language” in the Stack Overflow Developer Survey in 2016 and 2017.

Continue reading

Remove all installed Homebrew packages

Keeping your Mac clean can be a difficult task if you use Homebrew to install packages for development and testing purpose and without correctly installing the right packages, it may bloat your system, taking up unwanted storage space.

This one command will uninstall all the packages install through Homebrew.

brew remove --force $(brew list) --ignore-dependencies  

To remove unused archives run.

brew cleanup  

If you have any question, leave a comment.

Create bootable Mac OS Sierra installer flash drive

Apple recently announced Mac OS Sierra at WWDC which is currently available as a Developer Preview and soon will be available as Public Beta.

While most of you may prefer installing it directly by upgrading their current EL Capitan setup others may want to clean install or create a bootable flash drive to install it on multiple Mac or have a USB installer instead.

You need to have a flash drive that is 8GB or above.

All you have to do is open Terminal and enter this command and change the with you flash drive name.

(Be careful while choosing your flash drive as this process will erase the data on that specific volume)

sudo /Applications/Install 10.12 Developer –volume /Volumes/ –applicationpath /Applications/Install 10.12 Developer  

You should see something like this in your Terminal.

Ready to start.  
To continue we need to erase the disk at /Volumes/Flash Drive.  
If you wish to continue type (Y) then press return: Y  
Erasing Disk: 0%… 10%… 20%… 30%…100%…  
Copying installer files to disk…  
Copy complete.  
Making disk bootable…  
Copying boot files…  
Copy complete.  

You can now reboot your Mac and hold the option key to switch to the flash drive that contains the installer

Thank you for reading.

Python3 on Mac

Mac by default does not ship with Python 3 this means you have to install it manually.

There are many ways of installing it, the first way is to download the pre-build package from the official website and installing it on your system.

The second way is by compiling it on your system.

While both the way listed above are the correct way to install Python3 updating to the latest version might a bit of a work because the above methods don’t update by themselves or with a help of any command line tools.

The third way is to install it with the help of Homebrew

Homebrew is a package for Mac that lets you install any package a viable in its repository with less that 4 commands depending on the install instructions.

If you have Homebrew already installed on your system you are good to go, if not you can install it from here

Python3 can be installed by entering this simple command in terminal.

brew install python3  

Linking Python3 apps and utilities by entering this command

brew linkapps python3  

You can update to the latest version of Python 3 by entering this command

brew upgrade python3  

Now you are good to go with your Python3 based development environment on your Mac

Happy Coding!

Ruby on Mac

If all you want it to install the latest version of Ruby and don’t require different versions of it installed side by side you can use Homebrew to install it on your Mac.

All you have to do is enter this command

brew install ruby  

Your Ruby development is now only a few gems away.

Thank you for reading

WordPress app for Mac/Windows/Linux

WordPress recently announced their clients for Mac, Windows and Linux, this app gives you access to the WordPress dashboard as a native client to the supported platform you are using.

So now you can access all your self-hosted WordPress(requires Jetpack to be enabled) or your hosted WordPress blogs, with the beautifully designed WordPress dashboard.

You can get a copy of the client for Mac, Windows or Linux by simply visiting here, and downloading the client for your system.

Thank you for reading,

If you have any questions feel free to leave a comment below.

WhatsApp on Mac

WhatsApp had recently made their online web service available for user to connect their smartphone using QR Code, this let the user access WhatsApp with a Web UI, this could be done by scanning the QR Code with your smartphone camera

This service turned very popular, the problem with this was you need to have a web browser tab open or sometimes a separate new window for the Web Interface.

So, I discovered this app while browsing GitHub for interesting projects, I discovered ChitChat an open source, app available for Mac.

I tried it out and found it interesting and was the right solution for this problem.

You can install it by downloading it from here

This application lets you have WhatsApp Web as a Mac app and integrates well with the Notification Center and lets you access some options from the Apple menu bar.

The app is under active development, so there might be a few bugs, and certain features might not be currently completely functional like the media upload option

Thank you for reading. If you have any questions leave a comment below.