MMDeveloper

- friends
3,528 link karma
6,255 comment karma
send messageredditor for
what's this?

TROPHY CASE


  • One-Year Club

    Verified Email

Turned on the TV just to see this by CreamPieSatanin pics

[–]MMDeveloper 0 points1 point ago

I caught it just as lela was ripping her outfit off

Turned on the TV just to see this by CreamPieSatanin pics

[–]MMDeveloper 0 points1 point ago

same here

what do you think this rock looks like? by noodleman93in pics

[–]MMDeveloper 1 point2 points ago

I was thinking homer simpson

Meet Noodle. by raayychilllin aww

[–]MMDeveloper 1 point2 points ago

at my resolution, the thumbnail looks like there's an orange dog next to him.

Everytime I try to sneak out... by nomdewebin funny

[–]MMDeveloper 0 points1 point ago

get on the floor and roll. The floor planks are pressed down with concentrated force. Spread yourself out across the floor and each plank takes on significantly less weight. That or just walk along the edges of the room.

Damn Mongolians. by DamagedWoodsin pics

[–]MMDeveloper 2 points3 points ago

ahrays breakeen my sheety waww

Google Chrome doesnt trust Google Mail by ewoeckelin funny

[–]MMDeveloper 2 points3 points ago

or you're being victim to a MITM attack

To the assholes who broke my nose for having a black best friend: by teamNEWYORKin pics

[–]MMDeveloper 1 point2 points ago

oh cool he's doing shadow puppets

Need help with LAN by ancientnordin techsupport

[–]MMDeveloper 0 points1 point ago

I don't use windows so I can't exactly describe it, but try going to your network connection list, right click on your local area network connection, click properties, and in the first tab, uncheck everything except tcp/ip and click on the advanced tab and disable QoS if that option is available.

See if it works then. If so, start turning the options back on one at a time until it breaks again. May give the rest on here something to go on.

DB Class by shanos_complainosin PHP

[–]MMDeveloper 0 points1 point ago

http://pastebin.com/5m530WRU

This is the PDO database class/wrapper I wrote/use. Below are some usage examples:

//make database connection
$database = new database_pdo("mysql:dbname=mmIntranet;host=192.168.0.7", "loginUsername", "loginPassword");

//run an insert query with raw user input. PDO handles the data security for you
$array = array (
        ":id" => $toDoID,
        ":data" => $v,
        ":priority" => $priority
    );
$ret = $database->justquery("INSERT INTO com_toDo_listItems (toDoID,data,priority) VALUES(:id,:data,:priority)", $array);
//returns boolean true/false

//simple select query with no parameters. returns array of objects
$users = $database->query("SELECT * FROM com_users ORDER BY userLastName ASC");
//returns array of objects or false on error

//instance where you want just the first row of results as an object instead of an array containing 1 object
$user = $database->loadFirstRow("SELECT * FROM com_users WHERE userID = :id", array(":id" => $userID));
//returns object or false on error

//instance where you want the value of the first column of the first row of your query result, useful for count queries.
$totalUsers = $database->loadResult("SELECT count(*) FROM com_users");
//returns raw value or false on error

DB Class by shanos_complainosin PHP

[–]MMDeveloper 2 points3 points ago

portable code, seamless connections to additional databases, division of labor, etc.

include("/path/to/dbclass.php");
$db = array();
$db[] = new databaseclass("host", "user", "pass");
$db[] = new databaseclass("host2", "user", "pass");

etc etc..

However slightly off topic, I'd recommend changing to PDO to eliminate the constant need to mysqli_escape_string everything.

If you could revive a cancelled TV show, which one would it be? by suapin AskReddit

[–]MMDeveloper 40 points41 points ago

well if it would get updated humor and not just re-runs.. I'd like to bring back that Dinosaurs show with the people in the costumes.

NOT THE MOMMA

Didn't even know it was possible to open the microwave up at 0 by xgobezin pics

[–]MMDeveloper 0 points1 point ago

type 0, open door, take picture

Toilet box + hill = awesome! by tinatinabobinain funny

[–]MMDeveloper 1 point2 points ago

maybe it's just that steep of a hill and the earth's inertia is holding them against it :P

This amazing crater ("Sunrise Peak") was not caused by a meteorite... by dragonworthyin pics

[–]MMDeveloper -1 points0 points ago

what if the earth is actually an electron (would explain the lightning) orbiting the nucleus of an atom (would explain the sun), forming a molecule (would explain the planets and stars) of a much larger existence. That which you have pictured here is the result of a collision from a previous hydrogen bond or something?

The reason ASUS refuses to honor the warranty on my motherboard. by Itaintright2in technology

[–]MMDeveloper 3 points4 points ago

I have no reason to believe you're a liar, i do however have reasons to believe a corporation is lying. I unfortunately do not posses the skills to be of any assistance to you :(

Man shot by friend when prank goes wrong by MGio4in guns

[–]MMDeveloper 2 points3 points ago

I just now got your joke...

Man shot by friend when prank goes wrong by MGio4in guns

[–]MMDeveloper 27 points28 points ago

someone just became exempt from any future pranks

Hiding a Windows 7 Serial Key by DiaperPartyin techsupport

[–]MMDeveloper 1 point2 points ago

don't give the users admin rights?

view more: next