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
# split large file into 200MB | |
split -b 200m artofpostgresql.zip | |
# bring all together | |
cat * > onefile.zip |
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
scp hphs:~/deployed/corebank/containers/nginx/web-app/assets/env.js . | |
env.js 100% 1300 277.1KB/s 00:00 | |
scp env.js hphs:~/deployed/corebank/containers/nginx/web-app/assets/env.js | |
env.js |
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
https://www.haproxy.com/blog/how-to-run-haproxy-with-docker |
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
echo Y | docker system prune -a --volumes |
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
#!/bin/bash | |
if ! command -v openssl &> /dev/null; then | |
echo "'openssl' could not be found. Please install it" | |
exit 0 | |
else | |
if [ ! $1 ]; then | |
echo "Usage: 'source filename.sh password'" | |
else | |
# http://supervisord.org/configuration.html#unix_http_server |
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
#!/bin/bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo $DIR/stirs.sh |
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
[program:fs] | |
environment=DISPLAY=:0 | |
directory=/home/ichux/devcode/passon | |
numprocs=1 | |
user=ichux | |
stopwaitsecs=50 | |
command=bash -c "sleep 5 && python3 fullscreen.py" | |
redirect_stderr=false |
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
[program:myapp] | |
numprocs=5 | |
numprocs_start=01 | |
command=/usr/bin/python3 ./app_server.py 89%(process_num)02d | |
process_name=%(program_name)s_%(process_num)02d | |
priority=999 | |
autostart=true | |
autorestart=unexpected | |
startsecs=5 | |
startretries=3 |
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 json | |
import os | |
from django.core.wsgi import get_wsgi_application | |
from webob import Request | |
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mysite.settings") | |
application = get_wsgi_application() |
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
ffmpeg -i vokoscreenNG-2024-01-09_12-33-41.mkv -vn -acodec copy fidesic.mp3 |
NewerOlder