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
| <heml lang="pt-br"> | |
| <head> | |
| <subject>Tenha o NPS da sua empresa em suas mãos</subject> | |
| <preview>Conheça as novidades da nova versão do nosso aplicativo</preview> | |
| <meta name="author" content="Tracksale"/> | |
| <style> | |
| body, td, th { | |
| color: #333333; | |
| font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", | |
| Arial, sans-serif; |
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
| <a href="http://go.tracksale.co/reprise-webinar-aprendizados-disney-customer-experience" | |
| class="mt-1 btn btn-warning cursor-pointer" | |
| style="padding-top: 10px;" | |
| target="_blank"> | |
| Assistir Webinar | |
| </a> |
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/bash | |
| apt-get install php7.1-mbstring | |
| php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
| php -r "if (hash_file('SHA384', 'composer-setup.php') === '669656bab3166a7aff8a7506b8cb2d1c292f042046c5a994c43155c0be6190fa0355160742ab2e1c88d40d5be660b410') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | |
| php composer-setup.php | |
| php -r "unlink('composer-setup.php');" | |
| mv composer.phar /usr/local/bin/composer | |
| service rabbitmq-server start | |
| rabbitmq-plugins enable rabbitmq_management | |
| npm install -g gulp |
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 Foo { | |
| private storeOrUpdate(Request $request, $id = null) { | |
| if(is_null($id)) { | |
| $method = 'create'; | |
| $user = new \App\User(); | |
| } | |
| else { |
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
| <iframe | |
| frameborder="0" | |
| height="300" | |
| name="slider" | |
| sandbox="allow-same-origin allow-scripts allow-top-navigation" | |
| scrolling="no" | |
| src="https://jimmyandrade.github.io/educativo-slider/" | |
| style="border: 0px none; height: 300px; overflow: hidden; width: 684px;" | |
| width="684"> | |
| </iframe> |
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 App { | |
| public static function getAppRootUri() { | |
| return 'http://nomedosite.com.br'; | |
| } | |
| public static function getStylesheetDirUri() { | |
| return App::getAppRootUri() . '/css'; |
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
| [ | |
| { | |
| "id": 26, | |
| "name": "Belo Horizonte", | |
| "stateId": "1 ", | |
| "isRegional": 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
| app.config(function($stateProvider, $urlRouterProvider) { | |
| var homeState = { | |
| name: 'home', | |
| templateUrl: 'templates/home.html', | |
| url: '/', | |
| }; | |
| var loginState = { | |
| controller: 'LoginController', | |
| name: 'login', | |
| templateUrl: 'templates/login.html', |
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
| .input-field { | |
| background-color: hsla(0, 0%, 93%, .1); | |
| } | |
| .input-field:hover { | |
| border-style: solid; | |
| border-width: 1px; | |
| border-color: rgba(0, 0, 0, .3); | |
| background-color: #fff; | |
| } |
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
| app.filter('phone', function() { | |
| return function(input) { | |
| if(typeof input === 'undefined') { | |
| return ''; | |
| } | |
| var inputString = input.toString(); | |
| var pattern = /(\d{2})(\d{2})(\d{4})(\d{4})/; | |
| // var format = '+$1 ($2) $3-$4'; | |
| var format = '($2) $3-$4'; | |
| return inputString.replace(pattern, format); |