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
from requests_html import HTMLSession | |
import requests | |
from bs4 import BeautifulSoup as bs # importing BeautifulSoup | |
import json | |
from IPython import embed | |
import time | |
import unicodedata | |
import re | |
def slugify(value): |
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
'''Highly Redundant AWS Glacier Multipart Uploader''' | |
from multiprocessing import Pool | |
import os | |
import time | |
import boto3 | |
import botocore.utils as utils | |
MEGA_BYTES = 1048576 | |
CHUNK_MB = 32 | |
FILE_PATH = "/mnt/c/Backup/Tim S8 Backup 2017-09-08.rar" |
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
### Keybase proof | |
I hereby claim: | |
* I am timvrakas on github. | |
* I am timvrakas (https://keybase.io/timvrakas) on keybase. | |
* I have a public key ASCxID4K8zJS5rtdzYsvKaJUovHuKponUa77uM4w-QDBVgo | |
To claim this, I am signing this object: |
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
~/.platformio/packages/toolchain-gccarmnoneeabi/bin/arm-none-eabi-g++ -o .pioenvs/test/firmware.elf -mfloat-abi=hard -mfpu=fpv4-sp-d16 -Os -mthumb -Wl,--gc-sections -Wl,--check-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -mcpu=cortex-m4 -Wl,-Tlib/ASF4/src/device/same51j20a_flash.ld .pioenvs/test/libbf5/ASF4/device/startup_same51.o .pioenvs/test/libbf5/ASF4/device/system_same51.o .pioenvs/test/libbf5/ASF4/hal/src/hal_adc_sync.o .pioenvs/test/libbf5/ASF4/hal/src/hal_atomic.o .pioenvs/test/libbf5/ASF4/hal/src/hal_cache.o .pioenvs/test/libbf5/ASF4/hal/src/hal_delay.o .pioenvs/test/libbf5/ASF4/hal/src/hal_ext_irq.o .pioenvs/test/libbf5/ASF4/hal/src/hal_gpio.o .pioenvs/test/libbf5/ASF4/hal/src/hal_i2c_m_sync.o .pioenvs/test/libbf5/ASF4/hal/src/hal_init.o .pioenvs/test/libbf5/ASF4/hal/src/hal_io.o .pioenvs/test/libbf5/ASF4/hal/src/hal_mci_sync.o .pioenvs/test/libbf5/ASF4/hal/src/hal_sleep.o .pioenvs/test/libbf5/ASF4/hal/src/hal_spi_m_sync.o .pioenvs/test/libbf5/ASF4/hal/sr |
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 csv | |
import os | |
from tqdm import tqdm | |
import requests | |
import shutil | |
def download_file(url, path): | |
r = requests.get(url, stream=False) | |
open(path, 'wb').write(r.content) |
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
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="/usr/local/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} 126" | |
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} 126" | |
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="/usr/local/VBoxCreateUSBNode.sh --remove $major $minor" | |
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="/usr/local/VBoxCreateUSBNode.sh --remove $major $minor" |
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
# Copyright (c) 2014 The crouton Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
## Filename: /etc/init/crouton.conf | |
## crouton chroot - Start session | |
## | |
## This will start a (crouton) chroot Desktop Environment session |