Nate Bohman
7c803816b7
Fix Typo
Forgot quotes in if statement.
4 anos atrás
Nate Bohman
cb44f029e4
Add Firefox MPRIS Playback Status Script
Get the playback status from Firefox via the MPRIS D-Bus interface
4 anos atrás
Nate Bohman
561de3ce1f
Add TitleCase Typescript Schnippet
This allows you to convert a string to titlecase.
4 anos atrás
Nate Bohman
77408dc423
Add MongoDB Compact Example
Force MongoDB to release disk space from a collection after documents
have been deleted.
4 anos atrás
Nate Bohman
b07c46c161
Add Python Faulthandler Example
Debug segmentation faults when they occur.
4 anos atrás
Nate Bohman
e99f6053a1
Fix _has_[gs]etter in Auto KWArgs
Need to check if f[gs]et is not None.
4 anos atrás
Nate Bohman
1fb99792be
Add Auto KWArgs Class
Automatically set setters in class with kwargs passed to __init__
4 anos atrás
Nate Bohman
a21c1ad5e4
Add GPG De-Armor From Jitsi
Jitsi meet provided the one liner to accept an armored GPG key and
create the gpg file from it.
4 anos atrás
Nate Bohman
bf1ac76fcf
Update Install Python Versions
Need to use Python3-OpenSSL instead of python-openssl and remove Python2
as it's not useful anymore.
4 anos atrás
Nate Bohman
0a6cfea0b0
Adding install_python_versions from Stocker
Modified the Stocker multi-python Dockerfile to enable it to be
installed on multiple systems, removed Python 2.7 which is apparently
now broken, and added Python 3.8 which has now been released.
4 anos atrás
Nate Bohman
60bbf1cf93
Adding Correct Weeknumbers
Bash script to output week number as 01 to 52 or 53 depending on the
year
5 anos atrás
Nate Bohman
a545c3b958
Adding FPSync and Rsync Examples
Found some good arguments for these commands and am including
examples in case I need to use them later.
5 anos atrás
Nate Bohman
a670e7cd0b
Add Python Timeout Decorator Schnippet
Adding in the Timeout decorator I found in a Stackoverflow answer
that allows you to set a timeout for any other callable.
5 anos atrás
Nate Bohman
76a11e96cc
Adding DNS Lookup Python Schnippets
Adding IP to Hostname and Hostname to IP via the socket library.
5 anos atrás
Nate Bohman
5da711ac5c
Adding Some Useful SystemD Units
I use these kinds of things all the time when creating services,
timers, and mountpoints so I should keep them in the repo.
5 anos atrás
Nate Bohman
7d6e9145bc
Adding Python Clamp Function
Clamp a number between a max and a min.
5 anos atrás
Nate Bohman
b7f0a266db
Adding Wipe FS Signature
Found this while configuring OpenWRT for the GL-AR750S
5 anos atrás
Nate Bohman
4e7a2b1954
Adding Resparsify and Find Symlink Dest
A couple more useful commands
5 anos atrás
Nate Bohman
60f59d4469
Adding OpenConnect Override Scripts
Adding OpenConnect no-dtls override scripts which are necessary for
the broken VPN servers at Overstock.
5 anos atrás
Nate Bohman
869b17f4fc
Adding NFS Stale Handle Check and XFS Reflinks
A couple new schnippets for the collection.
5 anos atrás
Nate Bohman
93339c964d
Adding export_gpg_key
6 anos atrás
Nate Bohman
bbde1f33c7
Minor changes to debootstrap Live ISO
Adding an apt purge and changing and echo to a cat.
6 anos atrás
Nate Bohman
04aaec7251
Adding FA Bezel Dongle LED Control Script
Wrote a nicer script in Python to control the FA Bezel Dongle LEDs
6 anos atrás
Nate Bohman
f31435c765
Adding some packages to debootstrap live ISO
A few more packages to the list in debootstrap live ISO script
6 anos atrás
Nate Bohman
c768d69d38
GRUB and Live ISO
Adding some Bash command references for installing GRUB with EFI and
cryptodisk as well as a reference for setting up a live Debian ISO.
6 anos atrás
Nate Bohman
78fef5dc0b
Wireguard Unbound Helper Scripts
host-add-static-route
Adds a static route to a host that may be on the other side of a
Wireguard tunnel. If a static route is not created, Wireguard may
attempt to connect to the host running Wireguard over the Wireguard
tunnel itself instead of across the Internet. Adding a static route
to the Wireguard host on tunnel creation prevents this situation.
unbound-host-add-local
Adds a local-data section to Unbound for the Wireguard host just in
case Unbound is connecting to a DNS server for a domain that is on
the other side of the tunnel. e.g. wg.natrinicle.com should be
retrieved from external DNS servers while all other natrinicle.com
subdomains should come from 192.168.0.1 which is only available after
the tunnel is up.
6 anos atrás
Nate Bohman
67be523373
Adding truncate sparse file
Found the truncate command which is much easier than DD and also
creates a sparse file or resizes a sparse file larger or smaller.
6 anos atrás
Nate Bohman
37ddde808c
Adding loopback commands
Common loopback device commands. Useful for dealing with filesystems
in a file.
6 anos atrás
Nate Bohman
10205bd258
Adding ascii_only and dd sparse file
Creating sparse files for loopback images can be done with the dd
command. The ascii_only strips all non-ascii characters out of a
string.
6 anos atrás
Nate Bohman
3d575a3e1b
First Round of Useful Files
Things like vimrc that I use everywhere, my current .bash_aliases,
a complicated imapfilter config from PureStorage, and a BASH script
that writes out to a log file and the stdout/stderr at the same time.
6 anos atrás
Nate Bohman
226b8b480d
Adding to README
Adding an additional information line to the README file.
6 anos atrás
Nate Bohman
8ff59bb0b0
Initial commit
6 anos atrás