- open
- pbcopy, pbpaste
- mdfind
- screencapture
- launchctl
- say
- diskutil
- brew
Thursday, August 28, 2014
Cool Utilities for OSX Terminal
Thursday, August 21, 2014
Trigger breakpoint in Javascript
To trigger breakpoint in Javascript, you can add a 'debugger' in your code. For example:
function testing() {
alert(123);
debugger;
alert(456);
}
The debugger will be triggered at runtime.
function testing() {
alert(123);
debugger;
alert(456);
}
The debugger will be triggered at runtime.
Friday, August 1, 2014
Restart VirtualBox services in OSX (Useful for running genymotion in mac)
Run the following command to restart VBox in mac:
Whenever your genymotion emulator cannot restart in macos, try this.
Subscribe to:
Comments (Atom)
CSP on Apache
To add CSP to root if sort of funny. The following will NOT work for most cases !! <LocationMatch "^/$"> Header s...
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -...
-
Suppose you got a file in Big5 containing some HKSCS characters (e.g. 深水埗, 赤鱲角, etc). When your environment (Ref: Charset.defaultCharset( ) ...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...