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
| #!/data/data/com.termux/files/usr/bin/bash | |
| #Based on https://github.com/termux/termux-app/issues/77 | |
| export PREFIX='/data/data/com.termux/files/usr' | |
| export HOME='/data/data/com.termux/files/home' | |
| export LD_LIBRARY_PATH='/data/data/com.termux/files/usr/lib' | |
| export PATH="/data/data/com.termux/files/usr/bin:/data/data/com.termux/files/usr/bin/applets:$PATH" | |
| export LANG='en_US.UTF-8' | |
| export SHELL='/data/data/com.termux/files/usr/bin/bash' | |
| export BIN='/data/data/com.termux/files/usr/bin' | |
| export TERM=screen |
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
| # open terminal | |
| cmd - return : open -n -a kitty.app | |
| # open chrome | |
| cmd + shift - return : open -n -a "Google Chrome" | |
| # moves focus between windows in the current focused display | |
| alt - h : yabai -m window --focus west | |
| alt - j : yabai -m window --focus south | |
| alt - k : yabai -m window --focus north |
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 | |
| PREFIX=$1 | |
| mkdir -p $PREFIX/Ardour6.app/Contents/MacOS | |
| mkdir -p $PREFIX/Ardour6.app/Contents/Resources | |
| sed -e "s?@ENV@??g" \ | |
| -e "s?@VERSION@?6?g" \ | |
| -e "s?@INFOSTRING@??g" \ | |
| -e "s?@IDSUFFIX@?Ardour6?g" \ | |
| -e "s?@BUNDLENAME@?Ardour6?g" \ | |
| -e "s?@EXECUTABLE@?Ardour6?g" < Info.plist.in > $PREFIX/Ardour6.app/Contents/Info.plist |
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
| # now if i could figure out how to get audio to output.... | |
| # filters cobbled together from https://ffmpeg.org/ffmpeg-filters.html and | |
| # https://amiaopensource.github.io/ffmpeg-artschool/scripts.html#audioviz | |
| ffplay -f lavfi \ | |
| 'amovie=/path/to/some.mp3, | |
| asplit=3[a1][a2][a3]; | |
| [a1] | |
| showcqt=fps=30:s=hd720 | |
| [out1]; |
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 Hcaptcha Solver with Browser Trainer(Automatically solves Hcaptcha in browser) | |
| // @namespace Hcaptcha Solver | |
| // @version 10.0 | |
| // @description Hcaptcha Solver in Browser | Automatically solves Hcaptcha in browser | |
| // @author Md ubeadulla | |
| // @match https://*.hcaptcha.com/*hcaptcha-challenge* | |
| // @match https://*.hcaptcha.com/*checkbox* | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_setValue |
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 bf2afa54a7dec731832e487a546966be24ed74ae Mon Sep 17 00:00:00 2001 | |
| From: Eric Wong <[email protected]> | |
| Date: Thu, 16 Jun 2016 02:38:00 +0000 | |
| Subject: coreaudio: fix device name truncation | |
| Not tested by me. | |
| Thanks to [email protected] on the sox-devel mailing list. | |
| ref: |
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
| // taken from Patrick Brosset's entry located at | |
| // https://devtoolstips.org/tips/en/download-all-images | |
| // hosting here for postierity/to help ppl who might not have the google-fu | |
| // to find it | |
| $$('img').forEach(async (img) => { | |
| try { | |
| const src = img.src; | |
| // Fetch the image as a blob. |
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 hCAPTCHA solver | |
| // @namespace hCAPTCHA solver | |
| // @version 1.0 | |
| // @description Automatically solves hCAPTCHAs in browser | |
| // @author Abdul Rehman Sheikh - engageub | |
| // @licence MIT | |
| // @match *://*/* | |
| // @grant GM_xmlhttpRequest | |
| // @grant GM_setValue |
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 | |
| ############################################################################### | |
| # you'll need to install pyzmq via `pip install pyzmq` | |
| ############################################################################### | |
| import cmd | |
| import sys | |
| import zmq |
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
| ################################################################################ | |
| # makes a 15 fps gif of a video file of *any length* so be sure you trim first | |
| ################################################################################ | |
| function mkgif { | |
| local -r _mov="${1}"; | |
| local -r _gif="${2:-${$(basename ${_mov})%%.*}}.gif"; | |
| palette="/tmp/palette.png" | |
| filters="fps=15,scale=320:-1:flags=lanczos" |