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
#!/usr/bin/env python3 | |
# A sample code to have a tarfile extraction handle a progress callback | |
# tarfile must handle gz, bz2 & xz files transparently | |
# Author: pavelmc@gmail.com | |
# Title: tar extraction with progress bar | |
import io | |
import os | |
import tarfile |
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/bash | |
# ** Goal ** | |
# Update the init script of the skywire services running on this pc to | |
# fix a bug (https://github.com/skycoin/skywire/issues/80) | |
# | |
# ** Why? ** | |
# A few time ago the dev team changed the skywire code to make it more | |
# portable using dynamic paths (learning for the environment, that's | |
# the right way to doit) But the image was still configured in a static | |
# way and that break the nodes once you update the skywire code. |
NewerOlder