Skip to content

Instantly share code, notes, and snippets.

View pchaigno's full-sized avatar

Paul Chaignon pchaigno

View GitHub Profile
require 'wikicloth'
@wiki = WikiCloth::Parser.new({
:data => "= Title =\n\n #define R23_HIGH_MOD_ADLER32 r23\n \n #define R18_LOW__ADLER_A r18\n\nEnd of test"
})
puts @wiki.to_html

This should be a title

 #define R18_LOW__ADLER_A r18
 #define R19_HIGH_ADLER_A r19
 #define R20_LOW__ADLER_B r20
 #define R21_HIGH_ADLER_B r21

$ linguist --breakdown
88.40% PHP
11.45% Zephir
0.16% Shell
PHP:
optimizers/ParseAnnotationsOptimizer.php
sandbox/annotation.php
sandbox/em.php
sandbox/router.php

status

My name is r-lyeh and I code videogames :neckbeard:

This repo is meant to be a semi-conclusive list of projects in which the author is / has participated in.

A few notes:

  • The tools below are Public Domain.
@pchaigno
pchaigno / get_samples_rosetta.py
Last active August 29, 2015 14:15
Python script to retrieve sample codes from Rosetta project
#!/usr/bin/env python
import os
import yaml
import shutil
import re
import glob
import sys
from subprocess import call
# Extensions to replace: format: Language_name_in_Rosetta: [to_replace, new_extension].
65.63% E
34.37% Eiffel
E:
Task/100-doors/E/100-doors.e
Task/99-Bottles-of-Beer/E/99-bottles-of-beer.e
Task/Abstract-type/E/abstract-type-1.e
Task/Abstract-type/E/abstract-type-2.e
Task/Accumulator-factory/E/accumulator-factory.e
Task/Ackermann-function/E/ackermann-function.e

Screenshot Build Status

Screenshot is an ActionScript 3 util for integration testing of UI components. It perfectly works with FlexUnit testing flow and Flex Framework UI components.

Flash has one special ability - output always looks the same.

Fast, lightweight and easy to use

53.37% CSS
45.44% Ruby
0.76% JavaScript
0.44% CoffeeScript
Ruby:
Gemfile
Gemfile.lock
Rakefile
app/controllers/application_controller.rb