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/env bash | |
[ -z $1 ] && exit 1; | |
for f in *.$1; | |
do | |
# https://github.com/denniskupec/sfv | |
c=$(sfv "$f") && echo "$c --> $f" | |
mv "$f" "${f%.*} [$c].${f##*.}" |
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 { | |
background: rgb(6, 12, 13); | |
} | |
body { | |
color: #333; | |
margin-left: 20px; | |
font-size: 13px; | |
font-family: helvetica, sans-serif; | |
word-wrap: break-word; |
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
package main | |
import ( | |
"compress/gzip" | |
"io" | |
"log" | |
"os" | |
) | |
func main() { |
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
-----BEGIN PUBLIC KEY----- | |
MIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAw8AowEx2IhDnQ3ZKtBJc | |
7HGxBAMQdeMXbVc8eVs3pd2LzSycvYT228W8P+SpiThoZ0Q04vUGXkT6ZZgRd4nX | |
dpROeKJBFCneY8ITEuzEMfcdI2PEAW7yslHog/sJTr9UnHLXAxJcDx89Mi0r6+lv | |
PieRJc138ctU6/f1bQSMcYTmWnj0tGDyf4NVmLCxmXoGnPYaZHJazBaDSzFQX3Zk | |
HbREjXy16dFjlwdtphxputlHmfyb7TQj2pAr3wHtNCkJFg8AnJ5ALHX+kh6/VACB | |
LyVHfswrAuJjEFfQYJg98ORogVtJvOJtl+aIaRpU9AjtQkOPwsFVLvmOhc6KjbHp | |
6WgOHvsJ4TaK6Msvjsy19ZOsCFt0gN2md01Kkso8WvlwB/y728HijV1aISRftj43 | |
fi6jROerTEFyJp1furOAjkQ/lPN60ZsDCQLLKuhw+Y0tkVQTP9R6BOD7bDJKcL0X | |
/WDouDrnbNQMU+xa9dW6+cUgfnWi7SJyjEiV53e8bh2FAgMBAAE= |
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
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* Hides everything but tabs and min/max/close window buttons. */ | |
#nav-bar { visibility: collapse; } |
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:muport:QmbgsyUxa4FhmbsJHH5pyzp9vkgkA815YqC7Tec9iLsFDe ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
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
[Unit] | |
Description=Teamspeak 3 Server | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/home/ts3server/ts3server inifile=/home/ts3server/ts3server.ini | |
PIDFile=/home/ts3server/ts3server.pid | |
WorkingDirectory=/home/ts3server | |
KillMode=process |
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/sh -e | |
# alias docker="docker.exe" | |
registry="registry.local:5000" | |
# list registry contents: | |
# curl -s "https://${registry}/v2/_catalog" | jq | |
for img in $(docker image ls | awk 'NR>1{ print $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
# /etc/init/telegraf.conf | |
description "Telegraf Daemon" | |
start on syno.share.ready and syno.network.ready | |
stop on runlevel [06] | |
respawn | |
respawn limit 5 30 | |
exec /sbin/telegraf --config /etc/telegraf.conf |
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 | |
n=1 | |
for f in $(/bin/ls -tr); do | |
mv $f ${n}.${f##*.} | |
let n++ | |
done | |
exit 0 |