start new:
tmux
start new with session name:
tmux new -s myname
# coding=utf-8 | |
import tensorflow as tf | |
def get_session(): | |
"""load a new session""" | |
config = tf.ConfigProto() | |
config.gpu_options.allow_growth = True | |
return tf.Session(config=config) |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader | |
== Shell |