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
-24/1/10- | |
Chrome(Unstable) | |
Dropbox | |
Launchy | |
CCleaner | |
Bamboo Driver | |
DisplayLink (Lilliput) Driver | |
VLC | |
[REMOVED GADGET FEATURE] | |
Virtual Clone Drive |
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
# Array evaluations were taking up 60% of my execution time. This is a simplified version | |
import logging, numpy | |
logging.basicConfig(level=logging.INFO) | |
x=numpy.random.rand(100,100) | |
logging.debug("This is bloody slow because of this: %s"%x) | |
# Remember, the array is evaluated BEFORE being passed to logging |
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
A Message from Farset Labs: | |
Hand-in Procedure | |
The hand-in procedure has two (2!) deadlines, is simple to follow, and can be handled by a single member of each team. | |
Hand-in Deadlines (all local times) |
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
# Take the last command and try it again with sudo while deleting leading spaces | |
alias please='sudo $(history 2 | head -n1 | perl -pe "s/^\s*\d+\s+//") | |
# Python compilation check without execution (parse without exec) | |
alias pycheck='python -m py_compile' | |
# Python profiling | |
alias pryfile='python -m cProfile -o profile.run' | |
# Enhanced Sudo |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
import string | |
from urllib.request import urlopen | |
from collections import Counter | |
def getCipherText(): | |
cipherreq = urlopen("http://pypool.daihuws.me.uk/crypto/encrypted.txt") | |
cipherstr = cipherreq.read().decode("utf-8") | |
cipherreq.close() | |
return cipherstr |
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
/* | |
Melody | |
Plays a melody | |
circuit: | |
* 8-ohm speaker on digital pin 8 | |
created 21 Jan 2010 | |
modified 30 Aug 2011 |
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
* C14 - Whiskey | |
* 1680s - Chocolate Milk | |
* 1730 - the concept of an entrepreneur - Richard Cantillion introduced the term before Jean-Baptiste Say in his work | |
* 1813 - the mining safety lamp | |
* 1836 - the induction coil | |
* 1844 - the syringe | |
* 1851 - the stereo-stethoscope | |
* 1866 - the trans-atlantic phone call | |
* 1891 - the torpedo | |
* 1884 - the steam turbine |
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
sudo add-apt-repository ppa:phablet-team/tools | |
sudo apt-get update | |
sudo aptitude -y install phablet-tools android-tools-adb android-tools-fastboot | |
phablet-flash ubuntu-system --channel devel --bootstrap |
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
# Rename this distribution example file to motion.conf | |
# | |
# This config file was generated by motion 3.2.11 | |
############################################################ | |
# Daemon | |
############################################################ | |
# Start in daemon (background) mode and release terminal (default: off) |
OlderNewer