I hereby claim:
- I am paramah on github.
- I am paramah (https://keybase.io/paramah) on keybase.
- I have a public key ASADC8H9nEs5YpSWSkctnH2cuq0K0vGsNQhwQFie8yEucwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| (require 'package) | |
| (add-to-list 'package-archives | |
| '("melpa" . "http://melpa.org/packages/")) | |
| (package-initialize) | |
| (add-hook 'after-init-hook 'global-company-mode) | |
| (global-set-key [C-tab] 'company-complete) | |
| (tool-bar-mode -1) |
| bin/ bind.sql | |
| root@syzyf:~# cat /root/bin/mysql-backup.sh | |
| #!/bin/bash -x | |
| NOW=$(date +"%F") | |
| NOWT=$(date +"%T") | |
| ## Backup path ## | |
| BAK="/var/spool/mysql_local/$NOW" | |
| [ -d $BAK ] || mkdir $BAK |
| # Super | |
| upstream xmpp { | |
| server 10.0.0.10:5280; | |
| server 10.0.0.11:5280; | |
| server 10.0.0.12:5280; | |
| } | |
| map $cookie_vroute $sticky { | |
| default xmpp; |
| paramah@lobo ~> GET "http://fakty.tvn.pl/" | |
| HTTP/1.1 302 Found | |
| Accept-Ranges: bytes | |
| Age: 44 | |
| Connection: keep-alive | |
| Content-Encoding: gzip | |
| Content-Length: 190 | |
| Content-Type: text/html; charset=iso-8859-1 | |
| Date: Thu, 03 Oct 2013 17:29:48 GMT | |
| Location: http://www.tvn24.pl/fakty.html |
| server { | |
| listen 443; | |
| server_name @@host@@; | |
| access_log /var/log/nginx/@@host@@.log; | |
| error_log /var/log/nginx/@@host@@.log; | |
| ssl on; | |
| ssl_certificate /etc/nginx/ssl/cert.crt; | |
| ssl_certificate_key /etc/nginx/ssl/key.key; |
| server { | |
| listen 80; | |
| server_name @@domain@@; | |
| access_log @@dir@@/access.log slim; | |
| error_log @@dir@@/error.log; | |
| location / { | |
| root @@dir@@; | |
| if (-f $request_filename) { | |
| expires 30d; |
| #!/bin/sh | |
| KEY="$HOME/.ssh/identity.pub" | |
| if [ ! -f ~/.ssh/identity.pub ];then | |
| echo "private key not found at $KEY" | |
| echo "* please create it with "ssh-keygen -t dsa" *" | |
| echo "* to login to the remote host without a password, don't give the key you create with ssh-keygen a password! *" | |
| exit | |
| fi |
| #!/usr/bin/python | |
| import os, sys, getopt, socket | |
| from pwd import getpwnam | |
| WORKDIR = "/Users/paramah/internals/configuration/" | |
| def main(): | |
| try: | |
| opts, args = getopt.getopt(sys.argv[1:], "hd:u:t:s:", ["help", "domain="]) |