Choose your auth in link:
Tutorials:
function http-ping { | |
SLEEP=${2:-5} | |
while true; do echo "$(date +'%Y-%m-%d %H:%M:%S') - GET $1 - $(curl -sL -w "%{http_code}" -o /dev/null $1)"; sleep $SLEEP; done | |
} |
API Request Headers:
GET http://api.example.com/posts
X-App-Ver: 1.2.0
URL Based:
GET /api/v1/xxxx
GET /api/v2/xxxx
#!/bin/sh | |
IP="" | |
OS=`uname` | |
case "${OS}" in | |
Linux) | |
IP=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '{ print $1}'` | |
;; | |
FreeBSD|OpenBSD) |
Configuring your application for release
Log
calls and remove the android:debuggable
attribute from your manifest file.android:versionCode
and android:versionName
attributes, which are located in the <manifest>
element.# Dump all postgres database without specific scheme (-N topology) | |
pg_dump -N topology -U $DATABASE_USERNAME -h $DATABASE_HOST -f /path/to/output.sql $DATABASE_NAME |
gw = `ip route show`[/default.*/][/\d+\.\d+\.\d+\.\d+/] |