Auth and copy token at https://irc.gitter.im/.
Ignore the /PASS
thing, it doesn't work in weechat.
/server add gitter irc.gitter.im -ssl -ssl_verify -ssl_dhkey_size=1024 -password=<REPLACE_WITH_YOUR_TOKEN>
/connect gitter
/* | |
LUFA Library | |
Copyright (C) Dean Camera, 2012. | |
dean [at] fourwalledcubicle [dot] com | |
www.lufa-lib.org | |
*/ | |
/* | |
Copyright 2012 Dean Camera (dean [at] fourwalledcubicle [dot] com) |
/* | |
* dmx_receiver.c | |
* | |
* Created: 2014/07/15 19:43:52 | |
* Author: kamiya | |
*/ | |
#include <avr/io.h> | |
#include <avr/interrupt.h> | |
#include "dmx_receiver.h" |
variable "hcloud_token" { | |
} | |
provider "hcloud" { | |
token = "${var.hcloud_token}" | |
} | |
resource "hcloud_server" "kube-master" { | |
name = "kube-master" | |
image = "ubuntu-18.04" |
what ? | |
- As we know Dynomite doesn't support any kind of authentication, so, to make security teams happy, we need to obey this somehow. | |
One of possibilities is SSL Termination, our Redis client (Jedis for java) will not talk with Dynomite directly but will request NGINX, | |
NGINX will check client's certificate and if cert is valid, request will be forwarded to Dynomite. | |
technically how ? | |
- In normal setup Dynomite requires (for each instance) Dynomite and Redis, in secure setup you will need additionally NGINX, | |
and this will be only one open port. | |
With this sample configuration, both Client and Server needs to trust themselves. |
[1001] | |
exten => _X.,1,Set(CALLERID(name)=1.0.0.1) | |
exten => _X.,n,Answer | |
exten => _X.,n,Wait(1) | |
exten => _X.,n,Playback(1001-recordtype) ; "Enter record type on your phone keypad, followed by the hash key. Press 1 to go to next character" | |
exten => _X.,n,Read(recordtype,,,si,) | |
exten => _X.,n,Playback(1001-domain) ; "Enter domain name to retrieve record, followed by the hash key" | |
exten => _X.,n,Read(domain,,,si,) | |
exten => _X.,n,Set(RECORD="${SHELL(/usr/bin/1001.py "${recordtype}")}") | |
exten => _X.,n,Set(ADDR="${SHELL(/usr/bin/1001.py "${domain}")}") |
location ~ /(?:a|A)utodiscover/(?:a|A)utodiscover.xml { | |
root /var/www/; | |
try_files /autodiscover/autodiscover.php =404; | |
fastcgi_pass unix:/run/php-fpm/php-fpm.sock; | |
fastcgi_index index.php; | |
include fastcgi.conf; | |
fastcgi_param SERVER_ADDR ""; | |
fastcgi_param REMOTE_ADDR $http_x_real_ip; | |
} |
Auth and copy token at https://irc.gitter.im/.
Ignore the /PASS
thing, it doesn't work in weechat.
/server add gitter irc.gitter.im -ssl -ssl_verify -ssl_dhkey_size=1024 -password=<REPLACE_WITH_YOUR_TOKEN>
/connect gitter
Dashing widget to display a random cute picture from http://reddit.com/r/aww
The display of the widget is heavily based on the Image widget, however it does not prepend the src with 'assets' which allows for external images.
You can set a placeholder image in the event that reddit is down, or otherwise unresponse. This is set at the top of random_aww.rb as follows:
@echo off | |
setlocal enabledelayedexpansion | |
if {%1}=={} ( | |
echo Usage: %~nx0 [vhd] [letter] | |
exit /b 1 | |
) | |
set vhdPath=%~dpnx1 | |
set driveLetter=%2 |