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
### Keybase proof | |
I hereby claim: | |
* I am herocc on github. | |
* I am herocc (https://keybase.io/herocc) on keybase. | |
* I have a public key whose fingerprint is C8A1 E2D4 7C35 AB1C 3028 8640 940E D79C FA12 2C1A | |
To claim this, I am signing this object: |
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 | |
# modified by jfro from http://www.cnysupport.com/index.php/linode-dynamic-dns-ddns-update-script | |
# Update: changed because the old IP-service wasn't working anymore | |
# Uses curl to be compatible with machines that don't have wget by default | |
# modified by Ross Hosman for use with cloudflare. | |
# To get your 'cfid' see http://kevo.io/code/2012/11/07/cloudflare-dynamic-dns/ | |
# | |
# Place at: | |
# /usr/local/bin/cf-ddns.sh | |
# run `crontab -e` and add next line: |
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 | |
rm $HOME/.updates | |
if [[ -d /usr/lib/update-notifier ]]; then | |
updates=$(/usr/lib/update-notifier/apt-check 2>&1) | |
update_mode='sec' | |
elif [[ $(which aptitude) ]]; then | |
updates=$(aptitude search '~U' | wc -l) | |
update_mode='total' | |
fi |
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
# GUI-related packages | |
pkgs="xserver-xorg-video-fbdev | |
xserver-xorg xinit | |
gstreamer1.0-x gstreamer1.0-omx gstreamer1.0-plugins-base | |
gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-alsa | |
gstreamer1.0-libav | |
epiphany-browser | |
lxde lxtask menu-xdg gksu | |
xserver-xorg-video-fbturbo | |
xpdf gtk2-engines alsa-utils |
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 | |
# Check for LE Cert Updates | |
# Adapted from https://raw.githubusercontent.com/myprs/lenc-update/master/lenc-update.sh | |
LENC_CONFDIR="/etc/letsencrypt" | |
LENC_LIVEDIRNAME="$LENC_CONFDIR/live" | |
LENC_DEFAULT_CERTFILENAME="cert.pem" |
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
[CENTER][B][SIZE=7][IMG]https://cravatar.eu/helmhead/e6505ed0eacb4bbca6f6adc2b753f02a.png[/IMG][/SIZE] | |
[FONT=Courier New][SIZE=7]HeroCC's Super SysAdmin Shop[/SIZE][/FONT] | |
[SIZE=7][COLOR=#006600]OPEN[/COLOR][/SIZE][/B][/CENTER] | |
[IMG]https://ga-beacon.appspot.com/UA-83941472-1/spigotmc-thread?pixel&useReferer[/IMG] | |
Hello, [COLOR=#ff8000]SpigotMC[/COLOR]! I am [COLOR=#006600]HeroCC[/COLOR], a Minecraft Server admin for 3[I]+ years[/I], and Linux SysAdmin for 2.5[I]+ years[/I] from the USA. I love configuring and setting up anything and everything. Some of my services are below, but if you have any special requests please drop me a line! I often will do small jobs for Vouches if you are a reputable member. I have the most experience in Ubuntu Server / Debian, but I should be able to use any OS, including BSD and Windows! I prefer working on services and backend stuff rather than simple plugin/world configs, but can do both (just not build, you don't want to see that ;)). I'll even explain what I'm doing live if |
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
# From https://github.com/certbot/certbot/issues/2164 | |
<IfModule mod_proxy.c> # If Proxy is installed | |
ProxyPass "/.well-known/acme-challenge" "!" # Do not proxy the acme verification | |
</IfModule> | |
Alias /.well-known/acme-challenge /var/www/html/.well-known/acme-challenge # Send all requests for the acme verification to this location | |
<Directory "/var/www/html/.well-known/acme-challenge"> # Allow any requests for it | |
Options None | |
AllowOverride None | |
Require all granted | |
AddDefaultCharset off |
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
<VirtualHost *:80> | |
ServerName YOUR.DOMAIN.HERE | |
Redirect permanent / https://YOUR.DOMAIN.HERE/ # Redirect all nonsecure requests to use HTTPS | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName YOUR.DOMAIN.HERE | |
SSLProxyEngine On | |
SSLCertificateFile /etc/letsencrypt/live/YOUR.DOMAIN.HERE/cert.pem |
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
// ==UserScript== | |
// @name NoAssign | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description WebAssign Auto Try-Again | |
// @author CC | |
// @match https://www.webassign.net/v4cgi/student/practice.tpl* | |
// @grant none | |
// ==/UserScript== |
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 | |
echo "Opening $@" | |
nxmlink="$@" | |
/usr/bin/playonlinux --run "nxmhandler" "$nxmlink" | |
sleep 5 |
OlderNewer