Skip to content

Instantly share code, notes, and snippets.

View bwackwat's full-sized avatar
🎯
Focusing

John Paul Hayes bwackwat

🎯
Focusing
View GitHub Profile
username@hostname$ sed -n "s/\$table_prefix = '\(.*\)';/\1/p" wp-config.php
@bwackwat
bwackwat / af_packet_classic.c
Created October 24, 2016 20:43 — forked from pavel-odintsov/af_packet_classic.c
af_packet_classic_habrahabr
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <iostream>
#include <unistd.h>
#include <boost/thread.hpp>
#include <arpa/inet.h>
#include <sys/socket.h>