Category: MAC OS X
-
MAC OS X re index spotlight search
It is really annoying when spotlight does not return the right search results. To perform a re indexing execute following commands in terminal as root.sudo -s mdutil -a -i offlaunchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plistlaunchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plistmdutil -a -i on
-
#git switch to branch without merge on local repo
To switch from master to a branch or branch to another without merge. git branch*master $ git fetch origin <new_branch> $ git checkoutBranch legacy set up to track remote branch legacy from origin.Switched to a new branch ‘new_branch’ $ git pull $ git branch* new_branchmaster
-
git # move directory or file
Move or rename a file, a directory, or a symlink # clone the repogit clone <repo-url>git mv <source_file_or_directory> <destination>git status # will show the change detailsgit commit -am “comment_for_the_change”git push # push changes to repo
-
Create bootable USB on OSX
– Identify the disk number for the USB disk inserted, usually you can find it from the “Name” and “Size” field. Below eg: , We inserted a USB with 4.1 GB size (so as the identified: “disk2”.) Open terminal and execute the following commands: sh-3.2$ diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme…
-
Convert multiple JPEG to single PDF MAC OS
It is rather easy to convert Multiple images files as single PDF. – Select all the files, and open with preview – Print, and select “save as pdf” – this will create a single PDF file with all jpeg in. ./arun
-
Root and install google play in Amazon Kindle Fire HD 10 (8.1.4)
This is a working procedure to root and install google play Amazon Kindle HD 10″ (8.1.4). Root Kindle Fire HD, I followed the procedure described in here http://forum.xda-developers.com/showthread.php?t=1886460 Download Root_with_Restore_by_Bin4ry_v18 from http://uploaded.net/file/0fpyh5c5 Extract the 7zip file and execute RunMe.sh (if you using MAC/Linux) $ ./RunMe.sh Select the option 1) Normal Now your device is root’d, you…
-
svn: Can’t convert string from ‘UTF-8’ to native encoding:
“svn: Can’t convert string from ‘UTF-8’ to native encoding:” This usually happens with special characters in the file name, which the client cannot understand. Just set proper locale in the client to fix this issues, $ export LC_CTYPE=en_US.UTF-8 // make sure the locale is properly set. $ locale LC_CTYPE=en_US.UTF-8 ./arun
-
svn over ssh tunnel
It is very often required that you need to commit/update to the svn repository which is only indirectly accessible through a gateway (user can ssh to gateway and gateway can ssh to internal svn server) Suppose you have a working copy (locally on your machine) setup…
-
My Favourite MAC OS X applications
Text Editor vi Text Edit Smultron: http://www.peterborgapps.com/smultron/ Komodo Edit: http://www.activestate.com/komodo-edit Voice/Video Calls Skype : http://skype.com Google talk (browser plugin): : http://www.google.com/chat/video G+ hangout Web Browser Firefox: http://www.mozilla.com/en-US/firefox/fx/ Chrome: http://www.google.com/chrome Twitter Client A Plus: http://www.aplus-app.com/ IM Adium: http://adium.im/ Office Documents Libre office: http://www.libreoffice.org/ Video Player VLC: http://www.videolan.org/vlc/ Miro: http://www.getmiro.com/ ( an excellent stream and bit torrent…
-
Setting Up IPv6 Tunnels on MAC and Linux
Published: 11.03.2010 IPv6, the next generation Internet Protocol, brings a wealth of possibilities to your network, system, and services. In this guide, we’ll walk you through the process of establishing an IPv6 network tunnel on both MAC OS X and Linux. Step 1: Choose an IPv6 Tunnel Broker First, you need to select an IPv6…
-
Android ADP1 Firmware to CyanogenMod
This note is more specific to mac os x, more likely the same steps will works with any OS. CyanogenMod is a customized, aftermarket firmware distribution for the HTC Dream and Magic cell phones, and the Google Nexus One. Based on the open-source Android operating system, CyanogenMod is designed to increase performance and reliability over…
-
Hotspot Android – Donut 1.6
Finally, I’ve successfully enabled web browsing over a 3G connection on Android (version 1.6, codenamed Donut). Achieving this required a series of steps: Please note that if you’re using a kernel without the netfilter module, you may encounter issues with NAT (Network Address Translation), causing DNS to function but HTTP/HTTPS to fail. To overcome this,…