This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // image instance | |
| PImage img; | |
| // set up canvas | |
| void setup() { | |
| img = loadImage("IMG_0472.png"); | |
| size(img.width, img.height); // this is cool! | |
| } | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # http://en.wikipedia.org/wiki/Collatz_conjecture | |
| def collatz(n) | |
| seq = Array.new | |
| while n > 1 | |
| if n%2 > 0 | |
| n = 3*n + 1 | |
| else | |
| n = n / 2 | |
| end #if | |
| seq.push n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // wtf.php | |
| <?php | |
| $data = array( | |
| 'home' => array( | |
| 'foo' => "d'oh!", | |
| 'bar' => '3', | |
| 'biz' => '2' | |
| ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="de"> | |
| <head> | |
| <title>experiment : masonry timeline</title> | |
| <meta charset="utf-8" /> | |
| <!-- icons via http://www.komodomedia.com/blog/2009/06/social-network-icon-pack/ --> | |
| <style type="text/css"> | |
| body { | |
| font-family: Tahoma; |
NewerOlder