-
Open Terminal move to your home folder:
cd ~
-
Enable git colors:
git config --global color.ui true
-
Make a file called ".colors":
touch .colors
-
Open .colors and paste the following:
This file contains 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
http://blog.hype4.com/2012/05/21/android-screen-resolutions-compared-to-ios/ | |
http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density | |
http://148apps.biz/app-store-metrics/ | |
http://mashable.com/2012/06/11/wwdc-2012-app-store-stats/ | |
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff402529(v=vs.105).aspx | |
https://dev.windowsphone.com/en-us/develop | |
http://channel9.msdn.com/Events/Build/2012?sort=sequential&direction=desc&term=&t=windows-phone&t=windows-phone-apps | |
http://www.mozilla.org/en-US/firefoxos/ | |
https://developer.mozilla.org/pt-BR/docs/Mozilla/Firefox_OS | |
http://www.gizmodo.com.br/hands-on-firefox-os-na-vivo/ |
This file contains 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 if (!defined('BASEPATH')) {exit('No direct script access allowed');} | |
/** | |
* | |
* Arquivo inserido em application/libraries/Twig.php | |
* | |
*/ | |
class Twig { | |
/** | |
* Referência da instância da classe CodeIgniter |
This file contains 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
/********************************************* | |
* | |
* Importação de dados Acme-Acme | |
* | |
* Autores: Alexandre Gomes Gaigalas | |
* Atilio Serafim | |
* Criação: 01/12/2008 | |
* Alteração: 04/12/2008 | |
* | |
*********************************************/ |
This file contains 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
# Bash-Completion script for PHPUnit | |
# | |
# Created by Henrique Moody <henriquemoody@gmail.com> | |
# | |
_phpunit() | |
{ | |
COMPREPLY=() | |
local cur="${COMP_WORDS[COMP_CWORD]}" | |
local prev="${COMP_WORDS[COMP_CWORD-1]}" |
This file contains 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
# Microsoft IE OVA images from http://www.modern.ie/en-us/virtualization-tools | |
# VirtualBox for Mac: | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE6_WinXP.ova.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE7_Vista.ova.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE8_Win7.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE9_Win7.zip | |
http://virtualization.modern.ie/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8.ova.zip |
This file contains 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
NameVirtualHost 127.0.0.2:80 | |
<Directory "/var/www/html/example/"> | |
Options -Indexes +FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
<VirtualHost 127.0.0.2:80> |
This file contains 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 | |
// PHP Self Stats | |
/* | |
* get_loaded_extensions() returns all the extension names | |
* currently loaded. | |
* | |
* Using array_intersect(), we can get only the extensions | |
* we want from those which are really available. |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
class Vagrant::Config::V2::Root | |
def has_key?(name) | |
@config_map.has_key?(name.to_sym) | |
end | |
end | |
Vagrant.configure("2") do |config| |
This is a list of issues or discrepencies between the wording or intention of PSR-2 itself and the CodeSniffer PSR-2 ruleset.
Add suggestions in the comments or tweet me (@philsturgeon) if you have more inconsistencies to report.