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
<html> | |
<!-- START HTML --> | |
<head> | |
<title>Reseller Account Backup Script</title> | |
</head> | |
<body> | |
<div id="messages"></div> | |
</body> |
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/bash | |
# | |
# A very simple script to used to work with "swaks" to send white-label test messages | |
# to clients. | |
# | |
# Written by Karl Baillie | |
# [email protected] | |
# 15/11/2011 | |
# | |
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/bash | |
NYAN=('bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbmbbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbmbmbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbmbbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbmb' | |
'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbmb' |
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/bash | |
FILES=./*.tar.gz | |
for f in $FILES | |
do | |
echo "Extracting $f..." | |
tar -xzf $f | |
n=$(basename $f .tar.gz) | |
echo "Unpacking $n/homedir.tar to ./$n/..." | |
tar -xf $n/homedir.tar -C ./$n/ | |
echo "Done" |
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
Show hidden characters
{ | |
// Define theme and color scheme | |
"color_scheme": "Packages/Theme - Dark Material/schemes/Dark-Material.tmTheme", | |
"theme": "Dark-Material.sublime-theme", | |
// Keeping those lines smooth | |
// "font_face": "Monaco", | |
"font_size": 10, | |
"line_padding_bottom": 3, | |
"line_padding_top": 3, |
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/bash | |
if [ "$1" = "" ] | |
then | |
echo "No owner specified." | |
echo "Usage: $0 owner" | |
exit | |
fi | |
owner="$1" | |
grep ": $owner\$" /etc/userdomains || { | |
echo "$owner doesn't exist on this server." |
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
HISTFILE=~/.histfile | |
HISTSIZE=100000 | |
SAVEHIST=1000 | |
bindkey -e | |
zstyle :compinstall filename '/home/karl/.zshrc' | |
autoload -Uz compinit | |
compinit |
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
var casper = require('casper').create({ | |
verbose: true, | |
logLevel: 'info', | |
pageSettings: { javascriptEnabled: true }, | |
viewportSize: { width: 1600, height: 900 } | |
}); | |
var url = 'http://www.kjbweb.net/', | |
xp = require('casper').selectXPath; |
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
#!/usr/bin/perl | |
use File::KeePass; | |
use Term::ReadKey; | |
use Data::Dumper qw(Dumper); | |
use Getopt::Long qw(GetOptions); | |
use Digest::MD5 qw(md5_hex); | |
use MIME::Base64; | |
use File::Slurp; |
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
version: '2' | |
services: | |
unifi: | |
image: linuxserver/unifi | |
environment: | |
PUID: '1012' | |
GUID: '1012' | |
stdin_open: true | |
volumes: | |
- /storage/data/unifi:/config:rw |
OlderNewer