Skip to content

Instantly share code, notes, and snippets.

View gkoyuncu's full-sized avatar
🏠
Working from home

Gokhan Koyuncu gkoyuncu

🏠
Working from home
View GitHub Profile
@farukyildiz
farukyildiz / ioctl_DIOCKILLSTATES.c
Created July 5, 2021 11:57
Pf ioctl kill states DIOCKILLSTATES
#define IF_NAMESIZE 16
#define IFNAMSIZ IF_NAMESIZE
#define MAXPATHLEN 1024
#define PF_TABLE_NAME_SIZE 32
#define TH_SYN 0x02
#define TH_ACK 0x10
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
@BrianWill
BrianWill / Go overview.md
Last active June 29, 2024 17:39
Go language overview for experienced programmers

The Go language for experienced programmers

Why use Go?

  • Like C, but with garbage collection, memory safety, and special mechanisms for concurrency
  • Pointers but no pointer arithmetic
  • No header files
  • Simple, clean syntax
  • Very fast native compilation (about as quick to edit code and restart as a dynamic language)
  • Easy-to-distribute executables