Skip to content

Instantly share code, notes, and snippets.

View seriald's full-sized avatar

Robert Fleming seriald

View GitHub Profile
@tuklusan
tuklusan / pfblockerng-reload-log
Last active February 3, 2023 02:14
The Ultimate List of pfSense pfBlockerNG IP Blocklist and DNSBL Feeds: See http://supratim-sanyal.blogspot.com/2017/04/pfsense-pfblockerng-ultimate-list-of-ip.html
UPDATE PROCESS START [ 05/04/17 23:26:31 ]
===[ DNSBL Process ]================================================
[ EasyList_wo_Elements ] Reload [ 05/04/17 23:26:32 ] . completed ..
----------------------------------------------------------------------
Orig. Unique # Dups # White # Alexa Final
----------------------------------------------------------------------
7964 7577 0 0 0 7577
----------------------------------------------------------------------
@kdjomeda
kdjomeda / wordpress_on_apache
Created July 5, 2015 12:46
Intro to ansible tutorial playbook
---
- hosts: webservers
tasks:
- name: Install Apache
apt: pkg=apache2 update_cache=true state=installed
- name: Install bunch of php packages
apt: pkg={{ item }} update_cache=true state=installed
with_items:
- php5
- php5-cli
@yeokm1
yeokm1 / ttrss-on-ubuntu.md
Created May 16, 2015 09:42
How to install Tiny Tiny RSS on Ubuntu

Adapted from here

  1. Install all packages
sudo apt-get update
sudo apt-get install php5 php5-pgsql php5-fpm php-apc php5-curl php5-cli postgresql nginx git
  1. Configure PostgresSQL
@oskarnrk
oskarnrk / mod_xml2enc-installer.sh
Last active December 14, 2020 01:09
Install mod_xml2enc for Apache2 in Ubuntu 13.10 or later
#!/bin/sh
sudo apt-get install apache2-prefork-dev libxml2 libxml2-dev apache2-dev
mkdir ~/modbuild/ && cd ~/modbuild/
wget http://apache.webthing.com/svn/apache/filters/mod_xml2enc.c
wget http://apache.webthing.com/svn/apache/filters/mod_xml2enc.h
sudo apxs2 -aic -I/usr/include/libxml2 ./mod_xml2enc.c
cd ~
sudo rm -rfd ~/modbuild/
sudo service apache2 restart
@arantius
arantius / simple-rrd-merge.py
Created March 23, 2012 02:43
A very simple script to merge multiple RRD files, since none of those available seem to work.
#!/usr/bin/env python
"""Simple script to merge multiple RRD files together.
Accepts any number of RRD file names as arguments. Produces an "rrdtool dump"
style file on stdout. The last RRD file should have a slot for every possible
record in the resulting merged RRD.
Run something like:
$ python simple-merge-rrd.py filea.rrd fileb.rrd filec.rrd | \