This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| """ | |
| A pure python ping implementation using raw socket. | |
| Note that ICMP messages can only be sent from processes running as root. | |
| Derived from ping.c distributed in Linux's netkit. That code is | |
| copyright (c) 1989 by The Regents of the University of California. | |
| That code is in turn derived from code written by Mike Muuss of the | |
| US Army Ballistic Research Laboratory in December, 1983 and | |
| placed in the public domain. They have my thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf-8 | |
| # http://forums.fedoraforum.org/showthread.php?t=272322 | |
| import os | |
| import uuid | |
| import fnmatch | |
| import subprocess | |
| CURRENT_DIR = os.path.dirname(__file__) | |
| CFG_DIR = '/etc/NetworkManager/system-connections' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Xbox input device driver for Linux - v0.1.6 | |
| * | |
| * Copyright (c) 2002 - 2004 Marko Friedemann <mfr@bmx-chemnitz.de> | |
| * | |
| * Contributors: | |
| * Vojtech Pavlik <vojtech@suse.sz>, | |
| * Oliver Schwartz <Oliver.Schwartz@gmx.de>, | |
| * Thomas Pedley <gentoox@shallax.com>, | |
| * Steven Toth <steve@toth.demon.co.uk>, |