This file contains 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 | |
# This snippet converts .webp images into another image format | |
# (.jpg, .png etc...) | |
# | |
# This assumes you already have libwebp installed | |
# The converted files are stored in the same folder unless another is given | |
# | |
# Usage: | |
# sh webpconvert.sh /path/to/files |
This file contains 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 | |
# Let's Encrypt ACME Client certificate auto-updater for OpenBSD | |
# This file can be added to /etc/daily.local to make it run each day | |
# Location of your ACME domains configuration for Let's Encrypt | |
CONF="/etc/acme-client.conf" | |
# Create a temporary file | |
$TMP=`mktemp -t domains.XXXXXXXXXX` || exit 1 |
This file contains 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 | |
apt-get update && apt-get dist-upgrade && sudo apt-get clean | |
exit |
This file contains 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 | |
# This is an OpenBSD compatible shell script using the ftp utility | |
# to download the latest Spamhaus DROP list IP ranges and create a | |
# pf compatible IP list | |
# Files (make sure the PFDROP file actually exists) | |
PFDROP=/etc/blocklists/spamhaus | |
# Lists |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Delete confirmation</title> | |
<style> | |
body { font: 400 1em sans-serif; background: #f9f9ff; color: #444; } | |
label { | |
cursor: pointer; | |
} |
This file contains 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
#--------------------------------------------- | |
# TINT2 CONFIG FILE | |
#--------------------------------------------- | |
# For more information about tint2, see: | |
# http://code.google.com/p/tint2/wiki/Welcome | |
# | |
# For more config file examples, see: | |
# http://bunsenlabs.org/topic/3232/my-tint2-config/ | |
# Background definitions |
This file contains 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
# For commands above TEXT check: | |
# http://conky.sourceforge.net/config_settings.html | |
# | |
# For commands available below TEXT check: | |
# http://conky.sourceforge.net/variables.html | |
# Bunsen Labs Conky help threads | |
# http://crunchbang.org/forums/viewtopic.php?pid=371424#p371424 | |
# beta tested by: smacz |
This file contains 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 | |
# Decrypt a file using the specified private key | |
# Encrypted file | |
ENCF=$1 | |
# Private key | |
PRVK=$2 | |
# Decrypted file (defaults to the decrypted file name + ".decrypted") |
This file contains 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 | |
# Encrypt a file using the specified public key | |
# Source file | |
SRCF=$1 | |
# Public key | |
PUBK=$2 | |
# Encrypted file (defaults to the encrypted file name + ".encrypted") |
This file contains 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 | |
# Verify a signed file with the specified public key | |
# Signature file | |
SRCF=$1 | |
# Public key location | |
PUBK=$2 | |
# Signature algorithm (defaults to SHA-512) |
NewerOlder