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) |
| // Copyright (c) 2018, Chris Lalancette | |
| // | |
| // Redistribution and use in source and binary forms, with or without | |
| // modification, are permitted provided that the following conditions are met: | |
| // | |
| // * Redistributions of source code must retain the above copyright | |
| // notice, this list of conditions and the following disclaimer. | |
| // | |
| // * Redistributions in binary form must reproduce the above copyright | |
| // notice, this list of conditions and the following disclaimer in the |
| == Adb Server | |
| adb kill-server | |
| adb start-server | |
| == Adb Reboot | |
| adb reboot | |
| adb reboot recovery | |
| adb reboot-bootloader | |
| == Shell |