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 | |
# add this script to crontab | |
# crontab -e | |
# 0 0 * * * /path/to/compress.sh /path/to/directory /path/to/output | |
# List of files and directories to omit | |
OMIT_LIST=( | |
"vendor/" | |
"node_modules/" |
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 | |
while true; do | |
protonvpn c -r -p udp # connect to random udp | |
protonvpn s | |
command & # run in background | |
sleep 900 | |
kill $! # kill last process | |
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
<?php | |
use App\Nova\User; | |
use Illuminate\Database\Eloquent\Collection; | |
use Laravel\Nova\Fields\Select; | |
class Bla { | |
public function inspectorFields() | |
{ | |
/** @var User $user */ |