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
| # Fix date time of files and subdirectories inside the specified directory | |
| find ~/dir -print -exec touch -m {} \; | |
| # Generate a video with a still image and audio | |
| ffmpeg -r 1 -loop 1 -i bg.jpg -i audio.mp3 -c:v libx264 -tune stillimage -c:a copy -pix_fmt yuv420p -shortest still_img_vid.mp4 | |
| # Trim videos in hours:minutes:seconds format | |
| ffmpeg -i video.mp4 -ss 00:01:00 -to 00:03:05 -c copy trimmed_video.mp4 | |
| # Get ssh public key from a private key |
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
| /talent n 10 | |
| /talent e 10 | |
| /talent q 10 | |
| /stat lock cdr 1 | |
| /stat lock atk 9999999 | |
| /stat lock crate 1 | |
| /stat lock cdmg 9999999 | |
| /stat lock eanemo 1 | |
| /stat lock ecryo 1 | |
| /stat lock edend 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
| for file in $(<files.txt); do cp file_clone_source "$file"; done |
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 | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: audnorm <path>" | |
| exit 1 | |
| fi | |
| out="${1%.*}.normalized.mp3" | |
| ffmpeg -i "$1" -ab 192k -af "volume=6.0dB" "$out" |
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
| // ==UserScript== | |
| // @name Fullscreen Landscape | |
| // @namespace https://kairusds.js.org/ | |
| // @version 0.1 | |
| // @description Fix Chrome mobile fullscreen orientation | |
| // @author kairusds | |
| // @match http://*/* | |
| // @match https://*/* | |
| // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
| // @grant none |
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 | |
| if [ -z "$ANDROID_NDK" ]; then | |
| echo "Please set ANDROID_NDK to the Android NDK folder" | |
| exit 1 | |
| fi | |
| #Change to your local machine's architecture | |
| HOST_OS_ARCH=linux-x86_64 | |
| function configure_ffmpeg { |
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
| ssh-keygen -t rsa -m PEM |
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
| // ==UserScript== | |
| // @name eruda | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.3 | |
| // @description Console for mobile browsers | |
| // @author kairusds | |
| // @include http://* | |
| // @include https://* | |
| // @require https://cdnjs.cloudflare.com/ajax/libs/eruda/3.2.2/eruda.min.js | |
| // @icon https://www.google.com/s2/favicons?domain=greasyfork.org |
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 | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: fleeter FILE\n" | |
| exit 1 | |
| fi | |
| VIDEO=$1 | |
| LEN=$(ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$VIDEO") |
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 | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: dt <path>" | |
| exit 1 | |
| fi | |
| out="${1%.*} 1.5x.mp3" | |
| ffmpeg -i "$1" -ab 192k -af atempo=1.5 "$out" |