Skip to content

Instantly share code, notes, and snippets.

@chikatambun
chikatambun / android.sh
Created November 16, 2015 15:19 — forked from mikesorae/android.sh
ansible task for android sdk
export PATH="/opt/android-sdk-linux/tools:${PATH}"
@chikatambun
chikatambun / five_minutes.yml
Created September 23, 2015 15:11 — forked from ryane/five_minutes.yml
five_minutes.yml
---
- hosts: all
vars:
UBUNTU_COMMON_ROOT_PASSWORD: 'xxxxx'
UBUNTU_COMMON_DEPLOY_PASSWORD: 'xxxxx'
UBUNTU_COMMON_LOGWATCH_EMAIL: user@example.com
ubuntu_common_deploy_user_name: deploy
ubuntu_common_deploy_public_keys:
- ~/.ssh/id_rsa.pub
#!/bin/sh
# OSX friendly version by jeff donovan
#
# Grep for a pattern through a Postfix mail log, collect the message ids into a temporary
# file and then grep for all occurrences of the ID's in the maillog.
# This is a very intensive operation since it requires 1+N greps through the entire log file,
# where N is the number of unique ID's returned from the first grep.
#
# Usage sample: