User photos: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 11: | Line 11: | ||
Please add/update yourself, but upload the image and use the following syntax: <br> | Please add/update yourself, but upload the image and use the following syntax: <br> | ||
<nowiki>[[Image:mypic.jpg | <pre><nowiki>[[Image:mypic.jpg|100px]] [User:myname|myname]</nowiki></pre> | ||
==How the hell I made this== | ==How the hell I made this== |
Revision as of 17:37, 28 February 2007
Idea (and the actual photos) stolen directly and blatently from magluby (who claimed to have stolen it from bubble), but I thought it'd be cool to wiki this anyway.
Receive 04:27, 28 Feb 2007 (UTC)
The Photos
Adding & Updating Photos
Please add/update yourself, but upload the image and use the following syntax:
[[Image:mypic.jpg|100px]] [User:myname|myname]
How the hell I made this
Well, for anyone who is curious
public class Photos{ public static void main(String [] args){ String temp = " "; while(!Console.EndOfFile()){ String stIn = Console.readToken(); if(stIn.charAt(0)!=temp.charAt(0)){ System.out.println(""); System.out.println("==" + stIn.charAt(0) + "=="); } if(!stIn.equalsIgnoreCase(temp)){ System.out.println("http://www.redbrick.dcu.ie/~magluby/pics/" + stIn +".jpg " + stIn + ""); System.out.println(""); } temp=stIn; } } }
not exactly my best work ;)