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 as a global command
Only fswatch is not enough, here is the script that does the trick
fswatch -0 $@ | while read -d "" event; \
Save as a script e.g. monitor.sh, then give it executable permission
Now run the script and supply the path as parameter, and you will start monitoring the directory
This is something bugs me for a long time. When you typed a wrong URL in Google Chrome for a few times, it will be there like forever. Continue reading
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
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
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.
OSX is beautifully designed, slick and always Continue reading
Reason1: You have not turned ON Calendar Sync
- Go to Settings>Mail,Contacts, Calendars
- Tap on your GMail account
- If you see the “Calendars” is turned off, Tap it once to turn it on
Reason 2: You did not connected to the Internet when you edit iCal
From my Experience, the iCal only sync with Google when you open the App Continue reading
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.
- First, Open the attachment, Click the “Share” button and select “Open In Safari“
- Then, within the pdf canvas in Safari, Tap once to see the “Open In” bar and from there Select “Open in Dropbox“
- Finally, You will be prompted a screen to select which Dropbox folder you want to save in, then it will proceed to upload
- There you go!