This file contains 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
{ | |
"watermark": { | |
"image": "MovielalaLogo" | |
} | |
} |
This file contains 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 bash | |
MONO_HOME="/Library/Frameworks/Mono.framework" | |
MONO="$MONO_HOME/Versions/3.12.1/bin/mono" | |
if [ ! -d "$MONO_HOME" ]; then | |
echo "You don't have Mono installed. Please install version 3.12.1 from its official website." >&2 | |
exit 1 | |
fi |
This file contains 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
# http://www.nateware.com/linux-network-tuning-for-2013.html | |
# Increase Linux autotuning TCP buffer limits | |
# Set max to 16MB for 1GE and 32M (33554432) or 54M (56623104) for 10GE | |
# Don't set tcp_mem itself! Let the kernel scale it based on RAM. | |
net.core.rmem_max = 16777216 | |
net.core.wmem_max = 16777216 | |
net.core.rmem_default = 16777216 | |
net.core.wmem_default = 16777216 | |
net.core.optmem_max = 40960 |
This file contains 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 path from 'path'; | |
import { exec } from 'child_process'; | |
import fse from 'fs-extra'; | |
import glob from 'glob-promise'; | |
import pLimit from 'p-limit'; | |
const imagesPath = path.resolve('./assets/svg'); | |
const outputPath = path.resolve('./assets/images'); | |
const concurrency = 2; // File count only. Actual parallelism is three times this. |
This file contains 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 bash | |
#killall usbaudio | |
killall scrcpy | |
#usbaudio & | |
scrcpy -m 1515 --max-fps 30 -f |