Skip to content

Instantly share code, notes, and snippets.

en:
good: good
good_intro: you're using
good_outro: ", a good web browser."
good_browser: good browser
good_badge_intro: show the world you care about web standards and put the browser challenge badge on your site.
bad: bad
bad_intro: treat yourself to something good.
bad_outro: upgrade to <a href='http://www.apple.com/safari/download/'>safari</a> or <a href='http://firefox.com/'>firefox</a> today!
bad_browser: bad browser
/*comment
Author: Author's Name
Copyright: Copyright Notice (optional)
License: License (optional)
Source: http://athorshomepage.com/blog (optional)
Description:
You can enter a description on a separate block
as long as it's properly indented like here.
# first you'll want to create a gist then `git clone` the private url
# second you'll want to run this script in the gist's directory
loop do
`git commit -a -m save && git push origin master`
sleep 60 * 4
end
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Block Overlay</title>
<style type="text/css" media="screen">
*{font-family:helvetica,sans-serif;-moz-border-radius:0.3em;-webkit-border-radius:0.3em;border-radius:0.3em;}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Block Overlay</title>
<style type="text/css" media="screen">
*{font-family:helvetica,sans-serif;-moz-border-radius:0.3em;-webkit-border-radius:0.3em;border-radius:0.3em;}
/// THIS IS BROKEN, NEW VERSION TO COME... watch for it in my repos.
/* PraizedActionFacade.js 0.1 - "Facade Pattern" to simplify Praizd API actions for tempalte building
*
* Author: Francois Lafortune
* Copyright (c) 2010 PraizedMedia Inc.
*
* REQUIRES jsonPath() http://goessner.net/articles/JsonPath/
* I felt I should stress this: jsonPath does most of what's magic here and save a lot of lines of code
* in doing so...
/*
This method plays on heideggerian theories.
It makes a method of Das Man -- or one that is unready-to-hand --
available ready-to-hand on a specified Dasein.
*/
var changeBeing = function(method,dasein){
return function readyToHand(){
/*
"unsafe" JSON converters, allows one to also include functions
(does nto support native functions but an example workaround is given)
*/
JSON.unsafeStringify = function(obj){
if(typeof obj == 'object'){
if(obj instanceof Array) for(var i=0;i<obj.length;i++) obj[i] = JSON.unsafeStringify(obj[i]);
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta name="description" content="description">
<title>Page Title</title>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
body{
line-height:1.5em;
font-size:16px;
font-family:sans-serif;
}
article{
font-size:1em;
display:block;
width:30em;
padding:0.5em 0.75em;