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
/* | |
* ATTENTION: | |
* | |
* This layout is now maintained in the `iosched' code.google.com project: | |
* | |
* http://code.google.com/p/iosched/source/browse/android/src/com/google/android/apps/iosched/ui/widget/DashboardLayout.java | |
* | |
*/ | |
/* |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>SVG/Canvas/toDataURL bug</title> | |
<script src="http://javascriptbase64.googlecode.com/svn/trunk/base64.js"></script> | |
<style> | |
img { border: 3px solid red; } | |
canvas { border: 3px solid blue; } | |
</style> | |
</head> |
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
// ==ClosureCompiler== | |
// @output_file_name google-buzz-bookmarklet.js | |
// @compilation_level SIMPLE_OPTIMIZATIONS | |
// ==/ClosureCompiler== | |
// Buzz API - Buttons: http://code.google.com/apis/buzz/buttons_and_gadgets.html#post_to_google_buzz | |
// Closure Compiler Service: http://closure-compiler.appspot.com/home | |
(function(){ | |
var url = window.location.href; |
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
# cdg command | |
# A smarter cd, works well with up: http://daniele.livejournal.com/76011.html | |
# Help: cdg -h | |
# Show all links: cdg | |
# Delete link: cdg -d foo | |
# Clear all: cdg -c | |
# Store link to working directory: cdg -w foo | |
# Go to link: cdg foo | |
function cdg() { |
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
# | |
# | |
# | |
# MOVED TO http://code.google.com/p/romannurik-code/source/browse/misc/bash_completion/adb | |
# | |
# | |
# | |
function _adb() |
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
// http://earth-api-samples.googlecode.com/svn/trunk/demos/geolocation/location.js | |
/** | |
* Watches the user's current location, continually calling the successCallback | |
* with a Gears Coords-like object (latitude, longitude, accuracy) or | |
* errorCallback with an error object. The second argument to successCallback | |
* will be the location provider, i.e. 'gears', 'html5', or 'ip'. | |
*/ | |
function watchLocation(successCallback, errorCallback, ipFallback) { | |
successCallback = successCallback || function(){}; |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="xhrproxy.js"></script> | |
<script> | |
setupXHRProxy(); | |
</script> | |
</head> |
NewerOlder