Skip to content

Instantly share code, notes, and snippets.

View gist:5289488
<?php
require_once("deathbycaptcha.php");
require_once("request.php");
require_once("lib/curl.php");
require_once("lib/curl_response.php");
$captcha_link = 'http://www.telexfree.com/plugins/securimage/securimage_show.php?sid=0.6981127592734993';
$auth_link = 'http://www.telexfree.com/bo/app/config/Authentic.php';
$ref_link = 'http://www.telexfree.com/index.php';
View gist:4197479
SELECT pid, caption, aid, owner, link, src_big, src_small, created, modified FROM photo WHERE aid IN (
   SELECT aid FROM album WHERE owner IN (
         SELECT uid2 FROM friend WHERE uid1=me()
     )
     AND (
         (type = 'app' AND name = 'Camera Photos')
     )
)
AND created > 1353867084 ORDER BY created DESC
LIMIT 30000
View gist:3964897
javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
View gist:3781902
javascript:var x=document.getElementsByTagName("input");for(var i=0;i<x.length;i++) {if (x[i].type == 'checkbox') {x[i].click();}}; alert('Done, all your friends have been selected');
View gist:3778282
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title></title>
<meta name="author" content="" />
<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
View gist:3778203
<? for ($i=0; $i < 30; $i++): ?>
<iframe src="https://www.facebook.com/LuizPauloVellozo/app_190322544333196"></iframe>
<? endfor; ?>
View gist:3695486
<?php
$filename = $_GET["url"];
$fsize = getSizeFile($filename);
header("Content-Type: image/jpeg");
header("Content-Length: ".$fsize);
readfile($filename);
function getSizeFile($url) {
if (substr($url, 0, 4) == "http") {
View gist:3608976
<?php
$filename = $_GET['url'];
$file = file_get_contents($_GET["url"]);
header('Content-Type: image/jpeg');
echo $file;
?>
View gist:3558385
<?php
$file = file_get_contents($_GET["url"]);
header('Content-Type: image/jpeg');
echo $file;
?>