Archive for Mac - page 2

Rename multiple files~ How to mount a HFS partition in Ubuntu as Read/Write?~ How to delete Quicklook thumbnails on Mac~ Preserve bash history in multiple terminals~ Default max heap size~ OVF Appliance Import failed: Host resource of type “Other Storage Device (20)” is supported with SATA AHCI controllers only, line 47~ Google Drive notification icon and Yosemite dark mode~ How to install Java 7 on Yosemite~ Yosemite can automatically collect your location information~ Remove finder from Dock~ How to speed up terminal.app or iTerm on Mac OSX?~ How Can I Remove .DS_Store Files From A Git Repository?~ How to exclude .DS_Store from a zip file~ How to run a different version of Java~ /etc/hosts vs /private/etc/hosts~ How to downgrade Java.~ Remove and Disable Spotlight icon from top right bar~ How do I uninstall Java for my Mac?~ How to add route on Mac~ How to fix os x mountain lion download paused~ Toggling hidden files on Finder~ How to disable adobe update manager~ Reinstall ports~ How to Install Java 6 on Mac~ Disable .MobileBackup on Lion~ Toggling between Java 6 and Java 7 on mac~ Custom delay time and animation speed~ How to disable Adobe Updater on OS X Mountain Lion (updated)~ Java Web Service doesn’t start — Bad installation. No JRE found in configuration file~ How to switch from Java 6 to Java 7 on Mac. No Java runtime present, requesting install. [updated]~ How to disable Acrobat Air Updater on Mountain Lion~ “Show in Finder” stop working in Mountain Lion~ Where can I find other java version on my mac?~ Disable Notification Center & Remove the Menu Bar Icon in Mac OS X~ Equivalent of updatedb on mac~ Format XML with TextWrangler – updated~ Flush the dns cache on mac~ Creating a bootable USB stick with Mac OS X in 10 easy steps~ Booting Operating System from USB Drive in VMware Fusion 3.x~ IntelliJ 10 performance tuning on Mac OSX~
How to speed up terminal.app or iTerm on Mac OSX?

How to speed up terminal.app or iTerm on Mac OSX?

sudo rm /private/var/log/asl/*.asl Note *.asl, not all the files in the directory.

Continue reading →

How Can I Remove .DS_Store Files From A Git Repository?

How Can I Remove .DS_Store Files From A Git Repository?

find . -name .DS_Store -print0 | xargs -0 git rm –ignore-unmatch Also add “.DS_Store” to your git “.gitignore” file git add .gitignore git commit -m '.DS_Store bye bye!' UPDATED You might want to exclude some file for a specific repository then you can use: your-repo/.git/info/exclude…

Continue reading →

How to exclude .DS_Store from a zip file

How to exclude .DS_Store from a zip file

This can be easily achieved using your terminal zip -r foo.zip foo -x "*.DS_Store" Where: a. -r for recursively including all directories underneath the targets we want to zip. b. foo.zip is the name of the zip archive we are creating c. foo is the…

Continue reading →

How to run a different version of Java

How to run a different version of Java

Check the version installed: /usr/libexec/java_home -V Then choose the version you need to run: /usr/libexec/java_home -v 1.8.0_05 –exec java -version

Continue reading →

/etc/hosts vs /private/etc/hosts

/etc/hosts vs /private/etc/hosts

List of Mac symbolic links in private folder: ls -aFGl / | grep private This will return: lrwxr-xr-x@ 1 root wheel 11 Jan 9 12:43 etc@ -> private/etc drwxr-xr-x@ 6 root wheel 204 Jan 9 12:53 private/ lrwxr-xr-x@ 1 root wheel 11 Jan 9 12:44…

Continue reading →

How to downgrade Java.

How to downgrade Java.

In short: Uninstall Java plugin (Java Web Start) for your browser type: sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin To remove a specific Java version go to: /Library/Java/JavaVirtualMachines/ and remove the related jdk. If you want to remove the Java Control Panel you have under ‘System Preferences’…

Continue reading →

Remove and Disable Spotlight icon from top right bar

Remove and Disable Spotlight icon from top right bar

Hide: sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search killall SystemUIServer Show it again: sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search killall SystemUIServer To disable spotlight only instead, without removing it from the top menu: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist To enable it again: sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist

Continue reading →

How do I uninstall Java for my Mac?

How do I uninstall Java for my Mac?

Uninstalling Oracle Java (current version) involves deleting the Java Plugin file JavaAppletPlugin.plugin. Open your Terminal, copy and paste the following line: sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin If you need to downgrade java, see related post: how to downgrade java (java 7, Java 8, java x).

Continue reading →

How to add route on Mac

How to add route on Mac

Let’s assume the IP 10.67.0.0 is only accessible through the VPN 192.168.120.254, then you can use route command to access your destination IP through the Gataway. To view you route table on you Mac you use the following command: netstat -rnf inet route -n get…

Continue reading →

How to fix os x mountain lion download paused

How to fix os x mountain lion download paused

Let’s assume you hate Mavericks and you want a new fresh installation of Mountain Lion. You can do that from Snow Leopard and Lion. If you have an original Snow Leopard DVD, then things are easy. You start your Mac holding down the C button…

Continue reading →

Page 2 of 4 1 2 3 4