Skip to content

Instantly share code, notes, and snippets.

View tuaris's full-sized avatar

Daniel Morante tuaris

View GitHub Profile
@ishworgurung
ishworgurung / kevent_srv.py
Created May 24, 2012 07:15
So, how can I use kqueue/kevent on BSD/Mac using Python?
#!/usr/bin/env python
"""
Example on using Kqueue/Kevent on BSD/Mac
using Python.
The TCP server essentially echoes back the
message it receives on the client socket.
"""
__author__ = "Ishwor Gurung <ishwor@develworx.com>"
@zunda
zunda / pp-pstore.rb
Created September 17, 2009 20:54
A ruby script to dump content from PStore files. Happened to be similar with http://www.machu.jp/diary/20090915.html#p01
#!/usr/bin/env ruby
# pp-pstore.rb: dumps data from PStore files
#
# Copyright 2007 zunda <zunda at freeshell.org>
#
# Permission is granted for use, copying, modification, distribution,
# and distribution of modified versions of this work as long as the
# above copyright notice is included.
#