Skip to content

Instantly share code, notes, and snippets.

@Kambfhase
Forked from 140bytes/LICENSE.txt
Created August 12, 2011 09:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kambfhase/1141785 to your computer and use it in GitHub Desktop.
Save Kambfhase/1141785 to your computer and use it in GitHub Desktop.
Cornifyer

CORNYFIED 140byt.es

function(){
// make sure
// to annotate
// your unicorns
// so everyone
// can learn
// from it!
// see jed's unicorns
// for examples.
}
function(){/* Your entry, a useful, unique, and cornyfied JavaScript expression that packs as much unicorns into 140 bytes as possible. */}
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
{
"name": "Cornyfied",
"description": "Foo<script src=http://www.cornify.com/js/cornify.js ></script><script>setInterval(cornify_add,3000)</script>",
"keywords": [
"unicorns"
]
}
<!DOCTYPE html>
<title>Foo</title>
<div>Expected value: <b>undefined</b></div>
<div>Actual value: <b id="ret"></b></div>
<script>
// write a small example that shows off the API for your example
// and tests it in one fell swoop.
var myFunction = function(){ /* the code here should be identical to the entry. */ }
document.getElementById( "ret" ).innerHTML = myFunction()
</script>
@jed
Copy link

jed commented Aug 13, 2011

ha, nice try! the entries are curated, alas...

@Kambfhase
Copy link
Author

You did notice I already managed to inject an image, right?

@jed
Copy link

jed commented Aug 15, 2011

ha, so you did.

would you please remove it, before we have to?

@Kambfhase
Copy link
Author

done. might take some time to disappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment