zsh - Умный bash
mosh - Умный, мобильный и быстрый ssh
tmux - Сессии для ssh, мультиплексор терминалов
#!/usr/bin/env python3 | |
""" | |
Tests http mirrors of cygwin | |
""" | |
import random | |
import time | |
from urllib.request import urlopen | |
import sys | |
__author__ = 'Dmitry Sidorenko' |
#/etc/default/syncthing-relay | |
KEYS=/etc/relaysrv | |
GLOBAL_RATE=10485760 | |
PER_SESSION_RATE=212992 | |
PROVIDED_BY='https://keybase.io/ushkinaz' |
#!/usr/bin/env sh | |
# nsupdate.info DDNS update script for asuswrt-merlin | |
# See | |
# https://github.com/RMerl/asuswrt-merlin/wiki/Custom-DDNS | |
# http://nsupdateinfo.readthedocs.io/en/ | |
# Location: /jffs/scripts/ddns-start | |
DOMAIN="domain.nsupdate.info" | |
TOKEN="token" |
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> | |
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"> | |
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender"> | |
<param name="encoding" value="UTF-8"/> | |
<param name="follow" value="true"/> | |
<layout class="org.apache.log4j.PatternLayout"> | |
<param name="ConversionPattern" | |
value=" |
import java.io.BufferedInputStream; | |
import java.io.ByteArrayOutputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.URL; | |
public class TLS12Test { | |
public TLS12Test() { | |
} |
# Repos | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo add-apt-repository ppa:git-core/ppa | |
# Basic tools | |
sudo apt install mc htop lnav git zsh etckeeper tmux httpie pv most | |
sudo apt install oracle-java8-installer | |
# gui |
fc -l 0 | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | nl | head -n10 |
-- Generates a table with dates, | |
-- "duration" - number of days | |
-- "days_ago" - start day | |
WITH params AS (SELECT | |
40 AS days_ago, | |
10 AS duration | |
FROM dual) | |
SELECT | |
LEVEL, | |
to_date(to_char(SYSDATE - LEVEL - params.days_ago, 'DD-MM-YYYY'), 'DD-MM-YYYY') |
I hereby claim:
To claim this, I am signing this object: