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 (gte mso 9)|(IE)]> | |
| <table width="540" align="center" cellpadding="0" cellspacing="0" border="0"> | |
| <tr> | |
| <td> | |
| <![endif]--> | |
| [EMAIL BODY HERE] | |
| <!--[if (gte mso 9)|(IE)]> | |
| </td> | |
| </tr> | |
| </table> |
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
| @media screen and (max-width:600px) { | |
| table[class="container"] { | |
| width: 100%; | |
| } | |
| td[class="row"] { | |
| width: 100%; | |
| } | |
| } |
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
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> |
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
| @function rem($pixels: 0, $base: 16px) { | |
| $rem-size: $pixels / $base; | |
| @return #{$rem-size}rem; | |
| } |
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
| .first-events table tr { | |
| display: none; | |
| } | |
| .first-events table tr:not(:nth-child(4)) { | |
| display: block; | |
| } | |
| .second-events table tr:nth-child(2), |
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
| require 'sinatra' | |
| require 'net/http' | |
| require 'open-uri' | |
| require 'json' | |
| require 'pp' | |
| set :views, File.dirname(__FILE__) + '/views' | |
| set :public_folder, File.dirname(__FILE__) + '/public' | |
| get '/*' do |
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
| EurodanceApp.directive('modal', function($compile){ | |
| var template = '<h2>{{title}}</h2><p>{{content}}</p>'; | |
| return { | |
| restrict : 'A', | |
| scope : true, | |
| link : function( scope, element, attrs ) { | |
| scope.title = attrs.title; |
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
| // find .svn files | |
| find . -type d -name .svn | |
| // remove .svn files | |
| rm -rf `find . -type d -name .svn` |
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
| base64 -b0 caminho do arquivo (control-c no arquivo e colar aqui) | pbcopy |
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 ($.browser.msie && window.XDomainRequest) { | |
| var xdr = new XDomainRequest(); | |
| xdr.open("POST",'http://yoururl.com'); | |
| xdr.send( ajax_data ); | |
| xdr.onerror = function(){ | |
| console.log('error'); | |
| }; |