Skip to content

Instantly share code, notes, and snippets.

View SilverTab's full-sized avatar

Jean-Nicolas Jolivet SilverTab

View GitHub Profile
<span id="mySpan">Edit Me!</span>
<script type="text/javascript">
var myIPE = new SilverIPE('mySpan', 'myController.php', {highlightColor: '#ffff77'});
</script>
//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;
//******************************************************************************
// 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',
import ParsecExpr
expr :: Parser Integer
expr = buildExpressionParser table factor
<?> "expression"
table = [[op "*" (*) AssocLeft, op "/" div AssocLeft]
,[op "+" (+) AssocLeft, op "-" (-) AssocLeft]
]
where
-- Simple module for decoding yEnc files...
-- For now it only supports single-part files...enventually... WHO KNOWS! :P
-- By: Jean-Nicolas Jolivet <jeannicolascocoa@gmail.com>
module HYDecoder where
import Data.Char
import System.Environment (getArgs)
import qualified Data.ByteString.Lazy.Char8 as L
import Text.Regex.Posix
/*
* 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) {

Keybase proof

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: