Skip to content

Instantly share code, notes, and snippets.

View paulodiovani's full-sized avatar

Paulo Diovani Gonçalves paulodiovani

View GitHub Profile
@paulodiovani
paulodiovani / Template:Revisoes
Last active December 10, 2015 22:38
Mediawiki template for revision table
{| Border="1"
! Revisão !! Comentário !! Data e hora !! Responsável
{{#if: {{{1|}}} | {{Revisoes_linha | {{{1}}} | {{{2}}} | {{{3}}} | {{{4}}} }} }}{{#if: {{{5|}}} | {{Revisoes_linha | {{{5}}} | {{{6}}} | {{{7}}} | {{{8}}} }} }}{{#if: {{{9|}}} | {{Revisoes_linha | {{{9}}} | {{{10}}} | {{{11}}} | {{{12}}} }} }}{{#if: {{{13|}}} | {{Revisoes_linha | {{{13}}} | {{{14}}} | {{{15}}} | {{{16}}} }} }}{{#if: {{{17|}}} | {{Revisoes_linha | {{{17}}} | {{{18}}} | {{{19}}} | {{{20}}} }} }}{{#if: {{{21|}}} | {{Revisoes_linha | {{{21}}} | {{{22}}} | {{{23}}} | {{{24}}} }} }}{{#if: {{{25|}}} | {{Revisoes_linha | {{{25}}} | {{{26}}} | {{{27}}} | {{{28}}} }} }}{{#if: {{{29|}}} | {{Revisoes_linha | {{{29}}} | {{{30}}} | {{{31}}} | {{{32}}} }} }}{{#if: {{{33|}}} | {{Revisoes_linha | {{{33}}} | {{{34}}} | {{{35}}} | {{{36}}} }} }}{{#if: {{{37|}}} | {{Revisoes_linha | {{{37}}} | {{{38}}} | {{{39}}} | {{{40}}} }} }}{{#if: {{{41|}}} | {{Revisoes_linha | {{{41}}} | {{{42}}} | {{{43}}} | {{{44}}} }} }}{{#if: {{{45|}}} | {{Revisoes_l
@paulodiovani
paulodiovani / Apache vhosts.conf
Created November 14, 2012 11:19
multiple php modules
##
## PHP 5.2 Vhost
##
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin pgoncalves@gvdasa.com.br
DocumentRoot "D:/www"
ServerName pgoncaves
ServerAlias php52.pgoncalves www.php52.pgoncalves
ErrorLog "logs/php52-error.log"
@paulodiovani
paulodiovani / gist:3625108
Created September 4, 2012 19:04 — forked from manfromanotherland/gist:2228169
jQuery: Placeholder Fix for IE
// Released under MIT license: http://www.opensource.org/licenses/mit-license.php
$('[placeholder]').focus(function() {
var input = $(this);
if (input.val() == input.attr('placeholder')) {
input.val('');
input.removeClass('placeholder');
}
}).blur(function() {
var input = $(this);
if (input.val() == '' || input.val() == input.attr('placeholder')) {