This file contains 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
#!/bin/bash | |
# http://www.independent.co.uk/news/uk/politics/house-of-lords-is-no-longer-a-place-for-fine-dining-peers-gripe-9102580.html | |
places=( | |
"House of Lords" | |
"Angel of the North" | |
"Jubilee Line" | |
"Wembley Stadium" | |
"Canterbury Cathedral" | |
"Bridge on the River Kwai" |
This file contains 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
#!/bin/bash | |
<<COMMENT1 | |
This is the kind of bullshit I'm going for: | |
http://en.wikipedia.org/wiki/List_of_songs_recorded_by_My_Chemical_Romance | |
COMMENT1 | |
############################################################################ |
This file contains 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
// Scratchy rectangle shapes. | |
// Lines with origin and destination points that are subtly randomised around a point. | |
// Creates a naturalistic cross-hatching effect. | |
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; |
This file contains 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
#!/usr/bin/env ruby | |
#encoding: UTF-8 | |
# http://www.gamefaqs.com/snes/563538-chrono-trigger/faqs/31563 | |
################################################################################ | |
# Input: 'Paris in the Spring ' | |
# Output: 'Paris in the Spring ' | |
class String |
This file contains 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
// Create a symmetrical diamond shaped (sideways square) "snowflake". | |
// This can be rotated 45° to make a square. | |
// Create 1/8th of the shape and reflect that for the remaining 7/8ths. | |
// Make it a repeatable function with a parameter for the center XY. | |
// New pattern generated on key press. | |
// Animated GIF generated and saved on form unload. | |
// ToDo: Store as class? Then it would be copyable... | |
// Keys: |
This file contains 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
// Create a symmetrical diamond shaped (sideways square) snowflake. | |
// Create 1/8th of the shape and reflect that for the remaining 7/8ths. | |
// Make it a repeatable function with a parameter for the center XY. | |
// New pattern generated on key press. | |
// Animated GIF generated and saved on form unload. | |
// ToDo: Store as class? Then it would be copyable. | |
// Save as animated GIF |
This file contains 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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = true; | |
// The time between GIF frames | |
int frameDelay = 60; |
This file contains 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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = false; | |
// The time between GIF frames | |
int frameDelay = 60; |
This file contains 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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = false; | |
// The time between GIF frames | |
int frameDelay = 60; |
This file contains 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
// Save as animated GIF | |
// Requires gifAnimation Processing Library | |
// http://www.extrapixel.ch/processing/gifAnimation/ | |
import gifAnimation.*; | |
GifMaker gifExport; | |
boolean saveToGif = true; | |
// The time between GIF frames | |
int frameDelay = 50; |
OlderNewer