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/sh | |
# | |
# duckdns.sh -d <domain[,...,domain]> -t <token> [clear|noverify] [force] | |
# noverify - Don't fail if public inet address can't be bound to the router | |
# because of modem+gateway combos forced on you by shitty ISPs. | |
# CAUTION: It's best if your NAT is 1:1 or you at least have some control | |
# over port forwarding, or DDNS isn't going to be as useful... | |
# force - Always update, even if the logs indicate no change is necessary | |
# clear - Not allowed with or "noverify" | |
# |
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/sh | |
_bsdl=' | |
Copyright (c) 2021, [email protected] | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, | |
this list of conditions and the following disclaimer in the documentation |
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
# Some history manipulations for Korn shells. Potential side effects unknown. | |
# The idea is that I don't want to commit to having a separate history file | |
# for EVERY interactive shell or deal with merging per-instance histories back | |
# into the main history, but sometimes it's nice to have a different history | |
# in the current shell instance (tty, xterm, whatever) | |
# history+ Increment the command history file version | |
# history- Decrement the command history file version | |
# historyoff Enter subshell with no command history | |
# historyon Cancel historyoff (exit subshell) |
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/sh | |
_bsdl=' | |
Copyright (c) 2021, [email protected] | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, | |
this list of conditions and the following disclaimer in the documentation |
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
'Copyright (c) 2018, [email protected] | |
'All rights reserved. | |
'Redistribution and use in source and binary forms, with or without | |
'modification, are permitted provided that the following conditions are met: | |
'1. Redistributions of source code must retain the above copyright notice, this | |
' list of conditions and the following disclaimer. | |
'2. Redistributions in binary form must reproduce the above copyright notice, | |
' this list of conditions and the following disclaimer in the documentation | |
' and/or other materials provided with the distribution. | |
'THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
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/sh | |
bsdl=' | |
Copyright (c) 2018, [email protected] | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, |
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/sh | |
_bsdl=' | |
Copyright (c) 2017, [email protected] | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright notice, |
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/sh | |
# Use: xcleancache [-n] <function> | |
# -n: dry run (don't delete any files) | |
# Available functions: | |
# notinstalled: Remove all cached files for non-installed packages | |
# pruneme <x> : Remove all but the latest (x) obsolete versions from | |
# the cache for each package cached. | |
# By default, cache operated upon is at /var/cache/xbps, but this can be | |
# changed by passing the cachedir variable to 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
#!/bin/sh | |
_bsdl=' | |
Copyright (c) 2017, [email protected] | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, this | |
list of conditions and the following disclaimer. |