News
- Google Reader
- Instapaper
- Pinboard
- Readability
- Storify
ಠ_ಠ | |
( ͡° ͜ʖ ͡°) | |
¯\_(ツ)_/¯ | |
(╯°□°)╯︵ ┻━┻ | |
http://www.fileformat.info/convert/text/upside-down.htm | |
WRTTN http://wrttn.me/30dbfd/ | |
Unicode Emoticons |
[Unit] | |
Description=Monero Full Node | |
After=network.target | |
[Service] | |
User=sitedata | |
Group=sitedata | |
Type=forking | |
PIDFile=/home/sitedata/.bitmonero/monerod.pid |
[Unit] | |
Description=BtcPayServer daemon | |
Requires=btcpayserver.service | |
After=nbxplorer.service | |
[Service] | |
ExecStart=/usr/bin/dotnet run --no-launch-profile --no-build -c Release -p "/home/sitedata/source/btcpayserver/BTCPayServer/BTCPayServer.csproj" -- $@ | |
User=sitedata | |
Group=sitedata | |
Type=simple |
#!/usr/bin/env bash -x | |
# Creates RAM disk. | |
# | |
# SYNOPSIS | |
# create_ramdisk [size [label]] | |
# | |
# OPTIONS | |
# size: RAM disk size in megabytes. Default: 1024 | |
# label: RAM disk volume label. Default: UUID |
#!/bin/sh | |
# curl {URL to this script} | sh -s | |
# install docker | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
apt-cache policy docker-ce | |
sudo apt-get install -y docker-ce | |
sudo systemctl status docker |
<?php | |
//set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__); // optional | |
spl_autoload_register(function ($class) { | |
$file = preg_replace('#\\\|_(?!.+\\\)#','/', $class) . '.php'; | |
if (stream_resolve_include_path($file)) | |
require $file; | |
}); |
Taking Gmail as an example, put the following into /etc/postfix/main.cf
.
relayhost = [smtp.gmail.com]:587
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_mechanism_filter = plain
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_use_tls = yes
smtp_tls_security_level = encrypt
#!/usr/bin/php | |
<?php | |
/* Yes this is terribly cobbled togethor, no there are no tests, it does what it needs to do, | |
which is to allow you to dump a bind format zonefile over the WHM API, and to update a | |
WHM domain from a bind zonefile, over the API, so you only need usual WHM access, resellers are fine. */ | |
if(count($argv) < 2) | |
{ | |
echo "\nBind To/From WHM API, Especially For Resellers\n"; |
# What is This Script? | |
# This script allows you to broadcast your AzuraCast radio signal to a remote video stream, using a | |
# static video file that loops in the background and dynamically writing the currently playing track | |
# on top of that video file. | |
# | |
# This script replaces the previous "radio-video-stream" project, allowing you to manage files directly from | |
# within AzuraCast and not requiring any changes to your Docker configuration at all. | |
# | |
# To use this script, you must be running at least AzuraCast 0.19.0 or a later Rolling Release version. | |
# |