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 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
{ | |
"name": "ThomCat Black", | |
"is_dark": true, | |
"colors": { | |
"accent-color": "#cc7b19", | |
"primary-color": "#9F8652", | |
"warning-color": "#f9c003", | |
"sidebar-color": "#000000", | |
"roomlist-background-color": "#191919", | |
"roomlist-text-color": "#cc7b19", |
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/zsh | |
. /usr/lib/zabbix/etc/matrix.conf | |
RECEIVER="$1" | |
SUBJECT="$2" | |
MESSAGE="$3" | |
SEVERITY=0 | |
if $(echo "$MESSAGE"|jq . >/dev/null 2>/dev/null) |
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 python3 | |
import requests | |
from requests.compat import urljoin | |
AS_TOKEN = "redacted" | |
HS_BASE = "https://darkfasel.net" | |
ROOMS = [ | |
"!someroomid:darkfasel.net" | |
] |
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/zsh | |
# This script assumes you have a symlinked riot installation, eg | |
# /var/www/html/riot -> /var/www/html/riot-v0.11.4 | |
# | |
# If the local version is older than the github version, it | |
# downloads the latest release, extracts it, copies | |
# config.json and home.html from old to new, removes | |
# the old symlink and sets a new one |
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
### | |
# Copyright (c) 2016, Johannes Matheis | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are met: | |
# | |
# * Redistributions of source code must retain the above copyright notice, | |
# this list of conditions, and the following disclaimer. | |
# * Redistributions in binary form must reproduce the above copyright notice, |
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 | |
user= | |
pass= | |
url= | |
echo $* | |
case $1 | |
in |
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 | |
set -xeu | |
arch=x86_64 | |
base_dir=/data/opt/alpine | |
work_dir=${base_dir}/work-${arch} | |
chroot_dir=${base_dir}/edge-${arch} | |
version=2.6.7-r1 | |
mirror=http://dl-2.alpinelinux.org/alpine/ |
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/zsh | |
function retr_cert_base64() { | |
fields=(${(s: :)1}) | |
host=$fields[1] | |
port=$fields[2] | |
sni=$fields[3] | |
proto=$fields[4] | |
[ -z "$sni" ] && servername=$host || servername=$sni | |
[ -n "$proto" ] && starttls="-starttls $proto" |
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 python | |
import pytz, datetime | |
now_utc = datetime.datetime.utcnow() | |
now_utc = pytz.utc.localize(now_utc) | |
for tzstring in pytz.all_timezones: | |
local_tz = pytz.timezone(tzstring) | |
local_time = now_utc.astimezone(local_tz) |
NewerOlder