Everybody's Changing

and I don't feel the same.

Category: Tech (Page 2 of 8)

Create a Bootable USB of Mac OSX 10.10 Yosemite

1. Prepare formatted 8GB (or larger) usb drive, and rename the drive to Untitled.

2. Run the following command in Terminal
sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ OS\ X\ Yosemite.app --nointeraction

2014-11-02_1937

Facebook application overlapped by Facebook UI

It was quite easy to handle this problem once I found this wonderful article:
https://developers.facebook.com/docs/howtos/hideflashcallback/

The most important part is following:


function onFlashHide(info) {
if(info.state == 'opened') {
displayFlashScreenshot();
} else {
hideFlashScreenshot();
}
}

FB.init({
appId : 'APP_ID',
hideFlashCallback : onFlashHide
});

You can use any static image instead of the screenshot if you want a simple solution.

SSH KeepAlive

On iMac, vi /etc/ssh_config and add following:

ServerAliveInterval 300
ServerAliveCountMax 3

Page 2 of 8

Powered by WordPress & Theme by Anders Norén