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 | |
# Check if the callsign argument is provided | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <callsign>" | |
exit 1 | |
fi | |
CALLSIGN="$1" | |
SANITIZED_CALLSIGN=$(echo "$CALLSIGN" | sed 's/[\/:*?"<>|]/_/g') |
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/sh | |
#extract related files and folders to users home dir and run this script. with nochroot available environment. config file, logs dir and web dir must be on users home. | |
echo "Killing aprs now!" | |
sleep 1 | |
killall -9 aprsc | |
nohup /usr/local/sbin/aprsc -f /usr/CRAP/piju/aprsc.conf -p /usr/CRAP/piju/aprsc/logs/aprsc.pid -o /usr/CRAP/piju/aprsc/logs/aprsc.log | |
echo "aprsc restarted!" |
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
#include <stdio.h> | |
#include <math.h> | |
int main() | |
{ | |
float a,b,c; | |
float BMI; | |
printf("Please enter your weight:"); | |
scanf("%f",&a); |
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
wget -q http://www.amsat.org/amsat/ftp/keps/current/nasabare.txt && /spider/perl/convkeps.pl -p nasabare.txt && rm -rf nasabare.txt && | |
wget -O https://www.country-files.com/cty/cty.dat -P /spider/local_data/ && wget -O https://www.country-files.com/cty/wpxloc.raw -P /spider/local_data/ && | |
/spider/perl/create_prefix.pl |
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 | |
echo 'Downloading CTY.DAT' | |
wget -q https://www.country-files.com/cty/cty.dat -P ~/spider/local_data/ | |
echo 'Downloading WPXLOC.RAW' | |
wget -q https://www.country-files.com/cty/wpxloc.raw -P ~/spider/local_data/ | |
echo 'Creating Prefixes' | |
~/spider/perl/create_prefix.pl | |
echo '' | |
echo 'Log into the cluster as Sysop and type: load/prefix' | |
read -n 1 -r -s -p $'Press [Enter] to login as Sysop...\n' |
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
Blok Youtube Web | |
^.+(youtube).*$|a.youtube.com|b.youtube.com|c.youtube.com|d.youtube.com|e.youtube.com|f.youtube.com| g.youtube.com|h.youtube.com|i.youtube.com|j.youtube.com|l.youtube.com|googlevideo.com|m.youtube.com|(facebook.com).*$ | |
Blok Youtube App | |
^.+(youtube.com|www.youtube.com|m.youtube.com|ytimg.com|s.ytimg.com|ytimg.l.google.com|youtube.l.google.com|i.google.com|googlevideo.com|youtu.be).*$ | |
/ip firewall layer7-protocol | |
add name=YouTube regexp="^.+(youtube.com|youtube.com|www.youtube.com|m.youtube.com|ytimg.com|s.ytimg.com|ytimg.l.google.com|youtube.l.google.com|i.google.com|googlevideo.com|youtu.be|www.youtube.com|m.youtube.com|ytimg.com|s.ytimg.com|ytimg.l.google.com|youtube.l.google.com|i.google.com|googlevideo.com|youtu.be).*$" |