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
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 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
body { | |
margin: 0; | |
padding: 0; | |
background-color: #2B454D; | |
text-align: center; | |
} |
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
public function testAuthorize() | |
{ | |
$authService = $this->getService('Admin\Service\Auth'); | |
$admin = $this->addUser(); | |
//adiciona visitante | |
$visitante = new User(); | |
$visitante->username = 'bill'; | |
$visitante->password = md5('ms'); |
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 | |
namespace Application\Controller; | |
use Zend\View\Model\ViewModel; | |
use Core\Controller\ActionController; | |
use Zend\Paginator\Paginator; | |
use Zend\Paginator\Adapter\DbSelect as PaginatorDbSelectAdapter; | |
use Symfony\Component\Serializer\Serializer; | |
use Symfony\Component\Serializer\Normalizer\GetSetMethodNormalizer; |
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
Additional PHP Snippets | |
DocBlockr | |
jQuery | |
Package Control | |
PHP Namespace Command | |
PHP-Twig | |
PhpBeutifier | |
Phpcs | |
PhpDoc | |
Pretty JSON |
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
{ | |
"bold_folder_labels": true, | |
"caret_style": "phase", | |
"color_scheme": "Packages/Color Scheme - Default/Mac Classic.tmTheme", | |
"font_face": "Source Code Pro", | |
"font_size": 14.0, | |
"highlight_line": true, | |
"theme": "Soda Light.sublime-theme", | |
"translate_tabs_to_spaces": true | |
} |
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
public function saveAction() | |
{ | |
$tableGateway = $this->getTable('Application\Model\Post'); | |
$em = new EventManager; | |
$em->attach('postInsert', array($this, 'postInsert')); | |
$eventFeature = new EventFeature($em); | |
$tableGateway->getFeatureSet()->addFeature($eventFeature); | |
} |
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 | |
class Coderockr_Service extends Zend_Service_Abstract | |
{ | |
private $apiKey; | |
private $httpClient; | |
public function __construct($apiKey) | |
{ | |
$this->apiKey = $apiKey; |
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
class base { | |
group { "puppet": | |
ensure => "present", | |
} | |
exec { "apt_update": | |
command => "apt-get update", | |
path => "/usr/bin" | |
} |
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 | |
namespace Core\Filter; | |
use Zend\Filter\AbstractFilter; | |
/** | |
* Faz o filtro de valores convertendo para float | |
* @category Core | |
* @package Filter |