This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## This solves "Font not found Helvetica" problems with running GnuStep apps | |
## Make the fonts and leave them in the Fonts directory | |
cd /usr/share/GNUstep/Fonts | |
mknfonts /usr/share/fonts/truetype/freefont/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
incluo a classe que eu vou usar, confiando que no "ambiente" $dir_raiz vai me dar o diretorio raiz em relação a aplicação rodando. | |
*/ | |
include($dir_raiz.'/classes/pai.php'); | |
class Filha extends Pai | |
{ | |
public $var1 = 'SimSimSim'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "\$(type -t __git_ps1)" ]; then | |
PS1="\$(__git_ps1 '(%s) ')$PS1" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Inicia a sessão | |
session_start(); | |
//Inicia a variável | |
if(! array_key_exists('sesTestando', $_SESSION) ){ | |
$_SESSION['sesTestando'] = 0; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.makeBookmarkletCommand({ | |
name: "Google Reader", | |
homepage: "http://reinaldojunior.net/", | |
author: { name: "Reinaldo de Souza Jr", email: "[email protected]"}, | |
license: "GPL", | |
icon: "http://www.google.com.br/reader/ui/favicon.ico", | |
preview: "Inscreve o feed RSS dessa página no Google Reader", | |
/* | |
//Poderia utilizar isso para encontrar os FEEDs da pagina atual | |
preview: function( pblock ) { |
NewerOlder