Skip to content

Instantly share code, notes, and snippets.

View 1player's full-sized avatar
💥

Stéphane Travostino 1player

💥
View GitHub Profile
@1player
1player / dining_philosophers.go
Created June 27, 2013 18:31
Playing with the Dining Philosophers problem and Go..
package main
import (
"fmt"
"os"
"os/signal"
"time"
)
const n = 5
@1player
1player / empty_pop3_account.py
Created September 7, 2012 10:29
Empty a POP3 account
#!/usr/bin/env python
import sys
import getpass
import poplib
if len(sys.argv) != 3:
print("{0} <POP3 host> <username>".format(sys.argv[0]))
sys.exit(1)