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
function listen() { | |
case "$1" in | |
"soma") | |
mplayer -playlist <(curl -s https://somafm.com/$2.pls) | |
;; | |
"bassdrive") | |
mplayer -playlist <(curl -s https://bassdrive.com/bassdrive.m3u) | |
;; | |
"ocean") | |
play -n synth brownnoise synth pinknoise mix synth sine amod 0.1 10 |
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
// /etc/port-forward.json dont forget to delete this line since comments are not valid JSON | |
// These are just sample values, obviously you'll want to change most of it | |
{ | |
"public-if": "enp5s0", | |
"port-forwards": { | |
"80": "10.5.0.80:80", | |
"443": "10.5.0.80:443", | |
"8443": "10.5.0.60:8443", | |
"5222": "10.5.0.198:5222", | |
"5269": "10.5.0.198:5269", |
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 | |
SWAPFILENAME=swapfile1 | |
SWAPPATH="/$SWAPFILENAME" | |
if [ ! -f "$SWAPPATH" ]; then | |
dd if=/dev/zero of="$SWAPPATH" bs=1024 count=1048576 | |
chown root:root "$SWAPPATH" | |
chmod 0600 "$SWAPPATH" | |
mkswap "$SWAPPATH" |
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
# To migrate you can use the command: | |
# git lfs migrate import --everything --include="*.psd,*.ico,*.webp,*.png,*.jpg,*.jpeg,*.gif,*.ai,*.tif,*.tga,*.exr,*.hdr,*.otf,*.ttf,*.woff2,*.aif,*.mp3,*.wav,*.ogg,*.mp4,*.mov,*.mkv,*.avi,*.mpeg,*.mpg,*.flv,*.3dm,*.3ds,*.blend,*.c4d,*.collada,*.dae,*.dxf,*.fbx,*.jas,*.lws,*.lxo,*.ma,*.max,*.mb,*.obj,*.dll,*.dylib,*.so,*.7z,*.br,*.gz,*.tar,*.zip,*.rar,*.pdf,*.a,*.rns,*.exe,*.pdb,*.mdb,*.skel.bytes" | |
# git push --force --all | |
# git reflog expire --expire-unreachable=now --all | |
# git gc --prune=now | |
# For more information: | |
# https://github.com/git-lfs/git-lfs/wiki/Tutorial | |
# https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-migrate.1.ronn | |
############################### |
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
import os | |
import subprocess | |
import time | |
import re | |
from pathlib import Path | |
# Set the path to your Godot project and Godot executable | |
GODOT_PROJECT_PATH = Path("myproject") | |
GODOT_EXECUTABLE = "godot" # or the path to your Godot executable | |
GODOT_LOG_FILE = Path("artifacts") / "godot_output.log" # Log file to store Godot output |
OlderNewer