#Setup tsung for AmazonLinux
This is a note for setup erlang-17.1 and Tsung-1.5.1 on AmazonLinux.
Reference -> http://www.slideshare.net/ngocdaothanh/tsung-13985127 (Tsung 1.4.2)
- Type: m1.large
- SecurityGroup: Arrow TCP 0-65535
#/usr/bin/env python3 | |
""" | |
Yet another simple binary patcher | |
""" | |
patches = [ | |
{ | |
# 1 Windows x64, version 3, build 1234 | |
'file': 'file_1.bin', | |
'offset': 0x0BA950, | |
'original': b'\x00', |
#Setup tsung for AmazonLinux
This is a note for setup erlang-17.1 and Tsung-1.5.1 on AmazonLinux.
Reference -> http://www.slideshare.net/ngocdaothanh/tsung-13985127 (Tsung 1.4.2)
import datetime | |
import dateutil.parser | |
timestring1 = '2007-03-04T21:08:12.127' | |
timestring2 = '2012-03-04 12:08:12.354' | |
dt1 = datetime.datetime.strptime(timestring1, '%Y-%m-%dT%H:%M:%S.%f') | |
dt2 = datetime.datetime.strptime(timestring2, '%Y-%m-%d %H:%M:%S.%f') | |
dup1 = dateutil.parser.parse(timestring1) | |
dup2 = dateutil.parser.parse(timestring2) |
#!/usr/bin/env python3 | |
from pprint import pprint | |
REPLACERS = { | |
'А' : 'О', | |
'а' : 'о', | |
'Б' : 'П', | |
'б' : 'п', | |
'В' : 'Р', | |
'в' : 'р', |
#!/usr/bin/env python3 | |
STRING_RKNZ = "Роскомнадзор запретил букву" | |
def gen_rualphabet_uppercase(): | |
""" | |
""" | |
l = list(chr(l) for l in range(ord('А'), ord('Я')+1)) | |
l.insert(ord('Е') - ord('А') + 1, 'Ё') | |
return "".join(l) |
sudo -i | |
su root | |
sudo -i | |
sudo shutdown -s | |
sudo shutdown -t 0 | |
ip addr show | |
sudo yum install kbd | |
loadkeys sk | |
sudo loadkeys sk | |
localectl list=kezmaps |
Compilation of:
- https://www.dmosk.ru/instruktions.php?object=ceph-centos7
- https://blog.mailon.com.ua/
- https://www.howtoforge.com/tutorial/how-to-build-a-ceph-cluster-on-centos-7/
- http://vasilisc.com/ceph-3
- https://doc.ispsystem.com/index.php/Ceph_cluster
- https://doc.ispsystem.ru/index.php/Создание_Ceph-кластера
- https://www.sebastien-han.fr/blog/2013/05/13/deploy-a-ceph-mds-server/