User photos: Difference between revisions

From Redbrick Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Idea (and the actual photos) stolen directly and blatently from magluby, but I thought it'd be cool to wiki this anyway [[User:Receive|Receive]] 04:27, 28 Feb 2007 (UTC)
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)
[[Category:Community]]
==The Photos==
==The Photos==


[[User_photos_guys|The Guys]]<br>
[[User_photos_guys|The Guys]]<br>
[[User_photos_girls|The Girls]]
[[User_photos_girls|The Girls]]


==Adding & Updating Photos==
==Adding & Updating Photos==


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|left|100px]] [User:myname|myname]</nowiki>
<pre><nowiki>[[Image:mypic.jpg|100px]] [User:myname|myname]</nowiki></pre>
 
==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 [[User:"+ stIn +"|" + stIn + "]]");
System.out.println("");
}
temp=stIn;
}
}
}
 
not exactly my best work ;)

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

The Guys
The Girls


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 ;)