Skip to content

Latest commit

 

History

History
executable file
·
40 lines (27 loc) · 1 KB

README.md

File metadata and controls

executable file
·
40 lines (27 loc) · 1 KB

scripts

Miscellaneous scripts

File list:

  • usg-config-export.py Exports specified sections of a Ubiquiti Unified Service Gateway config into JSON

  • installdate.sh Attempts to determine installation date of a Linux, FreeBSD, Mac OS X, or Solaris system.

  • motto_clock.sh Adds a time themed motto to date output.

  • ceval.pl Compiles and executes C one-liners with gcc. Usage example: ./ceval.pl 'int a = 5 % 2 == 0 ? 1 : 0; printf("%d\n", a);'

  • maya_timestamp.py Converts UNIX timestamp to the Maya calendar date. Usage example: "./maya_timestamp.py $(date +%s)".

  • gost94sums.sh Creates GOST94 sums file in format analogous to the usual md5sums or sha1sums.

  • otpgen.pl Generates a PDF or plain text one time pad.

  • irclogmailer.sh Emails yesterday irssi logs to watchers.

  • randomfile Picks a random file from given directory.

  • sshforget Removes a line from SSH known_hosts.

  • all2pdf.sh gunzips and converts all DVI and PS files in a directory to PDF.