This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parts decoded from string: | |
<textarea style="width:600px;height:600px;"> | |
<?php | |
//print_r($_POST); | |
print_r(json_decode($_POST['parts'])); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import flash.events.MouseEvent; | |
import flash.net.URLLoader; | |
import flash.net.URLRequest; | |
import flash.net.URLVariables; | |
import flash.net.URLLoaderDataFormat; | |
import flash.net.URLRequestMethod; | |
import flash.events.Event; | |
submitbtn.addEventListener(MouseEvent.CLICK, sendData) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo Y2hlY2sgeW91cnNlbGYgYmVmb3JlIHlvdSB3cmVjayB5b3Vyc2VsZg== | base64 -D | say |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install flashplugin-nonfree msttcorefonts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var page = new WebPage(); | |
page.open('http://espn.go.com/nfl/', function (status) { | |
//once page loaded, include jQuery from cdn | |
page.includeJs("http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js", function() { | |
//once jQuery loaded, run some code | |
//inserts our custom text into the page | |
page.evaluate(function(){$("h2").html('Many NFL Players Scared that Chad Moon Will Enter League');}); | |
//take screenshot and exit | |
page.render('espn.png'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//create new webpage object | |
var page = new WebPage(); | |
//load the page | |
page.open('http://espn.go.com/nfl', function (status) { | |
//fire callback to take screenshot after load complete | |
page.render('espn.png'); | |
//finish | |
phantom.exit(); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/ | |
git clone git://github.com/ariya/phantomjs.git && cd phantomjs | |
qmake-qt4 && make | |
sudo cp bin/phantomjs /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install xvfb git build-essential gtk2-engines-pixbuf xfonts-100dpi x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic | |
sudo apt-get install libqt4-dev libqtwebkit-dev qt4-qmake python-qt4 |
NewerOlder