Oi de novo! Dia produtivo. Temos novas funcionalidades no Respect\Config também:
O Respect\Config gerencia as configurações de seus objetos, incluindo quem depende de quem.
/*! normalize.css v2.1.3 | MIT License | git.io/normalize */ | |
/* ========================================================================== | |
HTML5 display definitions | |
========================================================================== */ | |
/** | |
* Correct `block` display not defined in IE 8/9. | |
*/ |
#!/bin/bash | |
# /etc/init.d/xvfb_daemon | |
# Debian-compatible Xvfb startup script. | |
# Tom Meier <[email protected]> | |
# Jeffery Fernandez <[email protected]> | |
# | |
### BEGIN INIT INFO | |
# Provides: xvfb_daemon | |
# Required-Start: $remote_fs $syslog $network | |
# Required-Stop: $remote_fs $syslog $network |
#!/usr/bin/env bash | |
### BEGIN INIT INFO | |
# Provides: mailcatcher | |
# Required-Start: $local_fs $network $syslog $portmap | |
# Required-Stop: $local_fs $network $syslog $portmap | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# X-Interactive: false | |
# Short-Description: Start/stop mailcatcher daemon. | |
### END INIT INFO |
var http = require('http'); | |
var xmld = require('xml2js'); | |
var express = require('express'); | |
var app = express(); | |
// app.use(express.static(__dirname + '/public')); | |
app.get("/", function (req, res) { | |
var options = { |
Bem vindo! Esse é o primeiro-git-post de uma nova funcionalidade em um componente do Respect:
Suponha que você seja louco o suficiente para arquitetar uma API de Olá Mundo que randomicamente dispare Exceptions. Com o Respect/Rest isso ficaria assim:
<?php
$router = new Respect\Rest\Router;
esse alganet é uma figura ^^ kkkk | |
Ruan_Aragao: Jamaicaaa kkkk | |
DavidRamires: Manual fantastico! | |
danjesus: netojoaobatista, sem d?vida ? o melhor manual | |
augustohp: +1 | |
Ruan_Aragao: Demais! | |
danjesus: e os coment?rios s?o foda | |
poultwo: total | |
Denise: Manual PHP, Like, +1 | |
Ruan_Aragao: Ele é muito mais vivo que eu :-S |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<!-- Created with Inkscape (http://www.inkscape.org/) --> | |
<svg | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:cc="http://creativecommons.org/ns#" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:svg="http://www.w3.org/2000/svg" | |
xmlns="http://www.w3.org/2000/svg" | |
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" |
Some people born with it, some people are self-taught on this, some people just discover how. How about a guide on how to code great software while still drunk as a cow?
<?php | |
/** | |
* @author: Garith | |
*/ | |
class Singleton{ | |
protected static $instance = null; | |
public static function load(){ | |
if(self::$instance === null){ |