Nate Bohman
7f25bd9d03
Add Reset Inst for PCI & Update Python Install
Reset a PCI device and update python installation with additional
dependencies
пре 3 година
Nate Bohman
04a80c11f3
Add auditctl Example
This command allows you to watch a file for changes.
пре 3 година
Nate Bohman
a02b62c60b
Add MongoDB Compact All Commands
Not a fully running script but useful for compacting MongoDB databases.
пре 3 година
Nate Bohman
1718485c51
Add HomeAssisstant Binary Sensor Screensaver
Curl command showing example update of a Homeassistant binary sensor.
пре 4 година
Nate Bohman
36dcc58e7f
Add Screensaver Start/End Scripts
Things like suspending heavy applications and updating status in
Homeassistant
пре 4 година
Nate Bohman
7c803816b7
Fix Typo
Forgot quotes in if statement.
пре 4 година
Nate Bohman
cb44f029e4
Add Firefox MPRIS Playback Status Script
Get the playback status from Firefox via the MPRIS D-Bus interface
пре 4 година
Nate Bohman
561de3ce1f
Add TitleCase Typescript Schnippet
This allows you to convert a string to titlecase.
пре 4 година
Nate Bohman
77408dc423
Add MongoDB Compact Example
Force MongoDB to release disk space from a collection after documents
have been deleted.
пре 4 година
Nate Bohman
b07c46c161
Add Python Faulthandler Example
Debug segmentation faults when they occur.
пре 4 година
Nate Bohman
e99f6053a1
Fix _has_[gs]etter in Auto KWArgs
Need to check if f[gs]et is not None.
пре 4 година
Nate Bohman
1fb99792be
Add Auto KWArgs Class
Automatically set setters in class with kwargs passed to __init__
пре 4 година
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 година
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 година
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 година
Nate Bohman
60bbf1cf93
Adding Correct Weeknumbers
Bash script to output week number as 01 to 52 or 53 depending on the
year
пре 5 година
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 година
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 година
Nate Bohman
76a11e96cc
Adding DNS Lookup Python Schnippets
Adding IP to Hostname and Hostname to IP via the socket library.
пре 5 година
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 година
Nate Bohman
7d6e9145bc
Adding Python Clamp Function
Clamp a number between a max and a min.
пре 5 година
Nate Bohman
b7f0a266db
Adding Wipe FS Signature
Found this while configuring OpenWRT for the GL-AR750S
пре 5 година
Nate Bohman
4e7a2b1954
Adding Resparsify and Find Symlink Dest
A couple more useful commands
пре 5 година
Nate Bohman
60f59d4469
Adding OpenConnect Override Scripts
Adding OpenConnect no-dtls override scripts which are necessary for
the broken VPN servers at Overstock.
пре 5 година
Nate Bohman
869b17f4fc
Adding NFS Stale Handle Check and XFS Reflinks
A couple new schnippets for the collection.
пре 5 година
Nate Bohman
93339c964d
Adding export_gpg_key
пре 5 година
Nate Bohman
bbde1f33c7
Minor changes to debootstrap Live ISO
Adding an apt purge and changing and echo to a cat.
пре 5 година
Nate Bohman
04aaec7251
Adding FA Bezel Dongle LED Control Script
Wrote a nicer script in Python to control the FA Bezel Dongle LEDs
пре 5 година
Nate Bohman
f31435c765
Adding some packages to debootstrap live ISO
A few more packages to the list in debootstrap live ISO script
пре 5 година
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.
пре 5 година
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 година
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 година
Nate Bohman
37ddde808c
Adding loopback commands
Common loopback device commands. Useful for dealing with filesystems
in a file.
пре 6 година
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 година
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 година
Nate Bohman
226b8b480d
Adding to README
Adding an additional information line to the README file.
пре 6 година
Nate Bohman
8ff59bb0b0
Initial commit
пре 6 година