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 | |
# 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
#!/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
# 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 \ |
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
(AL|Alabama|AK|Alaska|AZ|Arizona|AR|Arkansas|CA|California|CO|Colorado|CT|Connecticut|DE|Deleware|FL|Florida|GA|Georgia|HI|Hawaii|ID|Idaho|IL|Illinois|IN|Indiana|IA|Iowa|KS|Kansas|KY|Kentucky|LA|Louisiana|ME|Maine|MD|Maryland|MA|Massachusetts|MI|Michigan|MN|Minnesota|MS|Mississippi|MO|Missouri|MT|Montana|NE|Nebraska|NV|Nevada|NH|New Hampshire|NJ|New Jersey|NM|New Mexico|NY|New York|NC|North Carolina|ND|North Dakota|OH|Ohio|OK|Oklahoma|OR|Oregon|PA|Pennsylvania|RI|Rhode Island|SC|South Carolina|SD|South Dakota|TN|Tennessee|TX|Texas|UT|Utah|VT|Vermont|VA|Virginia|WA|Washington|WV|West Virginia|WI|Wisconsin|WY|Wyoming|AS|American Samoa|DC|District Columbia|District of Columbia|GU|Guam|MP|Northern Mariana Islands|PR|Puerto Rico|VI|United States Virgin Islands|Virgin Islands) |
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
misza@localhost$ git push heroku master | |
! App git repo is being migrated. Please try again later. | |
fatal: The remote end hung up unexpectedly |
NewerOlder