How to Open Eclipse Project Folder in Finder?

  1. Go to External Tools Configurations
  2. Click new Launch launch Configuration
  3. Enter “Show Resource in Finder” to Name.
  4. Enter “/usr/bin/open” to Location.
  5. Enter “${resource_loc} to Arguments.
  6. Click Apply.
  7. You should see “Show Resource in Finder” in the External Tools drop down list.

image

Advertisements

How to video record Android phone screen?

Without root the device, one can record Android devices running Android 4.4 (API level 19) and higher.

Here is an example what I did with Mac OSX:

  1. Install Android SDK tools, which includes adb (android debug bridge), on my Mac.
  2. Physically connect my Android phone to my Mac via a USB cable.
  3. Launch “Terminal” from my Mac.

$ adb shell
shell@ $ screenrecord --verbose /sdcard/vidrec.mp4

(It will start recording your device screen at once)
(Press Ctrl-C to stop recording)
shell@ $ exit
$ adb pull /sdcard/vidrec.mp4

(You should see vidrec.mp4 in your local folder)

Note: If you run into any problem,

  • run “adb devices” in the shell.  You should see your device listed as one of the device attached.  If your device is not listed, you may want to disconnect and then reconnect the USB cable.
  • Sometimes, the adb process is messed up.  You may need to kill it and restart it.  Your last resort is to simply restart the machine.

What to Do about the SSL 3.0 Security Flaw?

Google security team just released detail on a security flaw with SSL 3.0.

What to do?

  • One could disable SSL 3.0 with client web browsers.  For example,

“Firefox, open about.config, search for “security.enable,” and set “security.enable_ssl3” to false.

IE, go to the tools menu, click Internet Options and head to the Advanced tab. Under that look for the Security heading, and make sure that the SSL 3.0 check box is unchecked.”

  • One could disable SSL 3.0 in web servers.  For IIS, go to the registry

HKey_Local_Machine\System\CurrentControlSet\Control\SecurityProviders \SCHANNEL\Protocols

Typically, this key contains the following subkeys:

  • SSL 2.0
  • SSL 3.0
  • TLS 1.0

To disable any of these protocols,

  1. Create a subkey “Server” if it does not exist.
  2. In the Server subkey, create a new DWORD value, with the Name “Enabled” and Data = “00 00 00 00”.

To Test:

https://www.ssllabs.com/ssltest/index.html

Be sure to check “Do not show the results on the boards” as you probably do not want to broadcast the result.

Note:

  • As usual, backup before you do anything you might regret.
  • If you want to get super secure, you may want to consider enabling Forward Secrecy.  “Hasse.de” has a powershell script for it.

Reference:

http://www.zdnet.com/google-reveals-major-flaw-in-outdated-but-widely-used-ssl-protocol-7000034677/

http://support.microsoft.com/kb/187498

http://www.hass.de/content/setup-your-iis-ssl-perfect-forward-secrecy-and-tls-12