Cookbook: Difference between revisions
Andre Castro (talk | contribs) |
(→Print) |
||
(41 intermediate revisions by 9 users not shown) | |||
Line 9: | Line 9: | ||
* [[Jack | Run jack on Linux install]] - Linux | * [[Jack | Run jack on Linux install]] - Linux | ||
* [[Festival]] - Text to Speech | * [[Festival]] - Text to Speech | ||
* [[Speech recognition]] - PyAudio, Python, Pocketsphinx | |||
* [[FMtoTEXT]] - Linux, SpeechRegognition, pyaudio, pyrtlsdr, Python | |||
* [[Pyaudio play wav file]] - Use python with PyAudio library to playback audio | |||
* [[Icecast|Audio Streaming Online]]- icecast, ices, linux | |||
== Database == | == Database == | ||
Line 53: | Line 57: | ||
== Networking == | == Networking == | ||
* [[Syncthing]] - share folders with | * [[Syncthing]] - share folders with | ||
* [[Netcat Chat]] - shell, netcat | * [[Netcat Chat]] - shell, netcat | ||
* [[Get some HTTP content without a browser]] - Shell, netcat | * [[Get some HTTP content without a browser]] - Shell, netcat | ||
* [[Tunnel your HTTP traffic with ssh]] - Shell, SSH, SOCKS | * [[Tunnel your HTTP traffic with ssh]] - Shell, SSH, SOCKS | ||
* [[Sniff HTTP traffic on your machine]] - Shell, dsniff | * [[Sniff HTTP traffic on your machine]] - Shell, dsniff | ||
* [[Wrap network traffic of almost any application with a SOCKS proxy]] - Shell, Dante, SOCKS | * [[Wrap network traffic of almost any application with a SOCKS proxy]] - Shell, Dante, SOCKS | ||
* [[find my pi on the local network]] - Shell | * [[find my pi on the local network]] - Shell | ||
* [[Rqlite|Distributed database, Rqlite]] - Rqlite, Linux, Pi | |||
== Networking: SSH == | |||
* [[SSH]] - what you always wanted to know, but were afraid to ask about SSH | |||
* [[Creating, using and managing ssh keys]] - shell, ssh, keyring | |||
* [[Sshfs|sshfs]] - mount remote directories over an SSH to your local machine | |||
* [[Reverse ssh tunnel]] - a poor man's VPN, or the way to access a local machine, without a public IP | |||
==Networking: webserver == | |||
* [[Public html directories for users]] | |||
== Operating Systems == | == Operating Systems == | ||
* [[LaunchdAutostart | Starting a daemon or agent on OSX boot/login]] - Property List, Shell | * [[LaunchdAutostart | Starting a daemon or agent on OSX boot/login]] - Property List, Shell | ||
* [[DjangoVirtualbox | Running a Django dev environment from VirtualBox]] - !VirtualBox, Python, GNU/Linux | * [[DjangoVirtualbox | Running a Django dev environment from VirtualBox]] - !VirtualBox, Python, GNU/Linux | ||
* [[Install_Linux_shell_on_Windows_10 | Running the Linux shell on Windows 10]] - Shell, Windows, Windows subsystem for Linux | |||
* [[Install Day| Some notes on the install day.]] | * [[Install Day| Some notes on the install day.]] | ||
* [[Create a new user account on your GNU/Linux machine]] - Shell | * [[Create a new user account on your GNU/Linux machine]] - Shell | ||
Line 72: | Line 85: | ||
* [[Install Linux on PZI iMacs]] - Linux Debian on the PZI iMacs (the new devices, 2015) | * [[Install Linux on PZI iMacs]] - Linux Debian on the PZI iMacs (the new devices, 2015) | ||
* [[Floppies write]] - in Linux | * [[Floppies write]] - in Linux | ||
* [[Install Linux along with Windows]]- Linux, Windows, DualBoot | |||
==Raspberry Pi== | ==Raspberry Pi== | ||
Line 77: | Line 92: | ||
* [[Clone_RPi]] clone a Raspberry Pi system to an image file | * [[Clone_RPi]] clone a Raspberry Pi system to an image file | ||
* [[PiCam]] - using a camera in a Pi | * [[PiCam]] - using a camera in a Pi | ||
* [[Pi_skin_conductivity]] Raspberry Pi's GPIO as skin conductivity sensors | * [[RaspberryPi GPIO]] - Set up and Test Pi's GPIO | ||
** [[Pi GPIO PWD LED]] Control LED brightness with Raspberry Pi + Python | |||
** [[Pi_skin_conductivity]] Raspberry Pi's GPIO as skin conductivity sensors | |||
** [[PI LED strips]] - Control LED strips with a Pi | |||
* [[Tinc|Tinc in pi]] | |||
* [[https://pzwiki.wdka.nl/mediadesign/Prototypology/Adapterology-1 | How to connect a analog monitor to an Raspberry Pi 4? ]] | |||
== Print == | == Print == | ||
* [[CommandLinePageLayout | Command-line page layout]] | * [[CommandLinePageLayout | Command-line page layout]] | ||
* [[Weasyprint|Weasyprint: HTML & CSS To print]] | * [[Weasyprint|Weasyprint: HTML & CSS To print]] | ||
* [[Imposition|Page Impositions with Imagemagick]] | |||
* [[Mini zine collator|collating/imposing a one-sheet mini zine layout]] | |||
* [[Pandoc]] | |||
* [[ICML]] structured content in inDesign + designing using styles | |||
* [[Pen plotters]] | |||
== Arduino == | |||
* [[2008_3.05 | Pyserial]] - Python | |||
== Python == | == Python == | ||
* [[Python Virtual Envs]] | |||
* [[Python data-types]] | * [[Python data-types]] | ||
* [[Python Subprocess]] | * [[Python Subprocess]] | ||
Line 90: | Line 119: | ||
* [[diffs in Python]] - interpreting [[http://en.wikipedia.org/wiki/Diff_utility diffs]] between files or string in Python | * [[diffs in Python]] - interpreting [[http://en.wikipedia.org/wiki/Diff_utility diffs]] between files or string in Python | ||
* [[frames2movie]] | * [[frames2movie]] | ||
* [[Flask]] | |||
* [[PythonImageLibrary]] | |||
==Shell== | ==Shell== | ||
* [[Shell Cheat Sheet]] | * [[Shell Cheat Sheet]] | ||
* [[Shell Scripting]] | * [[Shell Scripting]] | ||
* Unix shell on Windows with [[Cygwin]] | |||
* [[jq|jq]] Command line JSON processor | |||
== Games == | |||
* [[Pygame]] - Python | |||
==Unix== | |||
* [[UNIX]] | |||
* [[UNIX_basics]] | |||
== Version Control == | == Version Control == | ||
* [[Configuring Git]] - git | * [[Configuring Git]] - git | ||
* [[Working with Git branches]] | |||
== Video == | == Video == | ||
Line 117: | Line 158: | ||
* [[Displaying a list of words from a text followed by the number of times they appear]] - Python | * [[Displaying a list of words from a text followed by the number of times they appear]] - Python | ||
== | == OCR == | ||
* [[Character recognition - from pdf to txt]] - Shell | * [[Character recognition - from pdf to txt]] - Shell | ||
* [[Install Tesseract 4.0-Ubuntu|Install Tesseract 4.0 and training tools- Ubuntu]] | |||
== Web == | == Web == | ||
Line 130: | Line 172: | ||
* [[PythonTwitter | Reading data from Twitter]] - Python | * [[PythonTwitter | Reading data from Twitter]] - Python | ||
* [[PythonHtml5lib | Scraping a web page (using html5lib & "the dom")]] - Python | * [[PythonHtml5lib | Scraping a web page (using html5lib & "the dom")]] - Python | ||
* [[ | * [[JQuery]] | ||
* [[RSSFeedTime | From the beginning of time... / Performing an RSS feed with time]] | * [[RSSFeedTime | From the beginning of time... / Performing an RSS feed with time]] | ||
* [[PythonFlickrImageFeed | Downloading images from a Flickr RSS search feed]] | * [[PythonFlickrImageFeed | Downloading images from a Flickr RSS search feed]] | ||
Line 141: | Line 183: | ||
* [[Displaying the titles of an RSS feed]] - Python | * [[Displaying the titles of an RSS feed]] - Python | ||
* [[User:Jonas Lund/jQueryAjax | How to do Simple Ajax Request with jQuery]] | * [[User:Jonas Lund/jQueryAjax | How to do Simple Ajax Request with jQuery]] | ||
* [[Mastodon-api|Posting text and image to Mastodon]] | |||
* [[Make Cookies]]- Javascript | |||
== Agenda == | == Agenda == |
Latest revision as of 13:48, 29 September 2023
See also the Category:Cookbook
Audio
- Simple algorithmic sequencing - Python
- Sox - Shell
- Using a microphone as a sensor - Python
- Net-Art Radio - Shell
- ffmpeg and audio (transcoding and metadata) - Shell
- Run jack on Linux install - Linux
- Festival - Text to Speech
- Speech recognition - PyAudio, Python, Pocketsphinx
- FMtoTEXT - Linux, SpeechRegognition, pyaudio, pyrtlsdr, Python
- Pyaudio play wav file - Use python with PyAudio library to playback audio
- Audio Streaming Online- icecast, ices, linux
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
- Syncthing - share folders with
- 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
- find my pi on the local network - Shell
- Distributed database, Rqlite - Rqlite, Linux, Pi
Networking: SSH
- SSH - what you always wanted to know, but were afraid to ask about SSH
- Creating, using and managing ssh keys - shell, ssh, keyring
- sshfs - mount remote directories over an SSH to your local machine
- Reverse ssh tunnel - a poor man's VPN, or the way to access a local machine, without a public IP
Networking: webserver
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
- Running the Linux shell on Windows 10 - Shell, Windows, Windows subsystem for 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
- Install OS X on external drive - Mac OS X, OS X Installer, USB, external devices
- Install rEFInd boot manager - Apple, OS X, EFI, rEFIt, rEFInd, boot manager
- Install Linux on PZI iMacs - Linux Debian on the PZI iMacs (the new devices, 2015)
- Floppies write - in Linux
- Install Linux along with Windows- Linux, Windows, DualBoot
Raspberry Pi
- The Ultimate RPi Installation Guide
- Clone_RPi clone a Raspberry Pi system to an image file
- PiCam - using a camera in a Pi
- RaspberryPi GPIO - Set up and Test Pi's GPIO
- Pi GPIO PWD LED Control LED brightness with Raspberry Pi + Python
- Pi_skin_conductivity Raspberry Pi's GPIO as skin conductivity sensors
- PI LED strips - Control LED strips with a Pi
- Tinc in pi
- [| How to connect a analog monitor to an Raspberry Pi 4? ]
- Command-line page layout
- Weasyprint: HTML & CSS To print
- Page Impositions with Imagemagick
- collating/imposing a one-sheet mini zine layout
- Pandoc
- ICML structured content in inDesign + designing using styles
- Pen plotters
Arduino
- Pyserial - Python
Python
- Python Virtual Envs
- Python data-types
- Python Subprocess
- JSON in Python
- Jinja - templating engine
- diffs in Python - interpreting [diffs] between files or string in Python
- frames2movie
- Flask
- PythonImageLibrary
Shell
- Shell Cheat Sheet
- Shell Scripting
- Unix shell on Windows with Cygwin
- jq Command line JSON processor
Games
- Pygame - Python
Unix
Version Control
Video
Text
- Working with special characters: Unicode - Python
- Generating the chapters of an ePub using a couple of HTML files - Python
- Regex - Python
- Manipulate XMLs using XPath - Python, lxml, XPath
- 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
OCR
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
- JQuery
- 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
- Posting text and image to Mastodon
- Make Cookies- Javascript
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