Skip to content

Instantly share code, notes, and snippets.

Jérôme Foray Meroje

Block or report user

Report or block Meroje

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Meroje
Meroje / Makefile
Created Jan 19, 2012
Autocompile tex files with latexmk, simply run 'watchr latex.rb'. Works very well with Dropbox
View Makefile
TEXFILES := $(shell find . -name "*.tex")
PDFFILES := $(patsubst %.tex,%.pdf,$(TEXFILES))
all: $(PDFFILES) clean
%.pdf: %.tex
@latexmk -pdf $<
clean:
@rm -f *.aux
View dabblet.css
html {
margin: 0;
padding: 0;
border: 0;
}
body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,code,del,dfn,em,img,q,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,nav,section {
margin: 0;
padding: 0;
View Table Flip
(╯°□°)╯︵ ┻━┻)
@Meroje
Meroje / dabblet.html
Created May 9, 2012 — forked from anonymous/dabblet.html
HTML9 Responsive Boilerstrap JS
View dabblet.html
<script src="//raw.github.com/impressivewebs/HTML9-Responsive-Boilerstrap-js/master/js/html9responsiveboilerstrap.js"></script>
@Meroje
Meroje / rss.rb
Created Jul 15, 2012
ruhoh.rb rss compiler
View rss.rb
require 'nokogiri'
class Ruhoh
module Compiler
# This rss compiler is provided by David Long
# http://www.davejlong.com/
# https://github.com/davejlong
# Thanks David!
module Rss
# TODO: This renders the page content even though we already need to
# render the content to save to disk. This will be a problem when posts numbers expand. Merge this in later.
@Meroje
Meroje / unicode.txt
Created Jul 24, 2012
Some handpicked Unicode Art
View unicode.txt
1.)
║▌║││ █ ▌│║║
2.)
▄▀▄▀▄▀▄▀
3.)
@Meroje
Meroje / gist:3907972
Created Oct 17, 2012
Use webinspector from webkit nightly
View gist:3907972
cd /System/Library/Frameworks
sudo mv WebKit.framework WebKit.framework.old
sudo cp -a /Applications/WebKit.app/Contents/Frameworks/10.8/WebKit.framework .
sudo mkdir -p WebKit.framework/Versions/A/Frameworks
sudo cp -a /Applications/WebKit.app/Contents/Frameworks/10.8/WebCore.framework WebKit.framework/Versions/A/Frameworks
sudo mv JavaScriptCore.framework JavaScriptCore.framework.old
sudo cp -a /Applications/WebKit.app/Contents/Frameworks/10.8/JavaScriptCore.framework .
cd /System/Library/PrivateFrameworks
sudo mv WebKit2.framework WebKit2.framework.old
sudo cp -a /Applications/WebKit.app/Contents/Frameworks/10.8/WebKit2.framework .
View elements_as_colors.css
aliceblue { color:#f0f8ff; }
antiquewhite { color:#faebd7; }
aqua { color:#00ffff; }
aquamarine { color:#7fffd4; }
azure { color:#f0ffff; }
beige { color:#f5f5dc; }
bisque { color:#ffe4c4; }
black { color:#000000; }
blanchedalmond { color:#ffebcd; }
blue { color:#0000ff; }
@Meroje
Meroje / premium.php
Created Nov 9, 2012
Vérifie les infos minecraft de l'utilisateur
View premium.php
<?php
session_start();
$logged = false;
$error = false;
if(isset($_POST['valider']))
{
$pseudo=(isset($_POST["pseudo"])) ? filter_var($_POST["pseudo"], FILTER_SANITIZE_STRING) : null;
$password=(isset($_POST["password"])) ? filter_var($_POST["password"], FILTER_SANITIZE_STRING) : null;
View routes.php
/*
|--------------------------------------------------------------------------
| Register
|--------------------------------------------------------------------------
*/
Route::get('register', function()
{
return View::make('register');
});
You can’t perform that action at this time.