Use Slack as notification service in your workflow

This article intend to give some pointers to developers new to Slack on how to integrate their services / workflow with it. You can add a message to Slack and get notified as simple as a command like this:

My Use case

So my main purpose of using Slack it to get notified with certain events happen and implement it with minimum effort. For example, Continue reading “Use Slack as notification service in your workflow”

Simple command to monitor directory changes on Mac

Sometimes you want to know if a certain App/code/IDE changed something on the disk, this little script / command may come in handy.

Install fswatch

install fswatch as a global command

The script

Only fswatch is not enough, here is the script that does the trick

Save as a script e.g., then give it executable permission

Now run the script and supply the path as parameter, and you will start monitoring the directory


Software update failure saved by OSX Time Machine!

Today I was trying to upgrade the OS X on my Mac mini via the AppStore which seems harmless and seamless like every other small OS X updates. Unluckily it turned into a nightmare (almost).

I was not paying attention to the details of the Update, it was something like Command Line Tools, Combined update and an update on the Recovery Partition. The install was smooth, after I restart the computer Continue reading “Software update failure saved by OSX Time Machine!”

Solving Genymotion “unable to connect to your virtual device” Error

So I know you are here because you get this error message while starting a Genymotion Device.


First you should go check your firewall settings as suggested in the Genymotion FAQ. Other than that, if the problem still persist, 9/10 it’s the problem of your Host-only adapter settings. Here’s how to correctly set it. Continue reading “Solving Genymotion “unable to connect to your virtual device” Error”

Why Developers like OSX

It’s *nix and THE most advanced one

Programmers need to use a lot of command line tools on daily basis like ssh, curl, build tools etc. There’s nothing like a bash shell in *nix systems(Unix, Linux. OSX is Unix-based), basically you’re left to choose between OSX and thousands of distros of Linux. (You may use CYGWin in Windows but i think it’s terrible) In my opinion, most Linux distros are still not very user-friendly (Ubuntu is probably the best you can find), OSX provides a pleasant-to-use GUI while preserving the greatness of the command-line environment. Out of the box it has everything a modern OS should have, this saves you the time needed to configure the development environment and focus on the job you need to do.

It’s elegant

OSX is beautifully designed, slick and always Continue reading “Why Developers like OSX”

How to save a PDF in Gmail attachment to Dropbox in iPad

This sounds like a common task, but the problem is that from the GMail App there is no way to directly transfer the file to Dropbox. The trick is to use Safari.

  1. First, Open the attachment, Click the “Share” button and select “Open In Safari
  2. Then, within the pdf canvas in Safari, Tap once to see the “Open In” bar and from there Select “Open in Dropbox
  3. Finally, You will be prompted a screen to select which Dropbox folder you want to save in, then it will proceed to upload
  4. There you go!