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));
cudaError lr_Error = cudaGetLastError();
Code:
divs.w #JELLYSHIT-1,d0
Code:
ih_loc = ih_loc * 2^(-1/12*sin(2*pi*20*p_in/p_end));
101ABAD0 ???
Code:
self::$evtData[$tmp[$i]['events_id']][$tmp[$i]['country_id']] = $tmp[$i];
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
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)
Code:
if((lfb_detected)||
(((*vs_dest).mem!=realscreen.mem)&&((*vs_source).mem!=realscreen.mem)))
memcpy((*vs_dest).mem,(*vs_source).mem,(*vs_source).size);
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++;
}
while(*++argv) {
printf("%s\n", *argv);
}
printf("%s\n", *argv);
}
Code:
If dRotation <> -1337 Then glRotatef(dRotation, 0, 0, 1)
Code:
sta $D404
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
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
Code:
#undef GoTo
#ifndef Adok
#define Adok "fail"
#endif
#define Adok "fail"
#endif
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]]
[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]]
POKE53280,(RND*15+1):?"GOATSE":RUN
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+++ +++++
+++.>>++.
// Happy New Year
printf ("happy new year, you lamers\n");
10 if year = 2009 then
20 Print "Happy new year."
30 endif
40 goto 10
20 Print "Happy new year."
30 endif
40 goto 10
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?!?
mesh->createVBO();