Skip to content

Instantly share code, notes, and snippets.

View ibakirov's full-sized avatar
:atom:
@_@

Ilyas Bakirov (aka eRIC) ibakirov

:atom:
@_@
  • IBX
  • Kazakhstan
View GitHub Profile
@marklit
marklit / playbook.yml
Created November 8, 2014 08:27
Setup a load-balanced, two-node Django cluster
---
- name: SSH tightening
hosts: all
sudo: True
tasks:
- name: Disable root's ssh account
action: >
lineinfile
dest=/etc/ssh/sshd_config
@colinmollenhour
colinmollenhour / imap_learn.sh
Created November 21, 2012 21:10
IMAP Learn
#!/bin/bash
#
# IMAP Learn
#
# Copyright 2012 Colin Mollenhour (http://colin.mollenhour.com)
#
###############################################################################
#
# This script allows you to use an imap account to train your spamassassin server.
# Example script:
@narkisr
narkisr / ubunt-desktop.seed
Created September 30, 2011 23:23
An Ubuntu desktop preseed file
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/splash boolean false
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i console-setup/variantcode string
# network
d-i netcfg/get_nameservers string
d-i netcfg/get_ipaddress string
d-i netcfg/get_netmask string 255.255.255.0