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
" Pathogen : https://github.com/tpope/vim-pathogen | |
execute pathogen#infect() | |
set nocompatible " be iMproved | |
filetype off " required! | |
" Setting up Vundle - the vim plugin bundler | |
let iCanHazVundle=1 | |
let vundle_readme=expand('~/.vim/bundle/vundle/README.md') | |
if !filereadable(vundle_readme) | |
echo "Installing Vundle.." |
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
x, *xs, y, z = map(lambda j: lambda i: j**i ,range(1, 10)) | |
x(2),y(2),z(2) |
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
awk '{if(NR==1)sub(/^\xef\xbb\xbf/,"");print}' INFILE > OUTFILE |
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
➜ _posts git:(master) ✗ file 2014-01-20-schreibdochmal_19_01_14.md | |
2014-01-20-schreibdochmal_19_01_14.md: exported SGML document, UTF-8 Unicode (with BOM) text, with very long lines | |
➜ _posts git:(master) ✗ file 2014-01-11-the-making-of-a-timelapse.md | |
2014-01-11-the-making-of-a-timelapse.md: ASCII text, with very long lines |
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
# Check for updates on initial load... | |
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then | |
/usr/bin/env ZSH=$ZSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT zsh $ZSH/tools/check_for_upgrade.sh | |
fi | |
# Initializes Oh My Zsh | |
# add a function path | |
fpath=($ZSH/functions $ZSH/completions $fpath) |
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
* 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
/* | |
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
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 |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.