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 | |
if [[ ! -s /mnt/camera/DCIM ]] | |
then | |
echo "The camera must turned on & be attached to the computer" | |
echo "for this program to work" | |
echo | |
echo "Bye." | |
exit | |
fi |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
# this script: | |
# | |
# cleans out various directories | |
# one block for each thing to clean out | |
# |
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
#!/usr/bin/perl | |
# this is to perform any checks required before running qbittorrent | |
# | |
# | |
# do NOT recursively call this current script by mistake | |
use common::sense; | |
my $debug = 1; |
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 | |
# test the interface every X seconds, re-up it if it is down. | |
# Completely bugged: only tests that *a* or **any** interface is up | |
PING_TRY_ADDRESS="192.168.0.1" | |
INTER_TEST_SECS=60 | |
INTERFACE=$1 | |
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
WAITFOR=$1 | |
sleep 10; | |
while ps axg | grep -vw grep | grep -w "$WAITFOR" > /dev/null; | |
do | |
sleep 10; | |
#echo "waiting" |
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
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use POSIX; | |
use English qw( -no_match_vars ) ; | |
my $logFile = "/home/music/logging/musicListenedLog.log"; | |
use IO::All; | |
#this script : |
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
% use the microtype package | |
\usepackage[kerning=true, tracking=true]{microtype} | |
\microtypecontext{spacing=nonfrench} | |
% make a new command: say, compress{ } | |
\newcommand{\compress}[1]{\textsc{\textls[-40]{#1}}} | |
% use the command to compress the kerning in a script | |
\cvsite{\compress{github.com/AbsurdMagpieScrutinies}} % Personal website |
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
[MESSAGES CONTROL] | |
disable=const-name-hint, const-rgx, line-too-long |
NewerOlder