woensdag 22 mei 2013

recept choco pasta

200 gr zwarte chocolade
4 eetlepels suiker
4 eieren
1/4 pakje boter (1/4 van 250 gr)

chocolade + boter + suiker au bain marie smelten
Dooiers er bij
Stijf geklopte eiwit er bij

woensdag 24 april 2013

python uninstall osx


where is my python

which python
which python2.7

remove python in Applications

  1. remove the Python 2.7 framework
    sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7
  2. remove the Python 2.7 applications directory
    sudo rm -rf "/Applications/Python 2.7"
  3. remove the symbolic links in /usr/local/bin that point to this python version seels -l /usr/local/bin
    remove python installed with pkg installer
    pkgutil --pkgs | grep org.python.Python
    
    
    remove python installed with homebrew
    
    
    remove python installed with fink
    python is installed in /sw directory
    sudo -r rm /sw
    sudo fink uninstall python
    remove python installed with macport
    python is installed in /opt directory
    port -y -u uninstall
    sudo port uninstall python27
    sudo port -f uninstall --follow-dependents python27
    

    extra work
    remove the symbolic links in /usr/local/bin that point to this python version seels -l /usr/local/bin
    sudo rm /usr/bin/python2.7
    
    
    .profile or .bash_profile 
    remove the python stuff in:
    open -t ~/.bash_profile
    
    
    
    
    
    

zondag 21 april 2013

apt-get op MCOSX


Gebruik fink

http://www.finkproject.org/faq/

goede beschrijving:
http://fink.thetis.ig42.org/download/srcdist.php

Op mijn mac book air

download file:

dinsdag 11 december 2012

processing and app engine

write in app.yaml


handlers:
- url: /static/js/processing.js
  static_files: static/js/processing.js
  upload: static/js/processing.js


make dir in the app directory
static/js      with processing 
static/processing   with the  pde files


woensdag 14 november 2012


import hashlib

       md5=hashlib.md5(data).hexdigest()
     
        sha1 = hashlib.sha1(data).hexdigest()
        sha256 = hashlib.sha256(data).hexdigest()


import zlib

    adler32 = zlib.adler32(data)
        crc32=zlib.crc32(data)

zaterdag 10 november 2012

audio javascript



links
http://chromium.googlecode.com/svn/trunk/samples/audio/javascript-processing.html
https://wiki.mozilla.org/Audio_Data_API

woensdag 5 september 2012

suikerbrood


350 gr bloem
150 ml melk
10 g suiker
1 zakje gist (7 g)
1 tl zout
2 el gembersiroop
20 g gesmolten boter
1 ei, 

150 g greinsuiker, (of suiker klontjes in stukjes)
snufje kaneel