pouët.net

Random line of code thread

category: code [glöplog]
Code:d = (upx * (clx - coll_left.x) + upy * (cly - coll_left.y) + upz * (clz - coll_left.z));
added on the 2008-12-11 08:20:03 by xyz xyz
cudaError lr_Error = cudaGetLastError();
added on the 2008-12-11 12:06:09 by xTr1m xTr1m
Code: divs.w #JELLYSHIT-1,d0

added on the 2008-12-14 15:02:42 by StingRay StingRay
Code:ih_loc = ih_loc * 2^(-1/12*sin(2*pi*20*p_in/p_end));
added on the 2008-12-16 04:53:48 by bdk bdk
101ABAD0 ???
added on the 2008-12-16 10:44:10 by mueslee mueslee
Code: self::$evtData[$tmp[$i]['events_id']][$tmp[$i]['country_id']] = $tmp[$i];
added on the 2008-12-16 12:14:40 by d0DgE d0DgE
Code: PLEASE DO ,1 <- #13 DO ,1 SUB #1 <- #238 DO ,1 SUB #2 <- #112 DO ,1 SUB #3 <- #112 DO ,1 SUB #4 <- #0 DO ,1 SUB #5 <- #64 DO ,1 SUB #6 <- #238 DO ,1 SUB #7 <- #26 DO ,1 SUB #8 <- #248 DO ,1 SUB #9 <- #168 DO ,1 SUB #10 <- #24 DO ,1 SUB #11 <- #16 DO ,1 SUB #12 <- #158 DO ,1 SUB #13 <- #52 PLEASE READ OUT ,1 PLEASE GIVE UP
added on the 2008-12-16 12:30:13 by neoneye neoneye
Code: mapAccumM :: Monad m => (acc -> x -> m (acc, y)) -> acc -> [x] -> m (acc, [y]) mapAccumM _ s [] = return (s, []) mapAccumM f s (x:xs) = do (s1,y) <- f s x (s2,ys) <- mapAccumM f s1 xs return (s2, y:ys)
added on the 2008-12-16 14:41:09 by blala blala
Code: if((lfb_detected)|| (((*vs_dest).mem!=realscreen.mem)&&((*vs_source).mem!=realscreen.mem))) memcpy((*vs_dest).mem,(*vs_source).mem,(*vs_source).size);
added on the 2008-12-24 15:59:01 by Adok Adok
Code: #define VIEWER_ARTICLE_PAGE_READ_CHAR_PRINT if(x_counter+7>=(*vscreen).x) { VIEWER_ARTICLE_PAGE_READ_LINEFEED; offset_counter-=2; } if(textline_act<VIEWER_TEXTWINDOW_LINES) { if(link_flag) { char *p=(*vscreen).mem+(*vscreen).x*(y_counter+13)+x_counter; for(tempcounter=0;tempcounter<8;tempcounter++) *(p+tempcounter)=(VIEWER_UNDERLINE_COLOR+1)*16+*((vs_bkground.mem+vs_bkground.x*(VIEWER_TEXTWINDOW_Y1+y_counter+13)+x_counter+tempcounter)); } font_char_print_screen_crossfade(vscreen,font,16, x_counter,y_counter,tempbyte,color_act,&vs_bkground); x_counter+=8; offset_counter++; }
added on the 2008-12-24 16:02:26 by Adok Adok
while(*++argv) {
printf("%s\n", *argv);
}
added on the 2008-12-24 16:31:39 by las las
Code:If dRotation <> -1337 Then glRotatef(dRotation, 0, 0, 1)
Code:sta $D404
added on the 2008-12-28 22:09:03 by mic mic
Function ConvAny2Dec2(thenum As String, thechars As String, CaseSensitive As Boolean) As String
On Error GoTo Hell
'This Will Convert A Number From Another # System To It's Decimal Equivelant
'This One Now Handles Negative Numbers
'By HeXeN
'Ex:
'ConvAny2Dec2(Text1, "0123456789ABCDEF", True) Hexadecimal To Decimal Using A Textbox For Input
'ConvAny2Dec2("FFE", "0123456789ABCDEF", True) Hexadecimal To Decimal: Should Return 4094
'ConvAny2Dec2("4074", "01234567", False) 'Octal To Decimal: Should Return 2108
'ConvAny2Dec2("10110010", "01", False) 'Binary To Decimal: Should Return 178
'ConvAny2Dec2("nxxh", "hexn", False) 'base 4 uses the chars hexn

