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 | |
# pythonx init | |
# pythonx -m pip install numpy | |
# pythonx script.py | |
function on_exit { | |
deactivate | |
} |
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/python3 | |
""" | |
Config-Util - Helper utility for shell scripts to read or modify | |
configuration files like .ini, .toml or .conf | |
Copyright (C) 2022 Jimmy Pramosi <[email protected]> | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or |
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
# tested only on ubuntu21.04 | |
import os | |
import sys | |
from ast import literal_eval | |
from configparser import ConfigParser | |
from glob import glob | |
from pathlib import Path | |
import fileinput | |
INIT_HOOK = """ |
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 -e | |
# | |
# update-ca-certificates-fix | |
# | |
# Copyright (c) 2003 Fumitoshi UKAI <[email protected]> | |
# Copyright (c) 2009 Philipp Kern <[email protected]> | |
# Copyright (c) 2021 jpramosi <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by |
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 | |
# Simple setup script for creating virtual machines with VirtualBox on Linux based operating systems. | |
# e.g: | |
# ./mkvm -n server -d 50000 -r 2048 -c 2 -o Ubuntu_64 -i ubuntu-20.04.3-live-server-amd64.iso | |
VM_INFO=`VBoxManage list systemproperties | grep folder` | |
VM_PATH=${VM_INFO##* } | |
NAME=; | |
SIZE=; | |
RAM=; | |
CPU=; |
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
import math | |
from enum import Enum | |
from threading import Thread, Lock | |
from time import sleep | |
from Xlib.display import Display | |
from Xlib import X | |
from Xlib.ext.xtest import fake_input | |
from Xlib.ext import record | |
from Xlib.protocol import rq |
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
/* | |
This is a modified version of https://github.com/MCHSL/sane-github/ | |
*/ | |
/* Header */ | |
.Header.py-md-0 { | |
margin: auto; | |
width: 69%; | |
} |