Skip to content

Instantly share code, notes, and snippets.

# define ROOT dir
define ROOT C:\Program Files (x86)\nxlog
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid
SpoolDir %ROOT%\data
LogFile %ROOT%\data\nxlog.log
#<Extension _syslog>
@voidet
voidet / index.php
Last active February 14, 2020 05:32
MixCloud RSS
<?php
/***********************************
config stuff up here
************************************/
set_time_limit(0);
date_default_timezone_set('America/New_York');
@rw950431
rw950431 / stats.sh
Last active January 24, 2017 19:50
Simple shell script to save Raspberry Pi performance data to http://thingspeak.com
#!/bin/bash
# RW950431 30Jan2014
# update thingspeak with system perf data
# add an entry to crontab something like
# */10 * * * * /home/pi/stats.sh >>/home/pi/stats.log 2>&1
#
KEY=YOUR_THINGSPEAK_WRITE_KEY
# network packets (change wlan0 to eth0 if wired network)
NET=$(netstat -i | awk '/^wlan0/ {print "field1="$4"&field2="$8}');
#echo $NET
@securitytube
securitytube / ssid-sniffer-scapy-python.py
Created April 2, 2013 12:49
WLAN SSID Sniffer in Python using Scapy
#!/usr/bin/env python
from scapy.all import *
ap_list = []
def PacketHandler(pkt) :
if pkt.haslayer(Dot11) :
if pkt.type == 0 and pkt.subtype == 8 :