source "http://rubygems.org" | |
gem "janky", "~>0.9" | |
gem "pg" | |
gem "thin" |
#view current chains | |
$ iptables -L | |
#remove/flush all rules & delete chains | |
$ iptables -F | |
$ iptables -X | |
$ iptables -t nat -F | |
$ iptables -t nat -X | |
$ iptables -t mangle -F | |
$ iptables -t mangle -X |
# Logrotate script for varnishnca | |
# /etc/logrotate.d/varnishncsa | |
# | |
/var/log/varnish/varnishncsa.log { | |
daily | |
rotate 7 | |
missingok | |
compress | |
delaycompress |
The 10 Tenets of Deployments | |
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL | |
NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and | |
"OPTIONAL" in this document are to be interpreted as described in | |
[RFC 2119](https://www.ietf.org/rfc/rfc2119.txt). | |
1. Configuration management MUST NOT be coupled to an external service, such as EC2, Openstack, Foreman, or anything else. | |
2. Devops SHOULD provide a self-service framework for the automatic creation and destruction of hosts from the ground up. |
user nginx; | |
# Set this to match the number of CPU cores | |
worker_processes 2; | |
events { worker_connections 1024; } | |
http { | |
server_names_hash_bucket_size 64; | |
types_hash_max_size 2048; | |
server_tokens off; | |
include mime.types; | |
default_type application/octet-stream; |
# You don't need Fog in Ruby or some other library to upload to S3 -- shell works perfectly fine | |
# This is how I upload my new Sol Trader builds (http://soltrader.net) | |
# Based on a modified script from here: http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash | |
S3KEY="my aws key" | |
S3SECRET="my aws secret" # pass these in | |
function putS3 | |
{ | |
path=$1 |
Make your Arch fonts beautiful easily! This is what I do when I install Arch Linux to improve the fonts.
You may consider the following settings to improve your fonts for system-wide usage without installing a patched font library packages (eg. Infinality):
Install some fonts, for example:
sudo pacman -S ttf-dejavu ttf-liberation noto-fonts