Skip to content

Instantly share code, notes, and snippets.

View gist:97c81a4eb753ec0aae7fb395052658a0
every, :at => '12:00 pm' do
command "backup perform -t backup"
chikatambun /
Created Nov 16, 2015 — forked from mikesorae/
ansible task for android sdk
export PATH="/opt/android-sdk-linux/tools:${PATH}"
View five_minutes.yml
- hosts: all
ubuntu_common_deploy_user_name: deploy
- ~/.ssh/
View gist:5a1d6d7c7d3e94c973b9
mysql> select count(*) from radacct where TimeStop is NULL;
| count(*) |
| 47318 |
1 row in set (0.04 sec)
mysql> select distinct username from radacct where TimeStop is NULL;
# 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:
chikatambun / mail.conf
Created Aug 12, 2014
ini settingan kira2 disimpan dalam file apa dan dimana?
View mail.conf
Alias /mail /srv/mail/public
<Directory /srv/mail/public>
Options FollowSymLinks
AllowOverride None
# For Apache <= 2.3:
Order allow,deny
allow from all