I hereby claim:
- I am deadlyelder on github.
- I am deadlyelder (https://keybase.io/deadlyelder) on keybase.
- I have a public key ASCbrTzEiqd4I9nBWVrTB-gXo2engfFtwk9XMpVspvcAjgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
#!/bin/bash | |
# The process VDCAssistant is called whenever | |
# any application attempts to use the camera. | |
# In some cases, when the application that was | |
# using the camera fails to terminate properly, | |
# this process is still running in background | |
# preventing other services from access the camera. | |
# A fix for this is to terminate the process using | |
# the activity monitor. Or just use the following script. |
cat /dev/urandom | env LC_CTYPE=C tr -dc a-zA-Z0-9 | head -c 60; echo | xargs -I rootpw sudo dscl . -passwd /Users/root rootpw |
ip addr show docker0 | grep -Po 'inet \K[\d.]+' |
import tensorflow as tf | |
hello = tf.constant('Hello, TensorFlow!') | |
sess = tf.Session() | |
print(sess.run(hello)) |
#!/bin/bash | |
TF="tensorflow" | |
TF_VER="1.4.0" | |
TF_DIR="$HOME" | |
ENV_NAME="tf-env" | |
GREEN="\033[0;32m" | |
RESET="\033[0m" |
#!/bin/bash | |
GIT=`which git` | |
CMD="say -r 600 -v Karen meow; $GIT" | |
echo alias git="\"$CMD\"" >> ~/.bash_profile | |
echo 'say -v ? | awk '\''{print $1}'\'' | xargs -I {} say -r 700 -v {} meow' >> ~/.bash_profile |