User photos: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
Idea (and the actual photos) stolen directly and blatently from [http://www.redbrick.dcu.ie/~magluby/pics/ magluby] (who claimed to have stolen it from [[User:bubble|bubble]]), but I thought it'd be cool to wiki this anyway. <br> | Idea (and the actual photos) stolen directly and blatently from [http://www.redbrick.dcu.ie/~magluby/pics/ magluby] (who claimed to have stolen it from [[User:bubble|bubble]]), but I thought it'd be cool to wiki this anyway. <br> | ||
[[User:Receive|Receive]] 04:27, 28 Feb 2007 (UTC) | [[User:Receive|Receive]] 04:27, 28 Feb 2007 (UTC) | ||
[[Category:Community]] | |||
==The Photos== | ==The Photos== | ||
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== |
Latest revision as of 02:47, 20 April 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 ;)