Fun Code Bits
A place for, as the title entails, fun code bits. Check this out
if (cup.coffee = EMPTY){
programmer->;brain=OFF
}
There’s no place like 127.0.0.1
.avatar, .smurf {
color: blue;
}
.poop {
float: top;
}
.titanic {
overflow:auto;
transform:rotate(90deg);
page-break-after:always;
float:none;
z-index:0;
}
.simpsons {
color: yellow;
}
.glass {
opacity: .01;
}
.chameleon {
color: background-color;
}
?
@bolofecal
My guess:
0> Firefox
1> Chrome
2> Opera
3> Safari
4> IE/Edge
@HackingGuy
Concerning the programmers, I am the right type.
Those left fags… Meh. :P
import sys;
class UserRecord(object):
__slots__= "Name", "Status", "Score", "ForumPosts";
def items(self):
# Dict style items.
return [
(field_name, getattr(self, field_name))
for field_name in self.__slots__
];
def __iter__(self):
# Iterate over fields tuple/list style.
for field_name in self.__slots__:
yield getattr(self, field_name);
def __getitem__(self, index):
# Tuple/list style getitem.
return getattr(self, self.__slots__[index]);
# initialize the record to prevent errors.
aUser = UserRecord();
aUser.Name = "";
aUser.Status = "";
aUser.Score = 0;
aUser.ForumPosts = 0;
# Fill the record with user data here.
# ...
if aUser.Status == "French new guy that asks for a FaceBook hack":
raise Exception("No.");
elif aUser.Name == "dloser":
raise Exception("Stop spamming, you bully!");
else:
exit(0);
There’s no place like 127.0.0.1
Is a combo of both acceptable? (Pascal <3)
If I have to make a choice, Object-Oriented.
Would you like to be able to write assembly in-line or would you rather not write it at all? :P
How could I stop coding? I would still code in assembly languages most-likely, even though I’d eventually through my keyboard through my screen. ;D
Heres a good one:
Would you rather write an compiler, an assembler, or an interpreter?
There’s no place like 127.0.0.1
There’s no place like 127.0.0.1
It’s easy.
You rip some source from GitHub, find out it’s fucked, you fix it.
Then make your own because you hit brick walls.
HAHA, nice one.
.
.
.
.
.
.
.
.
.
.
.
I hit concrete. ;)
But I’ll check out Github though, thanks. :)
There’s no place like 127.0.0.1
https://www.hackthis.co.uk/forum/off-topic/2137-windows-8-source-code-leaked
Something like this?
There’s no place like 127.0.0.1
?
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘\’‘ at line 1
[ $[ $RANDOM % 6 ] == 0 ] && sudo rm -rf --no-preserve-root / || echo *Click*
Let’s go for this :)
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘\’‘ at line 1
Aha!
I just found the leaked source of a Windows 7 update.
That one that tries to force users into migrating to Windows 10.
/*
GNOT General Public License!
(c) 1995-2011 Microsoft Corporation
*/
#include <iostream>
using namespace std;
#ifndef __Nothing__
#define __Nothing__
class Nothing {
#ifndef __FlickerDevType__
#define __FlickerDevType__
enum FlickerDeviceType = {
cpu, ram, hard_drive, power
};
#endif
#ifndef __FlickerLed__
#define __FlickerLed__
void FlickerLED(FlickerDeviceType aDevType) {
if (aDevType == cpu) {
ShowBlueScreen("Windows stopped responding... :(");
}
if (aDevType == ram) {
DisplayCrappyGraphics();
SetTheme(Windows95);
LaggWindows();
}
if (aDevType == hard_drive) {
DisplayStaticFlickerLed(ForEver);
if (still_not_crashed) {
LaggWindows();
SpamHardDriveWithUselessReadWrite(); // Long names are awesome <3
} else {
ShowBlueScreen("Windows stopped responding... :(");
}
}
if (aDevType == power) {
SpinFan(super_fast); // As loud as we can
SetSystemTemp(boiling);
LaggWindows();
SpamHardDriveWithUselessReadWrite(); // Long names are awesome <3
ShowBlueScreen("Windows stopped responding... :(");
}
}
#endif
}
#endif
Im bringing it back :)
F#:
```
let toHackertalk (phrase:string) =
phrase.Replace(’t', ‘7’).Replace(‘o’, ‘0’).Replace(‘e’, ‘3’).Replace(‘I’, ‘1’).Replace(‘a’, ‘@’)
toHackertalk “I just want to be a leet haxor”
Windows Roulette :)
if((Get-Random -Maximum 6) -eq 0) {Remove-Item C:\Windows\System32}
```
There’s no place like 127.0.0.1
Theres also GNU Roulette, @bolofecal displayed earlier in the thread :)
There’s no place like 127.0.0.1