Archive for Mac

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~
Default max heap size

Default max heap size

If you need to get the default max heap size used by your machine: java -XX:+PrintFlagsFinal -version 2>&1 | grep MaxHeapSize

Continue reading →

OVF Appliance Import failed: Host resource of type “Other Storage Device (20)” is supported with SATA AHCI controllers only, line 47

OVF Appliance Import failed: Host resource of type “Other Storage Device (20)” is supported with SATA AHCI controllers only, line 47

When you have .ovf file from VMWare and get the following message: “Host resource of type “Other Storage Device (20)” is supported with SATA AHCI controllers only, line 47″ The quickest solution is to open it with any text/xml editor, and 1. replace word “ElementName”…

Continue reading →

Google Drive notification icon and Yosemite dark mode

Google Drive notification icon and Yosemite dark mode

Quit Google Drive Go to /Applications/Google Drive.app/Contents/Resources swap png icons mac-normal and mac-normal-inverse restart Google Drive

Continue reading →

How to install Java 7 on Yosemite

How to install Java 7 on Yosemite

An easy way is to create a copy of SystemVersion.plist from /System/Library/CoreServices/ into your desktop. change <key>ProductVersion</key> <string>10.10</string> to <key>ProductVersion</key> <string>10.9.4</string> put back the file to CoreServices and job done. You can now start Java 7. You need to type your password at the prompt…

Continue reading →

Yosemite can automatically collect your location information

Yosemite can automatically collect your location information

Apple introduced a nice feature: http://www.washingtonpost.com/blogs/the-switch/wp/2014/10/20/apples-mac-computers-can-automatically-collect-your-location-information/ In short: every single local search in spotlight is sent to Cupertino. That includes of course search for a file, person, company, etc. Nice. It is not a secret function, because it is mentioned in the Yosemite’s licence: http://www.theregister.co.uk/2014/10/20/apple_spotlight_privacy_qualms/…

Continue reading →

Remove finder from Dock

Remove finder from Dock

Open (you need root permissions): /System/Library/CoreServices/Dock.app/Contents/Resources/DockMenus.plist Add a new subsection to “finder-running”: <dict> <key>command</key> <integer>1004</integer> <key>name</key> <string>REMOVE_FROM_DOCK</string> </dict> Kill the dock: killall Dock Then right click on Finder icon in Dock and click on “remove from dock”

Continue reading →

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 →

Page 1 of 4 1 2 3 4