com.android.chrome
com.google.android.music
com.google.android.videos
com.google.android.apps.tachyon
com.qualcomm.uimremoteclient
com.qualcomm.uimremoteserver
#!/bin/sh | |
set -eu | |
LANG=C | |
snap list --all | awk '/disabled/{print $1, $3}' | | |
while read snapname revision; do | |
snap remove "$snapname" --revision="$revision" | |
done |
case "$TERM" in | |
xterm*|rxvt*) | |
if [ $(hostname) == proth-laptop ]; then | |
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}localhost: \w\a\]$PS1" | |
else | |
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" | |
fi | |
;; | |
*) | |
;; |
# Add funciton to check which context is active for kubectl | |
function kube_context { | |
CONTEXT=$(grep "current-context:" ~/.kube/config | sed "s/current-context: //") | |
if [ -n "$CONTEXT" ]; then | |
if [ "${CONTEXT}" = "\"\"" ]; then | |
CONTEXT="" | |
fi | |
case $CONTEXT in | |
*api-okd-prodcluster-com:6443*) export CONTEXT=`echo ${CONTEXT} | sed 's/\/api-okd-prodcluster-com:6443/PROD-cluster/'`;; | |
*api-okd-testcluster-com:6443*) export CONTEXT=`echo ${CONTEXT} | sed 's/\/api-okd-testcluster-com:6443/TEST-cluster/'`;; |
brew install automake libtool wget | |
wget https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.bz2 | |
tar -xvjf protobuf-2.5.0.tar.bz2 | |
cd protobuf-2.5.0 | |
./autogen.sh | |
./configure | |
make; make check | |
sudo make install | |
Validate the successful installation: |
function parse_git_branch {
git branch --show-current --no-color 2> /dev/null | sed 's/^/ /'
}
export PS1="\[\033[01;32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\]: "
export CLICOLOR=1
Protocol Buffers 2.5.0 is no longer available in Homebrew, it must he downloaded from source, compiled and installed: | |
$ wget https://github.com/protocolbuffers/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz | |
$ tar zxvf protobuf-2.5.0.tar.gz | |
$ cd protobuf-2.5.0 | |
$ ./configure | |
$ make | |
$ make check | |
$ make install | |
$ protoc --version |
Create key. There are plenty of how-tos on internet
gpg --list-secret-keys --keyid-format LONG
gpg --armor --export <ID>
Add on github.com
git config --global commit.gpgsign true
IMPORTANT DISCLAIMER: Many of the found "properties" aren't really useful or mistakenly listed, | |
like those starting with "org.apache.hadoop.*". The tool simply greps a pattern in the matching | |
files, and some of them are not used as properties. On the other hand, all named properties from | |
the given configuration file are removed, so quite a few are valid. Again, some of those are still | |
hidden on purpose, since it is not useful to tinker with them unless in extreme situations, or | |
during test runs. Be VERY CAREFUL of what you do. I warned ya! | |
$ sh target/bin/run-finder -d /projects/opensource/hbase/hbase-trunk-rw-git/ -u -s \ | |
--exclude **/generated --exclude **/generated/** --exclude **/target \ | |
--exclude **/test/** -c hbase-common/src/main/resources/hbase-default.xml -o /dev/null |
motion_inactive_to +---------------------+ +------------------------------+ motion_inactive_to | |
Def: 600 +-------+ While sensing_to: <------+ While idle_after_inactive_to:<---------+ Def:600 | |
| | AnyMotion reported? | | AnyMotion reported? | | | |
| +---------------------+ +------------------------------+ | | |
| motion_inactive_to +-------+------------+ | |
| sensing_to Def: 600 | While idle_to: | | |
+-v-------+ Def: 240 | AnyMotion |