<?xml version="1.0" encoding="UTF-8" ?>
			<rss version="2.0">
			<channel>
			<title>7chan - pr</title>
			<link>http://img.7chan.org/pr</link>
			<description>Live RSS feed for http://img.7chan.org/pr</description>
			<language>en</language><item>
				<title>2071</title>
				<link>http://img.7chan.org/pr/res/2071.html</link><description><![CDATA[[http://img.7chan.org/pr/src/122719285390.jpg] <br /><br>Does anyone know any codes I can add, so that when I write on a person&#039;s wall on facebook they cant delete my wallpost?<br><br>]]></description>
				</item><item>
				<title>2070</title>
				<link>http://img.7chan.org/pr/res/2070.html</link><description><![CDATA[[http://img.7chan.org/pr/src/122718235247.jpg] <br /><br>Hey /pr/, got a question for you.<br><br>I&#039;ve got a little project I&#039;m working on for a few days and I was thinking if it manages to evolve into something usefull I&#039;d like to make it opensource. Thing is, I&#039;ve never made anything opensource so this would be a first. What kind of pointers could you give me? like a site (sourcefourge, for example) to host everything, svn, etc.<br><br>What other things should I be thinking of if I want to make this project open-source?<br><br>]]></description>
				</item><item>
				<title>2069</title>
				<link>http://img.7chan.org/pr/res/2055.html#2069</link><description><![CDATA[If this is a live public server as opposed to a localhost one, just code a line of<br><br><div style="white-space: pre !important;font-family: monospace !important;">&lt;?if ( $_SERVER[&#039;REMOTE_ADDR&#039;] === &#039;YOUR.IP&#039; ){print &#039;&lt;pre&gt;&#039;;print_r($_SERVER);print &#039;&lt;/pre&gt;&#039;;}?&gt;</div><br><br>If localhost, just a simple print_r($_SERVER);<br><br>]]></description>
				</item><item>
				<title>2068</title>
				<link>http://img.7chan.org/pr/res/2051.html#2068</link><description><![CDATA[bitblt<br><br>]]></description>
				</item><item>
				<title>2067</title>
				<link>http://img.7chan.org/pr/res/2055.html#2067</link><description><![CDATA[switch to .NET<br><br>]]></description>
				</item><item>
				<title>2066</title>
				<link>http://img.7chan.org/pr/res/2063.html#2066</link><description><![CDATA[OP here, i figured it out, I had to change eax to ecx in the main procedure. Not that anyone here knows assembly anyways<br><br>]]></description>
				</item><item>
				<title>2064</title>
				<link>http://img.7chan.org/pr/res/2064.html</link><description><![CDATA[[http://img.7chan.org/pr/src/122715323928.jpg] <br /><br><a href="http://developers.slashdot.org/developers/08/11/19/2321230.shtml">http://developers.slashdot.org/developers/08/11/19/2321230.shtml</a><br><br>]]></description>
				</item><item>
				<title>2063</title>
				<link>http://img.7chan.org/pr/res/2063.html</link><description><![CDATA[[http://img.7chan.org/pr/src/122715008125.jpg] <br /><br>Any MASM users here. The point of this program is to take in a gpa and credits and determine whether the user is eligible or not. It is supposed to loop infinitely until the user enters 0 for either value, but when the user is not eligible, it exits and I cannot figure out why. Heres the code<br><div style="white-space: pre !important;font-family: monospace !important;">TITLE Modified College Registration example from Section 6.7.2 		      (Assign5.asm); Description: This program inputs two integers from the user, one for a grade average; and determines whether they are not eligible ro register. The program loops until the user enters 0; Author: Joseph Crain Jr. (W0248397); Date Created: 11-13-2008; Last Modification Date: 11-13-2008INCLUDE Irvine32.incTRUE = 1FALSE = 0.datagradeAverage WORD ?          credits WORD ?				OkToRegister BYTE ?prompt1 BYTE &quot;Enter the GPA of the student: &quot;,0prompt2 BYTE &quot;Enter the number of credits to be taken: &quot;,0prompt3 BYTE &quot;You are eligible to register.&quot;,0prompt4 BYTE &quot;You are not eligible to register.&quot;,0error1 BYTE &quot;ERROR: The GPA must be between 0 and 400!&quot;, 0error2 BYTE &quot;ERROR: The credits must be between 1 and 30!&quot;, 0.code main PROC	mov eax,1				; set eax to 1 to initiate an infinite loop	.REPEAT					; start loop	call GetCreditsGPA		; get the input from the user and verify that it is within set bounds	call CheckToRegister	; determine if student is eligible	call DisplayResult		; Print out if student is eligible or not	call WaitMsg			; &quot;Press Any Key To Continue...&quot;	call Crlf				; linefeed	call Crlf				; linefeed	.UNTIL eax == 0			; repeat infinitely until user exits by entering 0 in either field		exit	main ENDP;-----------------------------------------------------GetCreditsGPA PROC;; Prompts the user for the gpa and the credits; credits must be between 1 and 30 and gpa be between 0 and 400 ; Receives: nothing; Returns:  The GPA stored in gradeAverage and the credits stored in credits;-----------------------------------------------------	L1: mov  edx,OFFSET prompt1	    ; address of the prompt for the gpa	call WriteString			    ; display prompt	call ReadInt				    ; read integer into EAX	call Crlf			            ; go to next output line	cmp eax,0						; compare the integer read to the limit of 0	jb E1							; if the integer entered is less than 0, then jump to error	je Kill							; if user enters 0, end the program	cmp eax,400						; compare the integer entered to the limit of 400	ja E1							; jump to error if number exceeds 400	mov gradeAverage,ax				; if good, store the GPA in gradeAverage	L2: mov  edx,OFFSET prompt2	    ; address of the prompt for the credits	call WriteString			    ; display prompt	call ReadInt				    ; read integer into EAX	call Crlf			            ; go to next output line	cmp eax,0						; compare the integer read to the limit of 0	jb E2							; if the integer entered is less than 0, then jump to error	je Kill							; if user enters 0, end the program	cmp eax,30						; compare the integer entered to the limit of 30	ja E2							; jump to error if number exceeds 30	mov credits,ax					; if good, store the credits in credits	ret								; return to main	E1:								; GPA entered is out of range		mov edx,OFFSET error1		; else store the offset of error in edx		call WriteString			; print the error message		call Crlf					; go to next line		jmp L1						; prompt user for gpa again	E2:			     				; credits entered are out of range		mov edx,OFFSET error2		; else store the offset of error in edx		call WriteString			; print the error message		call Crlf					; go to next line		jmp L2						; prompt user for credits again	Kill:							; user entered zero for either value	exitGetCreditsGPA ENDP	;-----------------------------------------------CheckToRegister PROC;; Depending on the values of credits and gradeAverage; the variable OkToRegister is set to true or false.; Receives: nothing; Returns: sets boolean value of OkToRegister;-----------------------------------------------	mov OkToRegister,FALSE					; initialize OkToRegister as false		cmp word ptr gradeAverage,350       ; compare gradeAverage to 350		jb LowGrade						; if gradeAverage is less than or equal to 350, jump to LowGrade		mov OkToRegister,TRUE				; else set OkToRegister to TRUE		ret								LowGrade:										cmp word ptr gradeAverage,250		; compare gradeAverage to 250		jb CheckCredits					; if grade average less than or equal to 250, jump to CheckCredits		cmp word ptr credits,16				; compare credits to 16 		ja CheckCredits						; if credits are less than or equal to 16, jump to CheckCredits		mov byte ptr OkToRegister,TRUE		; else set OkToRegister to TRUE		ret	CheckCredits:		cmp word ptr credits,12				; compare credits to 12		ja Done								; if credits are less that or equal to 12, jump to Done		mov byte ptr OkToRegister,TRUE		; else set OkToRegister to TRUE 	Done:		ret									; OkToRegister = FALSE	CheckToRegister ENDP	;-----------------------------------------------DisplayResult PROC; Displays whether the potential student is eligible to register; Depending on the value of OkToRegister; Receives: nothing; Returns: nothing;-----------------------------------------------	mov al,OkToRegister				; copy value of OkToRegister to al	cmp al,FALSE					; compare al to FALSE	jne Accepted					; if eax = true, go to Accepted	mov edx,OFFSET prompt4			; else then store the offset of prompt3 in edx	call WriteString				; print the Rejected message	call Crlf						; go to next line	ret	Accepted:	mov edx,OFFSET prompt3			; else store the offset of error in edx	call WriteString				; print the Accepted message	call Crlf						; go to next line	retDisplayResult ENDP			END main </div><br><br>pic unrelated<br><br>]]></description>
				</item><item>
				<title>2062</title>
				<link>http://img.7chan.org/pr/res/2058.html#2062</link><description><![CDATA[<div style="white-space: pre !important;font-family: monospace !important;">#! /usr/bin/sed -f## The Towers Of Hanoi# sed# Copyright (C) 2001 Amit Singh. All Rights Reserved.# <a href="http://hanoi.kernelthread.com">http://hanoi.kernelthread.com</a>## usage: #   echo xx* | sed -f hanoi.sed# use N &#039;x&#039;s for N disks, for example:#   echo xxx | sed -f hanoi.sed will solve for 3 disks#:Ms/^xx*$/:n:3:2:1:&amp;:/gt Ba\usage: echo xx* | sed -f hanoi.sed. For example, xxx represents 3 disks.d:B/^:$/ { d;q; }h;s/^:[yn]:\([123]\):[123]:\([123]\):x*:.*/\2 --&gt; \1/g;x/^:y:[123]:[123]:[123]:x*:.*$/b ~0/^:n:[123]:[123]:[123]:x:.*/b 1s/:n:\([123]\):\([123]\):\([123]\):x\(x*\):\(.*\)/:n:\2:\1:\3:\4:y:\1:\2:\3:x\4:\5/gb B :1x;p;xs/^:n:[123]:[123]:[123]:x:\(.*\)/:\1/gb B:~0x;p;xs/^:y:\([123]\):\([123]\):\([123]\):x\(x*\):\(.*\)$/:n:\1:\3:\2:\4:\5/gb B:E</div><br><br><a href="http://www.kernelthread.com/hanoi/">http://www.kernelthread.com/hanoi/</a><br><br>]]></description>
				</item><item>
				<title>2061</title>
				<link>http://img.7chan.org/pr/res/2058.html#2061</link><description><![CDATA[<div style="white-space: pre !important;font-family: monospace !important;">(defun hanoi (ring peg&#8722;a peg&#8722;b peg&#8722;c)(cond ((zerop ring) nil)((hanoi ring 3 peg&#8722;a peg&#8722;c))((print (list &#039;(3 FROM LEFT TO RIGHT))))(t (hanoi ring 2 peg&#8722;a peg&#8722;c) nil)))</div><br><br>]]></description>
				</item><item>
				<title>2060</title>
				<link>http://img.7chan.org/pr/res/2058.html#2060</link><description><![CDATA[<div style="white-space: pre !important;font-family: monospace !important;">[ code ]FAIL[ / code ]</div><br><br>]]></description>
				</item><item>
				<title>2059</title>
				<link>http://img.7chan.org/pr/res/1282.html#2059</link><description><![CDATA[Aphex Twin, or any other IDM/braindance and breakcore (like venetian snares)<br><br>]]></description>
				</item><item>
				<title>2058</title>
				<link>http://img.7chan.org/pr/res/2058.html</link><description><![CDATA[[http://img.7chan.org/pr/src/122713329454.jpg] <br /><br>You know how it goes: the classic stupid examples from newfag time.  In this case Towers of Hanoi.  Your language however you want. Mine happens to be java.<br><br>[code]<br>void TowersOfHanoi(int height, int from, int to, int mid) {<br>      if (height ==1){<br>       System.out.println(&quot;Move a disk from stack number &quot;+ from + &quot; to stack number &quot; + to);}<br>    else {<br>         TowersOfHanoi(height-1, from, mid, to);<br>         System.out.println(&quot;Move a disk from stack number &quot; + from + &quot; to stack number &quot; + to);<br>         TowersOfHanoi(height-1, mid, to, from);<br>      }<br>   }<br>[ /code]<br><br>]]></description>
				</item><item>
				<title>2057</title>
				<link>http://img.7chan.org/pr/res/2055.html#2057</link><description><![CDATA[ill rip out ur fuckin dreds<br><br>]]></description>
				</item><item>
				<title>2055</title>
				<link>http://img.7chan.org/pr/res/2055.html</link><description><![CDATA[[http://img.7chan.org/pr/src/122711522088.jpg] <br /><br>so, i&#039;m playing around with php, apache and stuff. <br>now i&#039;m in a situation where a client has authenticated itself and is browsing around on https. now i want a php script to use the id of the clients certificate. <br>i guess there is some kind of shared variable in $_SERVER[] or something similar. so has anybody an idea how to get the value?<br><br>]]></description>
				</item></channel>
			</rss>