- page 4

Why is it modern to be non-Java? Java have a high reputation for being  solid and scalable in large enterprise solutions

Why is it modern to be non-Java? Java have a high reputation for being solid and scalable in large enterprise solutions

A very philosophical question, this one. I see modern those languages that were not there a couple/few years ago. Definitely java is seen as the older, more enterprisey technology. I don’t think many startups in silicon valley use it, they use more php (facebook), python,…

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 →

How to add speaker notes to reveal

How to add speaker notes to reveal

I came across to a great HTML Presentation Framework: reveal.js, which is a framework used to create stunning presentations using either a visual editor or simple text. https://github.com/hakimel/reveal.js/ Its create flexibility allows me to create my slides using Markdown https://help.github.com/articles/markdown-basics and convert everything by using…

Continue reading →

Find difference between two text files with one item per line

Find difference between two text files with one item per line

The command: grep -Fxvf file1 file2 -F, –fixed-strings Interpret PATTERN as a list of fixed strings, separated by newlines, any of which is to be matched. -x, –line-regexp Select only those matches that exactly match the whole line. -v, –invert-match Invert the sense of matching,…

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 →

How do I access variables from the main class from another class (java)?

How do I access variables from the main class from another class (java)?

Fields are declared outside of a class’s methods and are usually found right below the class declaration. Fields can be accessed by all methods of a class. They can also be accessed from other classes (unless they are private) using the dot operator. If a…

Continue reading →

How to resize a VirtualBox vmdk file

How to resize a VirtualBox vmdk file

The below command will resize the image to 50GB VBoxManage clonehd "source.vmdk" "cloned.vdi" –format vdi VBoxManage modifyhd "cloned.vdi" –resize 51200 VBoxManage clonehd "cloned.vdi" "resized.vmdk" –format vmdk

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 →

Page 4 of 16 ← First ... 2 3 4 5 6 ... Last →