This file contains hidden or 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
# License: MIT | |
# | |
# This script repacks a wheel under "path/to/your/wheel" | |
# such that a "+myversion" suffix is added to the version. | |
# | |
# The new wheel is created in the directory specified by | |
# the path to "foo2 = WheelFile(...)" - it is optional, | |
# in case it's not given CWD is used. | |
# | |
# Use with wheelfile v0.0.7 |
This file contains hidden or 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 ubuntu:18.04 | |
run apt update | |
run apt install -y python3.8 python3-pip | |
run python3.8 -m pip install ipdb ipython | |
run echo '\ | |
import unittest\n\ | |
\n\ | |
\n\ | |
class Test(unittest.TestCase):\n\ |
This file contains hidden or 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 | |
function usage | |
{ | |
echo "Usage: $0 <-a addr> [-n iterations] [-nn count]" | |
exit 1 | |
} | |
# If not enough arguments show usage | |
if [[ $# -lt 1 ]] |