#Journal Entries
{% for entry in journal %} ##{{ entry['Date'] | format }}
{% if entry.place() %} {{ entry.place() }}, {% endif %} {{ entry['Date'] | format('%-I:%M %p %Z') }} {% if 'Photo' in entry %}
| /** | |
| * Rotates an image around an angle | |
| * For this the direction vector dir will be used. | |
| * E.g. if you want to code something like Asteroids: | |
| * A rocket, which is always pointing towards the direction it is flying to... | |
| * For details about atan2 see here: http://www.processing.org/reference/atan2_.html | |
| * | |
| * keywords: atan, atan2, sin, cos, tan, vector, vektor, math, mathe, winkel, | |
| * angle, rotation, processing.org, 360, TWO_PI, origin, ursprung, image, bild | |
| */ |
| void setup(){ | |
| frame.setResizable(true); | |
| //... | |
| } | |
| // tags: processing, p5, frame, java, resize, window |
| echo "THIS IS STUFF FOR THE FILE" > index.html | |
| the single > just overwrites anything in there. | |
| echo "THIS IS STUFF FOR THE FILE" >> index.html | |
| the dual >> appends the stuff at the end. |
| /* | |
| * Copied from: Stack Overflow user V.K. http://stackoverflow.com/users/1690199/v-k | |
| * Tags: Intersection, ellipse, blend, intersect, difference, overlap, overlapping | |
| * | |
| */ | |
| PGraphics c; | |
| PGraphics d; | |
| void setup() { | |
| size(300, 300); |
| // Copied from Processing.org Forum user voodoc | |
| I had a hard time finding the answer for this, so I thought I would put this here. | |
| 1. Create new Java Project. | |
| 2. Create a new folder in you project folder named "lib". | |
| 3. Right click "lib" and import all of the files contained in: \ Processing_2.0b3 \ core \ library. | |
| 4. Shift click three jar's: core.jar, gluegen-rt.jar, & jogl-all.jar. | |
| 5. Right click one of the selected files and go to "Build Path" and then "Add to Build Path". | |
| 6. Right click on one of the new .jar's in your build path above, and go to "Build Path" and then "Configure Build Path". | |
| 7. In this menu, expand both gluegen-rt.jar and jogl-all.jar. |
| # taken from user Albert's answer on StackOverflow | |
| # http://stackoverflow.com/questions/5292204/macosx-get-foremost-window-title | |
| # tested on Mac OS X 10.7.5 | |
| global frontApp, frontAppName, windowTitle | |
| set windowTitle to "" | |
| tell application "System Events" | |
| set frontApp to first application process whose frontmost is true | |
| set frontAppName to name of frontApp |
#Journal Entries
{% for entry in journal %} ##{{ entry['Date'] | format }}
{% if entry.place() %} {{ entry.place() }}, {% endif %} {{ entry['Date'] | format('%-I:%M %p %Z') }} {% if 'Photo' in entry %}
Dieses Dokument in chic bei Gist.io anzeigen – click
Version: 0.1
Generelle Typo-Links:
| #! /bin/bash | |
| # dayonebac | |
| # v.1.1 | |
| # Tim Pulver 2013 | |
| # | |
| # dayonebac calls dayone_export, which needs to be installed, too. | |
| # Download it from here: https://github.com/nathan11g/dayone_export | |
| # place this file in /usr/local/bin and make it executable using | |
| # chmod +x dayonebac |
| #!/bin/bash | |
| # getkey.sh – Musical Key Analysis | |
| # | |
| # This is a helper script for Yate, which calls the application | |
| # KeyFinder to analyse the musical key of a track and return it. | |
| # If you set up custom key codes (Camelot system) in KeyFinder, | |
| # these will also be returned. | |
| # | |
| # Download KeyFinder here: http://www.ibrahimshaath.co.uk/keyfinder/ |