- 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:
Posts (Atom)
Sync multiple git repo at once
Use the following command in Linux will do the job: ls -d RepoNames* | xargs -I{} git -C {} pull
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -&...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...
-
To count the number lines of files / stdout in Linux, we uses "wc -l" to achieve. In Windows, we use the following instead: find...