I hereby claim:
- I am silvertab on github.
- I am jeannicolas (https://keybase.io/jeannicolas) on keybase.
- I have a public key ASBGmGDxZO0O8E82VqKZqA9j4bHFZSBTzvxHFfRpM3pHOgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
* bewbs.c: In goes the bewbs, out goes the C! | |
* By: Jean-Nicolas Jolivet,(c)2010 | |
* (.)(.) ++ptr | |
* (.){.} --ptr | |
* (.)[.] ++*ptr | |
* [.](.) -- *ptr | |
* [.][.] putchar(*ptr) | |
* {.}{.} *ptr=getchar() | |
* {.}[.] while(*ptr) { |
-- Simple module for decoding yEnc files... | |
-- For now it only supports single-part files...enventually... WHO KNOWS! :P | |
-- By: Jean-Nicolas Jolivet <[email protected]> | |
module HYDecoder where | |
import Data.Char | |
import System.Environment (getArgs) | |
import qualified Data.ByteString.Lazy.Char8 as L | |
import Text.Regex.Posix |
import ParsecExpr | |
expr :: Parser Integer | |
expr = buildExpressionParser table factor | |
<?> "expression" | |
table = [[op "*" (*) AssocLeft, op "/" div AssocLeft] | |
,[op "+" (+) AssocLeft, op "-" (-) AssocLeft] | |
] | |
where |
//****************************************************************************** | |
// MooDataTable 0.1b: A data table for MooTools 1.2 | |
// License: MIT License | |
// Copyright (c) 2008 Jean-Nicolas Jolivet [http://www.silverscripting.com] | |
var MooDataTable = new Class({ | |
Implements: [Events, Options], | |
options: { | |
url: 'post.php', | |
method: 'get', |
//TextLimiter by Jean-Nicolas Jolivet | |
//Copyright (c) 2008 http://www.silverscripting.com | |
//MIT License: http://www.opensource.org/licenses/mit-license.php | |
var TextLimiter = function (el, options) { | |
this.message = options.message || " chars left"; | |
this.el = (typeof el === 'string') ? document.getElementById(el) : el; | |
this.charLimit = options.charLimit || 100; | |
this.interval = options.interval || 200; | |
this.addLineBreak = options.addLineBreak || true; |
<span id="mySpan">Edit Me!</span> | |
<script type="text/javascript"> | |
var myIPE = new SilverIPE('mySpan', 'myController.php', {highlightColor: '#ffff77'}); | |
</script> |