1) Filter Table
Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.
1) Filter Table
Filter is default table for iptables. So, if you don’t define you own table, you’ll be using filter table. Iptables’s filter table has the following built-in chains.
| #!/bin/bash | |
| # Read vars | |
| if [ "$1" == "" ]; then | |
| echo "Usage: ./git_deploy <folder> <user?> <post-receive?>" | |
| exit 1 | |
| fi | |
| folder=$1 | |
| if [ -d "$folder" ]; then |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
| import com.android.volley.toolbox.HurlStack; | |
| import com.squareup.okhttp.OkHttpClient; | |
| import java.io.IOException; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| /** | |
| * An {@link com.android.volley.toolbox.HttpStack HttpStack} implementation which | |
| * uses OkHttp as its transport. | |
| */ |
| import com.google.gson.Gson; | |
| import com.google.gson.JsonSyntaxException; | |
| import com.android.volley.AuthFailureError; | |
| import com.android.volley.NetworkResponse; | |
| import com.android.volley.ParseError; | |
| import com.android.volley.Request; | |
| import com.android.volley.Response; | |
| import com.android.volley.Response.ErrorListener; | |
| import com.android.volley.Response.Listener; |
| { | |
| "template": "logstash-*", | |
| "settings" : { | |
| "number_of_shards" : 1, | |
| "number_of_replicas" : 0, | |
| "index" : { | |
| "query" : { "default_field" : "@message" }, | |
| "store" : { "compress" : { "stored" : true, "tv": true } } | |
| } | |
| }, |
| #!/bin/bash | |
| usage() | |
| { | |
| cat << EOF | |
| usage: $0 options | |
| This script set ownership for all table, sequence and views for a given database | |
| Credit: Based on http://stackoverflow.com/a/2686185/305019 by Alex Soto |
| #!/usr/bin/env python | |
| """Simple script to merge multiple RRD files together. | |
| Accepts any number of RRD file names as arguments. Produces an "rrdtool dump" | |
| style file on stdout. The last RRD file should have a slot for every possible | |
| record in the resulting merged RRD. | |
| Run something like: | |
| $ python simple-merge-rrd.py filea.rrd fileb.rrd filec.rrd | \ |
| // | |
| // Usage: require('./pid')("myapp"); | |
| // | |
| var fs = require('fs'); | |
| module.exports = function(appname){ | |
| process.title = appname; | |
| var PID_FILE = "/usr/local/var/run/"+process.title+".pid"; |