Skip to content

Instantly share code, notes, and snippets.

View caferrari's full-sized avatar

Carlos A. Ferrari caferrari

View GitHub Profile
<?php
namespace Teste;
use \ErrorException;
class Test
{
public function metodox(){
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.
@caferrari
caferrari / lynx.py
Created March 18, 2010 14:53
Ubuntu Lucid Lynx Beta 1 release checker
#!/usr/bin/python2.6
# -*- coding: utf-8 -*-#
import urllib2, hashlib, sys, pynotify
from time import sleep
url = 'http://cdimage.ubuntu.com/releases/lucid/'
md5_base = 'f67f811ea2bf1e0c14a233d319685f50'
pynotify.init("Ubuntu Lucid")
<?php
/**
* SplClassLoader implementation that implements the technical interoperability
* standards for PHP 5.3 namespaces and class names.
*
* http://groups.google.com/group/php-standards/web/final-proposal
*
* // Example which loads classes for the Doctrine Common package in the
* // Doctrine\Common namespace.