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
============================================================ | |
Welcome to \n.\o server, stranger! | |
I see that you are trying to log on \l at \t, | |
so i make note about it in my log file and report my master. | |
Big brother already watching you. | |
------------------------------------------------------------ | |
I'm based on Debian GNU/\s \r, so be jentle, | |
like other \U inside. | |
============================================================ |
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 | |
# ============================ | |
# Found in install.sh from dnote | |
# https://github.com/dnote/dnote/blob/master/install.sh | |
# ============================ | |
http_download() { | |
dest=$1 | |
srcURL=$2 | |
if is_command curl; then |
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
# ============================== | |
# setNtpServers | |
# ============================== | |
# Mikrotik RB951G-2HnD | |
# RouterOS v6.46.4 (stable) | |
# --- | |
# Corrects IP addresses of NTP servers in | |
# System -> NTP Client (if they have changed), | |
# resolve IPs by NTP domains and send message | |
# to Slack. |
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
{ | |
# Encoding must be UTF-8! | |
#------------------------------------------------------------------------------- | |
# Set the name of the router and its SSID | |
:local systemName "" | |
# Set the password you would like to use when logging on as 'admin'. | |
:local adminPassword "" |
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
:global ipCurrent "$ipCurrent"; | |
{ | |
# Change to your settings | |
# ----------------------- | |
:local wanInterface "eth1"; | |
:local slackHookUrl "https://hooks.slack.com/services/YOUR/APP/SECRET"; | |
# ----------------------- | |
:local ipNew [/ip address get [find interface=$wanInterface] address]; |
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
# Function to print help message and exit | |
usage () { | |
[ ! -z "$1" ] && printf "\n \e[31m[ error ]\e[0m $0: %s\n" "$1" >&2 | |
printf "$USAGE" >&2 | |
exit 2 | |
} | |
# Catch arguments | |
for (( i=1; i<=$#; i++ )); do | |
case "${!i}" 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
/*! | |
-------------------------------- | |
normalize.css v8.0.1 + reset.css | |
-------------------------------- | |
*/ | |
html { | |
line-height: 1.15; | |
-webkit-text-size-adjust: 100%; | |
} | |
body, html { |
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
'use strict'; | |
/** | |
* svgConnect | |
* Connect objects with svg line | |
* | |
* @options | |
* | |
*/ | |
(function($) { |
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
'use strict'; | |
/** | |
* Informer | |
* Lightweight message system | |
* | |
* @options | |
* | |
* type - | |
* life - | |
* speed - |