taken from here:
http://blogs.bu.edu/mhirsch/2014/11/getting-started-with-intel-edison/
http://blogs.bu.edu/mhirsch/2014/11/installing-python-pip-on-intel-edison/
$ cat /etc/opkg/base-feeds.conf
taken from here:
http://blogs.bu.edu/mhirsch/2014/11/getting-started-with-intel-edison/
http://blogs.bu.edu/mhirsch/2014/11/installing-python-pip-on-intel-edison/
$ cat /etc/opkg/base-feeds.conf
Interesting data sets:
Einwohnerinnen und Einwohner in Berlin in LOR-Planungsräumen nach Wohndauer am 31.12.2014
data: https://www.statistik-berlin-brandenburg.de/opendata/Beschreibung_Wohndauer_Lage_Datenpool.pdf
#!/bin/sh | |
STARTPAGE=1 # set to pagenumber of the first page of PDF you wish to convert | |
ENDPAGE=86 # set to pagenumber of the last page of PDF you wish to convert | |
SOURCE=book.pdf # set to the file name of the PDF | |
OUTPUT=book.txt # set to the final output file | |
RESOLUTION=600 # set to the resolution the scanner used (the higher, the better) | |
touch $OUTPUT | |
for i in `seq $STARTPAGE $ENDPAGE`; do | |
convert -monochrome -density $RESOLUTION $SOURCE\[$(($i - 1 ))\] page.tif |
# cd | |
alias ..='cd ..' | |
alias ...='cd ../..' | |
alias cd..='cd ..' | |
alias cdv='cdvirtualenv' | |
alias vhost='cd /etc/apache2/vhosts.d/' | |
function cdl { cd $1; ls;} # Change and list directory | |
function cdls { cd $1; clear; ls;} # Change and list directory on clear screen | |
alias nocomment='sed -i.bak "/^\#/d;/^ *$/d"' |
import turtle | |
def drawTriangle(points,color,myTurtle): | |
myTurtle.fillcolor(color) | |
myTurtle.up() | |
myTurtle.goto(points[0][0],points[0][1]) | |
myTurtle.down() | |
myTurtle.begin_fill() | |
myTurtle.goto(points[1][0],points[1][1]) | |
myTurtle.goto(points[2][0],points[2][1]) |
import turtle | |
import random | |
# setup the window with a background colour | |
wn = turtle.Screen() | |
wn.bgcolor("#EFECCA") | |
wn.setup(width=250, height=250) | |
# assign a name to your turtle | |
turtle = turtle.Turtle() |