I hereby claim:
- I am omshivaprakash on github.
- I am techfiz (https://keybase.io/techfiz) on keybase.
- I have a public key ASAjeabTU9V3Q1v5bJwMzOoFEFxrbVA7wT1aPow70Xzu_Qo
To claim this, I am signing this object:
#!/bin/bash | |
echo 'Starting reverse SSH tunnel' | |
/usr/bin/autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -o "ExitOnForwardFailure=yes" -tt -R \*:2222:localhost:22 user@your.server |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
CURALL=`tempfile` | |
EMALL=`tempfile` | |
DIFFY=`tempfile` | |
ADDLIST=`tempfile` | |
zmprov -l gaa | sort | uniq > $EMALL | |
zmprov gdl all@example.com|grep "zimbraMailForwardingAddress:"|sed "s/zimbraMailForwardingAddress: //"|sort|uniq > $CURALL | |
diff --left-column $CURALL $EMALL | grep example.com | sed "s/> //g" > $DIFFY | |
diff /opt/zimbra/conf/all_list_ignore $DIFFY|grep example.com|sed "s/<//g"|sed "s/>//g"|sed "s/ //g" > $ADDLIST |
#-e This is a basic VCL configuration file for varnish. See the vcl(7) | |
#man page for details on VCL syntax and semantics. | |
# | |
#Default backend definition. Set this to point to your content | |
#server. | |
# | |
backend default { | |
.host = "127.0.0.1"; | |
.port = "3000"; | |
} |
#!/bin/bash | |
DBNAME=dbtest | |
USER=user | |
PASS=pass | |
HOST=127.0.0.1 | |
NDB_DBNAME=dbtest | |
NDB_USER=user | |
NDB_PASS=pass |
# https://www.varnish-cache.org/docs/2.1/tutorial/vcl.html | |
# https://www.varnish-cache.org/trac/wiki/VCLExamples | |
# Summary | |
# 1. Varnish will poll the backend at /health_check to make sure it is | |
# healthy. If the backend goes down, varnish will server stale content | |
# from the cache for up to 1 hour. | |
# 2. Varnish will pass X-Forwarded-For headers through to the backend | |
# 3. Varnish will remove cookies from urls that match static content file | |
# extensions (jpg, gif, ...) |
# -*- coding:utf-8 -*- | |
""" | |
Backup Google Reader Items to WordPress eXtended RSS (Wordpress Export Format) | |
Download Feeds from http://www.google.com/reader/atom/feed/http://yourblogdomain.com/yourfeed?n=1000 | |
(1000 = number of items) | |
Usage: reader2wordpress.py google_atom.xml http://yourblogdomain.com/ | |
Licensed under BSD. |