I hereby claim:
- I am SteveClement on github.
- I am steveclement (https://keybase.io/steveclement) on keybase.
- I have a public key whose fingerprint is 3F4D 8CF6 08F9 4F88 2815 2CB1 69A2 0F50 9BE4 AEE9
To claim this, I am signing this object:
import os | |
def get_size(start_path = '.'): | |
total_size = 0 | |
for dirpath, dirnames, filenames in os.walk(start_path): | |
for f in filenames: | |
fp = os.path.join(dirpath, f) | |
total_size += os.path.getsize(fp) | |
return total_size | |
print get_size() |
#!/usr/bin/env python | |
# | |
# Initially based on sudoku-password card | |
# | |
# This software is in the public domain | |
# | |
# python password-card.py -c 100 -p 13 -n 10 | |
# | |
# Alexandre Dulaunoy (a<AT>foo.be) |
''' | |
====================================================================== | |
Bullshit Generator | |
by Pierre Denis, March 2009 | |
====================================================================== | |
''' | |
# -------------------------------------------------- | |
# grammar engine | |
# -------------------------------------------------- |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Copyright (c) 2012, lepture.com | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# | |
# * Redistributions of source code must retain the above copyright |
#!/usr/bin/env bash | |
cd ~/Documents/Arduino/libraries/ | |
for pkg in `find . -name .git | cut -f2 -d. |tr -d \/ |grep -v Adafruit_LED_Backpack_LibraryAdafruit-LED-Backpack-Library`; do | |
cd ${pkg} | |
git pull | |
cd .. | |
done |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
import pygame, time | |
from pygame.locals import * | |
done = False | |
pygame.init() | |
pygame.font.init() | |
screen = pygame.display.set_mode((320,240)) |
#Kepler's Laws.py | |
# plots the orbit of a planet in an eccentric orbit to illustrate | |
# the sweeping out of equal areas in equal times, with sun at focus | |
# The eccentricity of the orbit is random and determined by the initial velocity | |
# program uses normalised units (G =1) | |
# program by Peter Borcherds, University of Birmingham, England | |
from visual import * |
events = pygame.event.get() | |
for event in events: | |
if event.type == pygame.KEYDOWN: | |
if event.key == pygame.K_LEFT: | |
location -= 1 | |
if event.key == pygame.K_RIGHT: | |
location += 1 |
/* map.data-gares.js - copyright 2013, C-Services Contains the station DATA for the CFL !!!!!!!! DO NOT ALTER THIS FILE !!!!!!!!*/ | |
var gaStationInfo = { | |
gare8200002: { | |
Position: [6.086145, 49.492568], | |
StaticName: "Dudelange-Burange", | |
Name: "Dudelange-Burange", | |
Body: "<p>CFL - Gare de Dudelange-Burange<br>Route de Burange<br>L-3481 Dudelange</p><div>Information:<br>Tel. (352) 2489 2489 (6.00 - 22.00)</div><div>Lost & found:<br>Tel. (352) 4990 5574 (6.00 - 21.30)</div><p></p>", | |
Url: "/espaces/voyageurs/en/gares-et-services/nos-gares/dudelange-burange", | |
ImageUrl: "{imageurl}" | |
}, |