This file contains 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
#!/bin/env bash | |
cp -r /home/.ssh/* /root/.ssh/ | |
cp -r /home/.gitconfig /root/.gitconfig | |
cp -r /home/.conda_envs/nerfstudio /opt/conda/envs/ | |
( | |
cd /home/nerfstudio | |
git pull | |
) |
This file contains 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
#!/bin/env bash | |
cp -r /home/.ssh /root/ | |
#cp -r /home/.conda_envs/nerfstudio /opt/conda/envs/ | |
cp -r /home/.conda_envs/snerg3.8 /opt/conda/envs/ | |
#( | |
# cd /home/nerfstudio | |
# git pull | |
#) |
This file contains 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
#!/bin/sh | |
cd /notebooks/dl_experiments | |
git add . | |
git commit -m "Commit" | |
git push origin master | |
cd /notebooks/web | |
git add . | |
git commit -m "Commit" |
This file contains 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
#!/bin/sh | |
# run it from /storage/pre_run.sh in paperspace fastai container | |
# setup git user | |
git config --global user.email "misza222@gmail.com" | |
git config --global user.name "Michal Pawlowski" | |
# download and setup cmd utils |
This file contains 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
------------------------------------------------- | |
nench.sh v2017.06.01 -- https://git.io/nench.sh | |
benchmark timestamp: 2018-02-28 16:17:56 UTC | |
Digital Ocean 4 GB 2 vCPUs 25 GB 5 TB $40/mo | |
------------------------------------------------- | |
Processor: Intel(R) Xeon(R) Platinum 8168 CPU @ 2.70GHz | |
CPU cores: 2 | |
Frequency: 2693.674 MHz | |
RAM: 3.9G |
This file contains 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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ |
This file contains 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
import signal | |
import time | |
class TimeOut(): | |
""" | |
TimeOut for *nix systems | |
""" | |
class TimeOutException(Exception): | |
pass | |
This file contains 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
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | |
# changes incompatibly | |
LCONF_VERSION = "6" | |
BBPATH = "${TOPDIR}" | |
BBFILES ?= "" | |
BBLAYERS ?= " \ | |
/usr/local/storage/misza/yocto/galileo_iot-devkit/iotdk_src_140220/meta \ | |
/usr/local/storage/misza/yocto/galileo_iot-devkit/iotdk_src_140220/meta-oe \ |
NewerOlder