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 | |
# Start timer | |
start=$SECONDS | |
# Verbose and safe | |
set -xe | |
# Display | |
echo "#!/bin/sh |
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 | |
cd ~/Downloads/Destreamer/destreamer/ | |
./destreamer.sh --skip -v -k -i "$1" --format mp4 --vcodec libx265 -o ../ |
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 | |
# Exit if error | |
set -e | |
# My cam | |
WEBCAM="~/Projects/ipwebcam-gst/run-videochat.sh -w 1920 -h 1080" | |
# Unsure | |
case "$1" in |
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 importlib import import_module | |
from importlib.util import spec_from_file_location, module_from_spec | |
from sys import modules | |
from os.path import dirname, abspath, isfile | |
from re import compile | |
from os import PathLike | |
from types import ModuleType | |
from typing import Union, Any, TypeVar, List, Optional | |
_string_type = Union[str, bytes] |
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
############ | |
# Settings # | |
############ | |
background yes | |
use_xft yes | |
xftfont GE Inspira:size=9 | |
xftalpha 1 | |
update_interval 1.0 | |
total_run_times 0 | |
own_window yes |
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
/* Center line thickness (pixels) */ | |
#define C_LINE 1 | |
/* Width (in pixels) of each bar */ | |
#define BAR_WIDTH 4 | |
/* Width (in pixels) of each bar gap */ | |
#define BAR_GAP 2 | |
/* Outline color */ | |
#define BAR_OUTLINE #262626 | |
/* Outline width (in pixels, set to 0 to disable outline drawing) */ |