Skip to content

Instantly share code, notes, and snippets.

View nbigot's full-sized avatar

Nicolas Bigot nbigot

View GitHub Profile
@nbigot
nbigot / ansible_hosts
Last active August 6, 2024 06:20
Ansible playbook AWS - install docker (2021)
# example of /etc/ansible/hosts file
# sudo vi /etc/ansible/hosts
[awsec2instances]
10.2.0.39
10.2.0.217
10.2.0.208
@miekg
miekg / udpserv.go
Created May 10, 2017 09:29
Simple udp server in Go
package main
import (
"log"
"net"
)
func main() {
// listen to incoming udp packets
pc, err := net.ListenPacket("udp", ":1053")