Compilation of:
Start a new session with name:
| 0 = Success | |
| 1 = Operation not permitted | |
| 2 = No such file or directory | |
| 3 = No such process | |
| 4 = Interrupted system call | |
| 5 = Input/output error | |
| 6 = No such device or address | |
| 7 = Argument list too long | |
| 8 = Exec format error | |
| 9 = Bad file descriptor |
| import sys | |
| if len (sys.argv) > 1: | |
| for i in range(1, len(sys.argv)): | |
| open(sys.argv[i], 'a').close() |
| SRC = a4.ly tenor1.ly tenor2.ly bass1.ly bass2.ly lyrics.ly header.ly ../lib/paper.ly | |
| RESULT = a4.pdf all.midi | |
| DIRNAME = $(realpath .) | |
| .PHONY: preview publish archive dist play view help | |
| preview pre view $(RESULT): $(SRC) | |
| lilypond a4.ly | |
| mv -f a4.midi all.midi | |
| see a4.pdf & | |
| publish pub a4.publish.pdf: $(SRC) |
| Graphite dashboards: | |
| http://dashboarddude.com/blog/2013/01/23/dashboards-for-graphite/ | |
| stackoverflow.com/a/15840928/318557 | |
| Charcoal https://github.com/cebailey59/charcoal | |
| Cubism.js http://square.github.com/cubism/ | |
| Dashing http://shopify.github.com/dashing/ | |
| Descartes https://github.com/obfuscurity/descartes | |
| Dusk https://github.com/obfuscurity/dusk |
| # read more at https://terrty.net/2014/ssl-tls-in-nginx/ | |
| # latest version on https://gist.github.com/paskal/628882bee1948ef126dd/126e4d1daeb5244aacbbd847c5247c2e293f6adf | |
| # security test score: https://www.ssllabs.com/ssltest/analyze.html?d=terrty.net | |
| # your nginx version might not have all directives included, test this configuration before using in production against your nginx: | |
| # $ nginx -c /etc/nginx/nginx.conf -t | |
| server { | |
| # public key, contains your public key and class 1 certificate, to create: | |
| # (example for startssl) | |
| # $ (cat example.com.pem & wget -O - https://www.startssl.com/certs/class1/sha2/pem/sub.class1.server.sha2.ca.pem) | tee -a /etc/nginx/ssl/domain.pem > /dev/null |
| yum -y install erlang perl perl-RRD-Simple.noarch perl-Log-Log4perl-RRDs.noarch gnuplot perl-Template-Toolkit firefox | |
| wget http://tsung.erlang-projects.org/dist/tsung-x.x.x.tar.gz | |
| tar zxfv tsung-1.4.2.tar.gz | |
| cd tsung-1.4.2 | |
| ./configure && make && make install | |
| cp /usr/share/doc/tsung/examples/http_simple.xml /root/.tsung/tsung.xml |
Compilation of:
Start a new session with name:
| :: Launch browser for testing | |
| @echo off | |
| echo | |
| set CHROME_BROWSER_PATH=C:\Program Files^ (x86)\Google\Chrome\Application\ | |
| set CHROME_EXEC=chrome.exe | |
| set CHROME_USER_DATA="%~dp0%project_name_user_data" | |
| set CHROME_PARAMS=--user-data-dir=%CHROME_USER_DATA% ^ | |
| --start-maximized ^ | |
| --no-first-run ^ | |
| --no-default-browser-check ^ |
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/
| 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 |