some great introduction text here.
- First Part working
- Second,,, Part working
- Lorem Ipsum working
- Short Lorem working
- Reverse Lorem working
some great introduction text here.
💻 => the device running adb
(usually a PC)
📱 => the device where Magisk is going to be installed (usually a Phone or Tablet)
#!/bin/bash | |
ROOT_DIRECTORY=`basename "$(pwd)"` | |
ARGUMENTS_NR=$# | |
ARGUMENTS=$@ | |
yt-dlp-mkdir () { | |
for i in $ARGUMENTS | |
do | |
declare -a DIRECTORY="(`basename $i | tr "-" " "`)" |
#!/bin/bash | |
# put current clipboard in a variable | |
XCLIP_CLIPBOARD="$(xclip -o -selection clipboard)" | |
XCLIP_SELECTION=$XCLIP_CLIPBOARD | |
if [ $# -ge 1 ] | |
then | |
# print the initial string aka the current clipboard | |
echo "=> 1st string: $XCLIP_CLIPBOARD" |
#!/bin/bash | |
for ((COUNTER=1; COUNTER>0; COUNTER++)) | |
do | |
echo "$(date +%c) => Test nr: $COUNTER" && \ | |
speedtest-cli 2>/dev/null | grep -E "^Download|^Upload" | |
done |
#!/bin/bash | |
IFS=$'\n' | |
ARGUMENTS=$# | |
GAME_ZIP="$1" | |
GAME_NOZIP="${GAME_ZIP%.zip}" | |
GAME_NODISC="${GAME_NOZIP% *isc*}" | |
GAME_DIR=$GAME_NODISC | |
DISC=1 |
#!/bin/bash | |
HOU=0 | |
MIN=0 | |
SEC=0 | |
if [[ $# -ge 4 ]] | |
then | |
echo "Please provide from 0 to a maximum of 3 arguments" | |
exit 1 |
#!/bin/bash | |
if [ $# = 1 ] | |
then | |
LIST=`ls | grep -i "$1" | sed -e "s/^/file '/" -e "s/$/'/"` | |
if [[ -f list ]] | |
then | |
read -p "Do you want to overwrite the already existing 'list' file? (y/N) " yn | |
case $yn in | |
[yY]* ) echo -e "\nOverwriting already existing 'list' file with the following content:\n" |
#!/usr/bin/env python3 | |
import re | |
import sys | |
import subprocess | |
try: | |
file_to_crop = sys.argv[1] | |
except: | |
print("Please provide a video file.") |
if [ $# -ne 0 ] | |
then | |
for VIDEO in "$@" | |
do | |
VIDEO_NAME=$(echo "$VIDEO" | cut -d. -f1) | |
VIDEO_x265="$VIDEO_NAME".x265.mp4 | |
ffmpeg -i "$VIDEO" -c:v libx265 "$VIDEO_x265" \ | |
&& RESULT="$RESULT$(\ | |
echo "Successfully converted -> $VIDEO_NAME" && \ | |
echo " original: %2s $(ls -lh "$VIDEO" | cut -d' ' -f5)" && \ |