This file contains 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 | |
# -*- encoding: UTF8 -*- | |
# originally from Andreas Jakl, 2009 on <http://www.symbianresources.com/tutorials/general/python/Python.pdf> | |
# modified 2010 by Philipp Klaus <philipp.l.klaus AT web-dot-de> | |
import appuifw,e32,sensor | |
def get_sensor_data(status): |
This file contains 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
obexftp.exe -b 00:14:5d:5b:53:fc -B 11 --chdir /E:/Python/ --put ./time_lapse.py |
This file contains 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 | |
# -*- encoding: UTF8 -*- | |
# Advanced example for an PyS60 application that makes use of appuifw.Form(). | |
# originally found on <http://www.mobilenin.com/pys60/info_tabs_forms.htm> | |
# changed and adopted for the N95 by Philipp Klaus <philipp.l.klaus AT web-dot-de> | |
# Copyright (c) 2006 Jurgen Scheible | |
# This script creates a form |
This file contains 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/perl | |
# untouched version originally found on <http://ww.telent.net/tmp/extract.pl> and <http://ww.telent.net/tmp/png.gp> | |
# <https://web.archive.org/web/20100928045039/http://www.coruskate.net/Garmin%20and%20Linux> | |
use strict; | |
use warnings; | |
use Getopt::Long; | |
use Math::Trig; | |
my $pi=2*acos(0); |
This file contains 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
/* | |
Torus to mug morphing animation, by Lucas V. Barbosa - January 17, 2007 - Coded in: POV-Ray 3.6 | |
License: | |
Info | |
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ | |
Author user page: http://en.wikipedia.org/wiki/User:Kieff | |
The final animation at Wikimedia Commons: http://commons.wikimedia.org/wiki/Image:Mug__morph.gif | |
This file contains 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
#!/bin/sh | |
#################################################################### | |
# # | |
# Basic Backup Script for MediaWiki. # | |
# Created by Daniel Kinzler, brightbyte.de, 2008 # | |
# # | |
# This script may be freely used, copied, modified and distributed # | |
# under the sole condition that credits to the original author # | |
# remain intact. # |
This file contains 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/python | |
#-*- coding:utf8 -*- | |
#======================================================= | |
# Connecting to AVR NET-IO with python | |
# with a graphical user interface | |
#======================================================= | |
# Funktionen: |
This file contains 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
#!/bin/bash | |
### Bash Script that automates the steps to set up an LXC (Linux Container) boxed environment on Ubuntu Linux | |
### <http://blog.philippklaus.de/2011/01/container-virtualization-using-lxc-on-ubuntu/> | |
### | |
### More inspiration can be found in <https://github.com/phbaer/lxc-tools> and in | |
### <https://github.com/halcyon/lxc-tools/commit/b428a6973dd12b75c2400d41f60c454e752c10c6> and | |
### <http://mindref.blogspot.com/2011/01/debian-lxc-create.html>. | |
### | |
### Written by Philipp Klaus <philipp.l.klaus @ web.de> |
This file contains 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
#!/bin/bash | |
## Bash Script to clear cached memory on (Ubuntu/Debian) Linux | |
## By Philipp Klaus | |
## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/> | |
if [ "$(whoami)" != "root" ] | |
then | |
echo "You have to run this script as Superuser!" | |
exit 1 | |
fi |
This file contains 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 python2 | |
""" | |
Other Repositories of python-ping | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
* https://github.com/l4m3rx/python-ping supports Python2 and Python3 | |
* https://bitbucket.org/delroth/python-ping |