Skip to content

Instantly share code, notes, and snippets.

View kcoderhtml's full-sized avatar
🤔
Debating what project I should dive head first into

Kieran Klukas kcoderhtml

🤔
Debating what project I should dive head first into
View GitHub Profile
@kcoderhtml
kcoderhtml / test.c
Created January 17, 2024 14:13
List devices for @ishan on slack
#include <pcap.h>
#include <stdlib.h>
int main() {
char errbuf[PCAP_ERRBUF_SIZE];
pcap_if_t* device;
if (pcap_findalldevs(&device, errbuf) == -1) {
fprintf(stderr, "Error finding devices : %s\n", errbuf);
exit(1);
}
@kcoderhtml
kcoderhtml / docker-compose.yml
Last active July 8, 2023 23:06
Docker Compose itzg/minecraft-server
version: "3.7"
services:
mc:
container_name: mc
image: itzg/minecraft-server:latest
tty: true # equivalent for -t
stdin_open: true # equivalent for -i
# restart: unless-stopped
volumes:
@kcoderhtml
kcoderhtml / Prank-Virus-Linux.sh
Created September 26, 2022 17:33
Prank-Virus-Linux.sh
echo Super Secret Nasa Program
echo Running: DRL
sleep 2
echo Process Cancelled!
sleep 2