This file contains hidden or 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
//this is for making the width smaller for web pages in the browser so you can | |
//more easily read the text | |
JavaScript:%20document.body.style.width%20=%20%22400px%22;%20void(0); |
This file contains hidden or 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
# Example (try uncommenting): | |
# resp.out.write("Hello! Your name: %s <hr />%s" % (req.get('name'), fetch('http://example.com').content)) | |
from google.appengine.ext.webapp import template | |
from google.appengine.api import urlfetch | |
import base64 | |
import urllib | |
language_engines = { | |
'php': 'http://scriptlets-engine.appspot.com/run.php', |
This file contains hidden or 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
Stuff that can be done all in a browser | |
mostly http (or websocket based) and more | |
services | |
Saving files | |
Gist.github.com | |
Running files | |
Scriptlets-engine.appspot.com | |
Codepad.org | |
Maps |
This file contains hidden or 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
<? | |
public resize_image($image, $w, $h) { | |
$ret = imagecreatetruecolor($w, $h); //main image is called thumb. | |
imagealphablending( $ret, false ); | |
imagesavealpha( $ret, true ); | |
imagecopyresampled($ret, $image, 0, 0, 0, 0, $w, $h, imagesx($image), imagesy($image)); | |
//imageantialias($thumb,true); | |
return $ret; | |
} |
This file contains hidden or 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
javascript: var sCrIpT = document.createElement("script"); sCrIpT.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"; document.body.appendChild(sCrIpT); void(0); |
This file contains hidden or 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
javascript: var sCrIpT = document.createElement("script"); sCrIpT.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"; document.body.appendChild(sCrIpT); $('<div id = "the_timer">hey</div>').css({'font-size' : '30pt','z-index' : '1000000','background-color': 'black', color : 'white','position': 'absolute' }).appendTo($(document.body)); void(0); void(0); |
This file contains hidden or 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
<iframe src="http://docs.google.com/present/embed?id=dcvpj4qq_338dc6p835k&interval=15&size=l" frameborder="0" width="700" height="559"></iframe> |
This file contains hidden or 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
<script> | |
function graph(arr) { | |
} | |
</script> |
This file contains hidden or 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
<script> | |
// a little for each thing | |
function each(arr, func) { | |
for (var key in arr) { | |
func(key,arr[key]) | |
} | |
} | |
function is_alpha(str) { |
This file contains hidden or 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
/* | |
* jQuery JSON Plugin | |
* version: 2.1 (2009-08-14) | |
* | |
* This document is licensed as free software under the terms of the | |
* MIT License: http://www.opensource.org/licenses/mit-license.php | |
* | |
* Brantley Harris wrote this plugin. It is based somewhat on the JSON.org | |
* website's http://www.json.org/json2.js, which proclaims: | |
* "NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK.", a sentiment that |
OlderNewer