_env_init() {
# init version manager without rehash on startup
local SHELL_NAME="zsh"
local init_args=(- --no-rehash zsh)
local zshrc="$HOME/.zshrc"
# For security on Linux
[[ -n $XDG_RUNTIME_DIR ]] && local TMPDIR="$XDG_RUNTIME_DIR"
Edit Aug 5 2020 : this script may be outdated, please visit https://docs.docker.com/config/pruning/ as a lot has changed in Docker
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
Ruby 2.6 was released on Christmas day, and brought a few interesting new features. Here’s a quick summary of what’s changed. As with my summaries of previous versions (2.5, 2.4, 2.3) I’m only summarizing features that I find most interesting. For a complete list of changes, take a look at the changelog.
A new syntax was introduced to represent an endless range. This will be useful when matching ranges in case statements.
case n
when 1..9 then 'Single digit'
when 10..99 then 'Two digit'
I hereby claim:
- I am luong-komorebi on github.
- I am luongvo (https://keybase.io/luongvo) on keybase.
- I have a public key whose fingerprint is F58E 4A78 9347 2723 2D49 8617 0E5C F98D 50B1 45D0
To claim this, I am signing this object:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1.install gource using HomeBrew | |
$ brew install gource | |
# 2.install avconv | |
git clone git://git.libav.org/libav.git | |
cd libav | |
# it will take 3-5 minutes to complie, be patient. | |
./configure --disable-yasm | |
make && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.cards.notification"> | |
<uses-sdk | |
android:minSdkVersion="17" | |
android:targetSdkVersion="17" /> | |
<application | |
android:allowBackup="true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// USAGE ------ | |
// ============ | |
var shell = require('./shellHelper'); | |
// execute a single shell command | |
shell.exec('npm test --coverage', function(err){ | |
console.log('executed test'); | |
}}); |
- chrome
- Vmware
- foxit
- sublime
- intelliJ
- pycharm
- onenote 2016
- adobe (after effect + lightroom + pts)
- bash on ubuntu on windows
- 7 zip
NewerOlder