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 | |
trap exit 1 INT | |
tmp="$(mktemp)" | |
inputfile="$tmp" | |
outputfile="/etc/pacman.d/mirrorlist" | |
source ~/.bin/src.sh |
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
-- vim: fdm=marker | |
-- requires {{{ | |
-- If LuaRocks is installed, make sure that packages installed through it are | |
-- found (e.g. lgi). If LuaRocks is not installed, do nothing. | |
pcall(require, "luarocks.loader") | |
-- Standard awesome library | |
local gears = require("gears") | |
local awful = require("awful") | |
require("awful.autofocus") |
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
AutoCategorySavedVars = | |
{ | |
["Default"] = | |
{ | |
["@tralce"] = | |
{ | |
["8796093062976329"] = | |
{ | |
["NA Megaserver"] = | |
{ |
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 | |
# This script is heavily inspired by the getinfo.sh found | |
# on https://forums.centos.org/viewtopic.php?t=870 | |
# s3 code taken and rewritten from | |
# https://stackoverflow.com/questions/44751574/uploading-to-amazon-s3-via-curl-route/44751929 | |
counter=0 | |
IFS=$'\n' |
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 | |
workingfile="$(mktemp)" | |
shuffledfile="$(mktemp)" | |
winners="$(mktemp)" | |
[ -z $1 ] && echo "Need a number of winners, yo." && exit 1 | |
while read line | |
do |