e1000e Linux* Base Driver for Intel® Network Connection
================================================================================
January 13, 2014
================================================================================
| """ | |
| Determine IPv4 addresses on a Linux machine via the socket interface. | |
| Thanks @bubthegreat the changes to make it Py2/3 compatible and the helpful | |
| code comments: https://gist.github.com/pklaus/289646#gistcomment-2396272 | |
| This version has all comments removed for brevity. | |
| """ | |
| import socket | |
| import array | |
| import struct |
| #!/bin/bash | |
| # This script analyses the log files /var/log/auth.log* for | |
| # illegal break-in attempts and writes all output to $logdir. | |
| # <http://blog.philippklaus.de/2010/02/analyse-illegal-ssh-login-attempts/#comment-12211> | |
| # inspired by <http://goo.gl/QMOhiU> | |
| # and <http://filipivianna.blogspot.com/2009/10/checking-authlog-for-ssh-brute-force.html> | |
| logbasedir=~/logs |
| #!/bin/sh | |
| # /root/bin/get_resources.sh | |
| echo -n "Server Resource Report at `/bin/hostname` on " | |
| date "+%Y/%m/%d %T" | |
| echo | |
| echo "[dmesg Linux version]" | |
| dmesg | grep "Linux version" |
| #!/usr/bin/env python | |
| # found on <http://files.majorsilence.com/rubbish/pygtk-book/pygtk-notebook-html/pygtk-notebook-latest.html#SECTION00430000000000000000> | |
| # simple example of a tray icon application using PyGTK | |
| import gtk | |
| def message(data=None): | |
| "Function to display messages to the user." | |
| <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- --> | |
| <!-- Philipp Klaus (c) 2010 --> | |
| <!-- Aiptek HP 12000U - working with pressure sensitivity in GIMP (activate using Edit -> Preferences -> Input Devices -> Configure Extended Input Devices -> stylus, Mode: Screen ) --> | |
| <!-- installation | |
| Get the required kernel module: | |
| sudo aptitude install xserver-xorg-input-aiptek | |
| and copy this file into 10-aiptek.fdi: | |
| sudo gedit /etc/hal/fdi/policy/10-aiptek.fdi | |
| --> | |
| <deviceinfo version="0.2"> |
| #!/usr/bin/env python | |
| # -*- coding: UTF-8 -*- | |
| # Gnome Keyring in Python | |
| # Shows how to store credentials of type NETWORK_PASSWORD using python. | |
| # Found on <http://www.rittau.org/blog/20070726-01> | |
| # More on the GNOME Keyring: <http://live.gnome.org/GnomeKeyring> | |
| # alternatively have a look at the new universal and actively developed Python Keyring: | |
| # on <http://pypi.python.org/pypi/keyring> and <http://home.python-keyring.org/> |
e1000e Linux* Base Driver for Intel® Network Connection
================================================================================
January 13, 2014
================================================================================
| // Frankfurt University WebCT Downloader | |
| // 17-05-2008 | |
| // Copyright (c) 2008, Marc Powell <marc DOT powell AT yahoo DOT com> | |
| // | |
| // Released under the GPL license | |
| // http://www.gnu.org/copyleft/gpl.html | |
| // | |
| // -------------------------------------------------------------------- | |
| // | |
| // Allows Iowa State University distance-education students to download |
| #!/usr/bin/env python | |
| # found on <http://www.febo.com/geekworks/data-capture/tds-2012.html>: <ftp://ftp.febo.com/pub/n8ur_programs/tds-2012.py> | |
| # tds-2012.py | |
| # version 0.1 -- 27 Jan 2004 | |
| # | |
| # Plot display of Tektronix TDS-2012 (or other TDS-10xx or TDS-20xx DSO) | |
| # | |
| # Copyright 2004 by John R. Ackermann N8UR ([email protected]) |
| #!/usr/bin/env python | |
| # -*- encoding: UTF8 -*- | |
| # originally from whitetiger on <http://snippets.dzone.com/posts/show/3047> | |
| # modified 2010 by Philipp Klaus <philipp.l.klaus AT web-dot-de> | |
| import urllib | |
| ####################################################################################### <BabelFish> | |
| class BabelFish(object): |