My Recent Pastes (22 and counting)
All Pasties (over 22 and counting)
Pages: 1 2
Below are summaries of the 15 most recent pasties by Matthieu Lalonde.
September 29, 2007
2:54PM EDT
by Matthieu Lalonde
View more (34 lines)
1 2 3 4 5 |
unsigned int getAnalogValue(void)
{
unsigned int total;
unsigned char ii;
|
September 10, 2007
1:58PM EDT
by Matthieu Lalonde
View more (233 lines)
1 2 3 4 5 |
/********************************************* * vim:sw=8:ts=8:si:et * To use the above modeline in vim you must have "set modeline" in your .vimrc * Author: Guido Socher * Copyright: GPL V2 |
September 08, 2007
5:54PM EDT
by Matthieu Lalonde
View more (101 lines)
1 2 3 4 5 |
#include <Wire.h> #define BAUD_RATE 19200 #define statusLED 12 |
August 27, 2007
8:01PM EDT
by Matthieu Lalonde
View more (367 lines)
1 2 3 4 5 |
/* NTSC, take 3.14159265 * ------------------------------------- * Created Sun Aug 26 14:59:29 EDT 2007 * * (cleft) 2007 by Matthieu Lalonde |
August 26, 2007
8:52PM EDT
by Matthieu Lalonde
View more (238 lines)
1 2 3 4 5 |
/* NTSC, take 2 * --------------- * Created Sun Aug 26 14:59:29 EDT 2007 * * (cleft) 2007 by Matthieu Lalonde |
August 25, 2007
3:41PM EDT
by Matthieu Lalonde
View more (251 lines)
1 2 3 4 5 |
#include "WProgram.h" #define DEBUG 1 //#define USE_SPI 1 |
August 25, 2007
3:31PM EDT
by Matthieu Lalonde
View more (221 lines)
1 2 3 4 5 |
#include "WProgram.h" void SPI_MasterInit(void); void clearScreen(boolean mode); void blinkStatus(void); |
July 15, 2007
3:46PM EDT
by Matthieu Lalonde
View more (7 lines)
1 2 3 4 5 |
<VirtualHost example.com>
ServerAdmin webmaster@example.com
DocumentRoot /www/vhosts/example.com
ServerName example.com
ErrorLog logs/example.com-error_log
|
July 06, 2007
7:20PM EDT
by Matthieu Lalonde
View more (85 lines)
1 2 3 4 5 |
interface tableRenderer
{
public function Render($myThis, $asText = false);
}
|
June 29, 2007
12:34AM EDT
by Matthieu Lalonde
View more (24 lines)
1 2 3 4 5 |
public function message_count($msg_type = '', $reverse = false) {
/*
** returns the number of messages in the queue
** if $msg_type is defined, it returns the number of messages of the class $msg_type
*/
|
June 25, 2007
7:58PM EDT
by Matthieu Lalonde
View more (24 lines)
1 2 3 4 5 |
<?xml version="1.0" encoding="UTF-8"?>
<appData>
<pageData>
<content wikitext="true">
<![CDATA[
|
June 25, 2007
7:58PM EDT
by Matthieu Lalonde
View more (13 lines)
1 2 3 4 5 |
<?xml version="1.0" encoding="UTF-8"?>
<appData>
<pageData>
<content>
<h1>Projects!!</h1>
|
June 23, 2007
7:41PM EDT
by Matthieu Lalonde
View more (216 lines)
1 2 3 4 5 |
<!--
layout.xslt
QuickerForm
Created by Matthieu Lalonde on 2007-05-29.
|
June 21, 2007
8:30PM EDT
by Matthieu Lalonde
View more (14 lines)
1 2 3 4 5 |
function __autoload($className) {
if (! (strstr($className, 'Model') === false)) {
$classFile = MODELS . $className . '.class.php';
if (!file_exists($classFile) || !is_readable($classFile)) {
die('woops');
|
June 15, 2007
6:28PM EDT
by Matthieu Lalonde
View more (10 lines)
1 2 3 4 5 |
/**
* This needs some RegExp voodoo!
**/
$arr = array();
$startTag = null;
|
Pastie