If thenum = "" Then
GoTo Hell
End If

For I = 1 To Len(thenum$) + 1 Step 1
If CaseSensitive = True Then
HeXeN = InStr(thechars$, Mid(thenum$, I, 1)) - 1
Else
HeXeN = InStr(UCase(thechars$), Mid(UCase(thenum$), I, 1)) - 1
End If

If HeXeN < 0 Then
If thenum > 0 Then
GoTo Hell
End If
End If

b = Len(thenum$) - I
hexen2 = hexen2 + Len(thechars$) ^ CLng(b) * CLng(HeXeN)
Next I

ConvAny2Dec2 = hexen2
Exit Function

Hell:
ConvAny2Dec2 = "Error!"
End Function
added on the 2008-12-29 01:52:39 by hexen hexen
Code:#undef GoTo
#ifndef Adok
#define Adok "fail"
#endif
added on the 2008-12-29 13:49:10 by panic panic
Field TETRISFIG_I:Int[][] = [..
[0, -1, 0, 0, 0],..
[0, -1, 0, 0, 0],..
[0, -1, 0, 0, 0],..
[0, -1, 0, 0, 0],..
[0, 0, 0, 0, 0]]
added on the 2008-12-30 22:51:03 by japcu japcu
POKE53280,(RND*15+1):?"GOATSE":RUN
added on the 2008-12-31 02:46:28 by Kojote Kojote
Code: [- haPpYnEwyeaR ]++++++ ++[>++ ++++ ++++++ +>+++ +>+BAAH<<<- ]>.-- ---- -.++++ +++++ +++++ +..+++++ ++++ .>.<- ---- ---- --.baah--- ---- --.+ ++++ ++++ ++++ ++++ +.>. <++. -------- ---- ---- ----. ---- .+++ ++++ +++++ ++hAPPy+ ++.>> ++.[ -]++ ++++ ++[ >+NEw++ +haPPY+ +neW+ +YEar ++++ +>++ ++YeaR>+ <<<-]>.-- ----- .+++ +++++++++ +++. .+++ +++++ +.happy>NeW.< ---- ----- -YeaR- .-- ----- --.+ +++++ ++++++++ +++ +.>. <++.-- -HApPy-nEw- -yeaR--- ---- ------ -.---- .+++ +++++ ++++ ++++ +.>>++. [-]+ ++++ +++[ >+++ ++++ HaPPy HaPPy++++ ++>++++> +<<< -]>. --- ---- .neW+ neW++++++++++ ++++ ..+++ ++++ ++.> .<-- ---- -YEAr yeAR- ---.- ---- ---- .++++ +++++ +++++ ++++.>. <++. ---- ------ ----- -----.--- -.++ HapPy+nEw+YeAr ++baaH+++ +++++ +++.>>++.

added on the 2008-12-31 22:45:01 by baah baah
// Happy New Year
added on the 2009-01-01 00:05:55 by Shockwave Shockwave
printf ("happy new year, you lamers\n");
added on the 2009-01-01 00:11:29 by torus torus
10 if year = 2009 then
20 Print "Happy new year."
30 endif
40 goto 10
added on the 2009-01-01 00:30:18 by thepixel thepixel
echo "happy new " . date("Y") . "!!!111";
Code: // yay! we're logging in, baby! if (isset($_POST['username']) && isset($_POST['password'])) { // REMOVE COOKIES FROM CURRENT $_INPUT? // huh? why? comments need to be slightly more informative... what is going on here, anyway? WHO ARE YOU, AND WHAT ARE YOU DOING COMMENTING MY CODE?!?
added on the 2009-01-03 09:08:17 by Johann Johann
mesh->createVBO();
added on the 2009-02-09 18:14:39 by Preacher Preacher

login