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/sh | |
test_command() { | |
eval $1 | |
RET=$? | |
echo "" | |
if [ $RET -eq 0 ]; then | |
echo "COMMAND OK: $1" | |
else | |
echo "COMMAND FAILED: $1" |
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
#!/usr/bin/env python3 | |
__author__ = "Will Dizon" | |
__license__ = "Public Domain" | |
__version__ = "0.0.1" | |
__email__ = "[email protected]" | |
import numpy as np | |
from scipy.stats import hypergeom | |
from collections import Counter |
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
#!/usr/bin/env python3 | |
from collections import namedtuple, defaultdict | |
Coord = namedtuple('Coord', 'x y z') | |
def byte_to_coord(bytestr, start_pos): | |
x = slice(start_pos+0, start_pos+4) | |
z = slice(start_pos+4, start_pos+8) | |
y = slice(start_pos+8, start_pos+12) |
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 | |
# Currently known-working with Fedora 33 | |
#brave | |
dnf install -y dnf-plugins-core | |
dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/x86_64/ | |
rpm --import https://brave-browser-rpm-release.s3.brave.com/brave-core.asc | |
dnf install -y brave-browser |
OlderNewer