This guide on how to convert an SVN repository to a git repository was mostly taken from John Albin Wilkins post on Converting a Subversion repository to Git.
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
198.20.69.72/29 | |
198.20.69.96/29 | |
198.20.70.111/32 | |
198.20.70.112/29 | |
198.20.99.128/29 | |
93.120.27.62/32 | |
66.240.236.119/32 | |
71.6.135.131/32 | |
66.240.192.138/32 | |
71.6.167.142/32 |
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
#!/usr/bin/bash | |
if [[ "$1" =~ ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ ]]; then | |
if [[ $(/usr/sbin/vmadm lookup uuid="$1" -j -o type | /opt/tools/bin/jq '.[][]') = "KVM" ]]; then | |
/usr/sbin/vmadm console "$1" | |
else | |
/usr/sbin/zlogin "$1" | |
fi | |
else | |
uuid=$(/usr/sbin/vmadm lookup alias="$1") | |
brand=$(/usr/sbin/vmadm lookup alias="$1" -j -o type | /opt/tools/bin/jq '.[][]' |sed 's/"//g') |
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
Download and install a fresh debian-10 iso in VirtualBox. After boot and login run: | |
``` | |
apt-get install git debootstrap curl | |
git clone https://github.com/ass-a2s/debian-lx-brand-image-builder.git | |
cd debian-lx-brand-image-builder | |
mkdir /mnt/chroot | |
./install -r buster -d /mnt/chroot -m http://ftp2.de.debian.org/debian/ -i debian-10 -p "Debian 10 lx-brand" -D "Debian 10 64-bit lx-brand image." -u https://docs.joyent.com/images/container-native-linux | |
curl -s -u "$USER:$PASSWORD" -T ./debian-10-20200713.tar.gz https://nextcloud.example.com/remote.php/dav/files/user/debian-10-20200713.tar.gz | |
``` |
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
<?xml version='1.0'?> | |
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
<service_bundle type='manifest' name='keycloak'> | |
<service | |
name='network/keycloak' | |
type='service' | |
version='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
-- paste this into the macOS 'Script-Editor.app' and save it as an app | |
on run | |
do shell script "ps auxwwww |grep \"MacOS/nextcloud\" |grep -v grep | awk '{print $2}' | xargs kill -9" | |
end run |
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
#!/opt/local/bin/perl | |
use strict; | |
use Data::Dumper; | |
use DBI; | |
use Sys::Syslog qw(:standard :macros); | |
use DateTime; | |
use POSIX qw(strftime); | |
openlog("mysql_zbx_part", "ndelay,pid", LOG_LOCAL0); |
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
#!/usr/bin/env ruby | |
require 'time' | |
require 'activesupport' # install with: gem install 'activesupport' | |
exit 1 if ARGV.size == 0 | |
def build_history(t,table) | |
result = "ALTER TABLE `#{table}` PARTITION BY RANGE ( clock )\n(" | |
while t < Time.now do |
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
Our mibe repo with only a few changes for lx-brand mibe-builds: https://github.com/jfqd/mibe | |
Our base image build: https://github.com/jfqd/mi-qutic-base | |
An this is how we build the base image: | |
build_base_image() { | |
cd /opt/mibe/repos | |
if [ ! -d /opt/mibe/repos/mi-qutic-base ]; then | |
/opt/tools/bin/git clone git://github.com/jfqd/mi-qutic-base.git |
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
curl \ | |
-XPOST \ | |
-H "Content-Type: application/json" \ | |
-u "user:pass" \ | |
https://opnsense.example.com/api/acmeclient/certificates/add -d \ | |
'{ | |
"certificate": { | |
"enabled": "0", | |
"name": "test.example.com", | |
"altNames": "test2.example.com", |