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 | |
set -e | |
### Configuration ### | |
SERVER=luca@example.com | |
REMOTE_FOLDER=my_folder | |
REMOTE_RESULTS=results | |
EXCLUDE_FILES="--exclude=.*\ | |
--exclude=build/" |
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 | |
### | |
# Send message to your telegram chat when something happens to a remote server. | |
# Before use the sript update the TOKEN and CHAT_ID variable with your data. | |
# | |
# Usage: | |
# tsend 'ALL DONE!' | |
# cat myfile.txt | tsend | |
# | |
# license: MIT |
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 random | |
import math | |
# Configure paths to your dataset files here | |
DATASET_FILE = 'data.csv' | |
FILE_TRAIN = 'train.csv' | |
FILE_VALID = 'validation.csv' | |
FILE_TESTS = 'test.csv' | |
# Set to true if you want to copy first line from main |