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 | |
$config = array( | |
'username' => 'sendgridusername', | |
'password' => 'sendgridpassword', | |
'auth' => 'plain' | |
); | |
$transport = new Zend_Mail_Transport_Smtp('smtp.sendgrid.net', $config); | |
$mail = new Zend_Mail(); |
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
// Criar aplicação | |
sencha -sdk {{caminho do SDK}} generate app {{nome da aplicação}} {{caminho da aplicação}} | |
// Compilar aplicação | |
sencha app build | |
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
#!/bin/sh | |
conflitos=`git diff --staged --pretty="format:" --name-only -S"<<<<<<< HEAD"`; | |
if [[ $conflitos != '' ]]; then | |
echo ""; | |
echo ""; | |
echo "Existem conflitos a serem resolvidos nos seguintes arquivos:"; | |
# texto preto, background vermelho | |
echo -e "\E[30;41m"; |
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
<span class="p1">Paragraph 1</span> | |
<span class="p2">Paragraph 2</span> | |
<span class="p3">Paragraph 3</span> | |
<span class="p4">Paragraph 4</span> | |
<span class="p5">Paragraph 5</span> | |
<div id="p1" class="ltext"> | |
<div class="header">Paragraph 1</div> | |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris urna lorem, pretium in fringilla nec, interdum quis turpis. Donec urna metus, pretium feugiat luctus vitae, ullamcorper nec arcu. Integer dapibus sollicitudin convallis. Integer non tortor sit amet ante adipiscing pulvinar. Curabitur nec nulla non sem convallis lobortis quis quis urna. Quisque sed augue eu nisl commodo faucibus. Pellentesque egestas dui sed nisi ornare egestas. Morbi tempus molestie viverra. Vivamus aliquet urna et sem accumsan sit amet sagittis erat rutrum. Aliquam erat volutpat. Nullam semper mi at augue luctus aliquet. Morbi felis risus, mattis non vulputate vel, pellentesque et mauris. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam bib |
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://jsfiddle.net/6Xeen/3/ |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<phpunit bootstrap="vendor/autoload.php" | |
colors="true" | |
convertErrorsToExceptions="true" | |
convertNoticesToExceptions="true" | |
convertWarningsToExceptions="true" | |
processIsolation="false" | |
stopOnFailure="false" | |
syntaxCheck="false" | |
> |
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
<project name="Builder" default="build.all" basedir="./"> | |
<property name="dir.js.builder" value="js/src/util/buildscripts/build.bat" /> | |
<property name="dir.js.src" value="js/src" /> | |
<property name="dir.css.src" value="css/src" /> | |
<!-- Compile SASS --> | |
<target name="compile-css"> | |
<echo>Compilando CSS...</echo> | |
<exec executable="cmd"> |
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
Ext.define('Mother.Fucking.Grid', { | |
extend: 'Ext.grid.Panel', | |
// Lots of configuration... | |
viewConfig: { | |
enableTextSelection: 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
define('MyModule', [ | |
'dojo/_base/declare', | |
'dojo/Evented' | |
], function ( | |
declare, | |
Evented | |
) { | |
var fooCount = 0; | |
return declare([Evented], { |
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
root = true | |
[*] | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 4 | |
trim_trailing_whitespace = true | |
end_of_line = lf |
OlderNewer