Cookbook: Difference between revisions
Andre Castro (talk | contribs) (→Text) |
Andre Castro (talk | contribs) (→Text) |
||
Line 78: | Line 78: | ||
* [[Unicode | Working with special characters: Unicode]] - Python | * [[Unicode | Working with special characters: Unicode]] - Python | ||
* [[ePubChapters | Generating the chapters of an ePub using a couple of HTML files]] - Python | * [[ePubChapters | Generating the chapters of an ePub using a couple of HTML files]] - Python | ||
* [[PythonRegEx |Regex]] | * [[PythonRegEx |Regex]] - Python | ||
* [[Simplifying HTML by removing "invisible" parts]] - Python, lxml | * [[Simplifying HTML by removing "invisible" parts]] - Python, lxml | ||
* [[Stripping all the tags from HTML to get pure text]] - Python, nltk | * [[Stripping all the tags from HTML to get pure text]] - Python, nltk |
Revision as of 19:40, 16 February 2013
See also the Category:Cookbook
Audio
- Simple algorithmic sequencing - Python
- Manipulating audio from the command-line with sox - Shell
- Using a microphone as a sensor - Python
- Net-Art Radio - Shell
- ffmpeg and audio (transcoding and metadata) - Shell
Database
Django
- Simple Mailbomber - Shell
- Network Theory Spam Machine - Shell
- Random Email Spam Machine - Shell
- IMAP Access to Email Account - Python
Files
- Doing "something" with all files in a directory - Command-line, Python
- Reading from a binary file - Python
- Zero-padding names
Food
- Peasoup with mint - Soup
Hardware setup
Image
- A introduction to the command-line using ImageMagick
- Manipulating images from the command-line with ImageMagick
- More ImageMagick-tricks from DIT-Fanzine workshop - Python + Bash
- Generating an ePub filled with images - Python
- Drawing graphs with Python + PyGraphViz
- "Lorem ipsum" for learning while practicing Inkscape + Python
- Extracting Pixel Data with ImageMagick
Lists
- Working with lists in Python - Python
Maths
- Calculate the distance between 2 points on two axis - XY
- Calculate the distance between 3 points on three axis - XYZ
- Move from one point to another point on two axis - XY
Networking
- Creating, using and managing ssh keys - shell, ssh, keyring
- Netcat Chat - shell, netcat
- Get some HTTP content without a browser - Shell, netcat
- Tunnel your HTTP traffic with ssh - Shell, SSH, SOCKS
- Sniff HTTP traffic on your machine - Shell, dsniff
- Wrap network traffic of almost any application with a SOCKS proxy - Shell, Dante, SOCKS
Operating Systems
- Starting a daemon or agent on OSX boot/login - Property List, Shell
- Running a Django dev environment from VirtualBox - !VirtualBox, Python, GNU/Linux
- Some notes on the install day.
- Create a new user account on your GNU/Linux machine - Shell
- Script to create a snapshot of all installed packages in order to re-install on a new machine or after new OS install
Version Control
- Configuring Git - git
Video
Text
- Working with special characters: Unicode - Python
- Generating the chapters of an ePub using a couple of HTML files - Python
- Regex - Python
- Simplifying HTML by removing "invisible" parts - Python, lxml
- Stripping all the tags from HTML to get pure text - Python, nltk
- Looking up synonym-sets for a word - Python, wordnet
- Splitting text into sentences - Python, nltk
- Removing common words / stopwords - Python, nltk
- Finding capitalized words - Python, regex
- Turning a text in an alphabetical list of unique words - Python
- Displaying a list of words from a text followed by the number of times they appear - Python
ORC
Web
- Simple CGI Script in Python
- Escaping special HTML characters - Python
- Creating and working with URLs - Python
- Downloading all images from a page with a custom Web Spider - Python
- Downloading all images from a thread in 4chan - Python
- Loading data from a URL - Python
- Reading data from Twitter - Python
- Scraping a web page (using html5lib & "the dom") - Python
- JQueryBasics
- From the beginning of time... / Performing an RSS feed with time
- Downloading images from a Flickr RSS search feed
- Creating a new Django application from scratch
- Follow and download user's favorites photos on Flickr Python, flickrapi, spider
- JSON parsing from an API and do something with it - JSON, Python, API
- Extracting parts of an HTML document - Python
- Extracting the text contents of a node - Python, lxml
- Turning part of a page back into code (aka serialization) - Python, lxml
- Displaying the titles of an RSS feed - Python
- How to do Simple Ajax Request with jQuery
Agenda
- Convert Networked Media schedule wiki page into calendar file for the 'remind' command line utility - Perl
Electronics & Hardware
- Soldering electronic circuits
- Basic electronic components
- Arduino
- Teensy
- Arduino Midi interface
- Teensy USB MIDI device code
- Piezo-disc preamplifier circuit
Electronics Shopping
Where to buy electronics parts & other stuff
- In Rotterdam:
- DIL electronica in the Jan Lightartstraat, nr 59, behind the Ikazia hospital near Zuidplein
- International Bearing Services sell all kinds of ball-bearings and other mechanical stuff
- Troost Aandrijftechniek bearings and wheels and other mechanical stuff
- Eriks also mechanical bits, gears, etc.
- On-Line:
- Pieter Floris sells Arduini, sensors, displays and other cool stuff
- iPrototype sells Arduini and such
- Sparkfun sell lots of Arduini and other kits. They have their own design-team who make cool gadgets etc. However, they are in the U.S., so you will need a credit-card to buy stuff from Sparkfun, and shipping takes a while...
- Farnell Wholesale Electronics. If you need a part and can't find it anywhere else, look here. However, you need to ba a business and have an account with them before you can order stuff. If you REALLY need something from Farnell, let me (Stock) know and i can order it for you.
Other
To be categorized
- BeautifulSoup
- BASH - Has several subpages, actually this content needs to be made specific to NMM -- right now it's too much yet-another-guide to BASH.
- CompilingOpenSourceSoftware Needs to be rewritten, expanded to a larger Cookbook section on Getting new (open source) software...
- Algorithmic Media needs to get split into various examples of "generating images, audio, and video"
- Audio Cutup PD Patch (images missing)
- ClassyTurtles (Example of using Classes to Implement Turtle Graphics with the PIL)
- Transforming a list of data in Python