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() { | |
'use strict'; | |
angular.module('app') | |
.controller('LojaController', function($scope) { | |
var socket = io(); | |
var vm = this; | |
vm.pedido = {}; | |
vm.pedidos = []; | |
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
<!DOCTYPE html> | |
<html ng-app="app"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Blog do Gabriel Feitosa</title> | |
</head> | |
<body> | |
<h1>AngularJS: Validação de Formulário</h1> | |
<div ng-controller="CaixaController as vm"> | |
<form name="form" novalidate ng-submit="vm.sacar()"> |
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(){ | |
angular.module('acesso',[]) | |
.directive('permissaoAcesso', function(){ | |
return { | |
restrict: 'A', | |
link: function ($scope, element, attrs) { | |
if (attrs.permissaoAcesso === 'block') { | |
element.attr('disabled', 'disabled'); | |
element.append('<span class="block fa fa-lock"></span>'); |
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
language: java | |
jdk: | |
- oraclejdk8 | |
deploy: | |
provider: heroku | |
api-key: | |
secure: $HEROKU_API_KEY | |
app: ci-spring-boot |
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 () { | |
angular.module('app', []) | |
.directive('botao', function () { | |
return { | |
restrict: 'E', | |
replace: true, | |
scope: { | |
label: '@', | |
tipo: '@', |
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
ENVIRONMENT=dev | |
OTHER_CONFIG=BLAH |
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
version: '3' | |
services: | |
postgres: | |
image: postgres | |
environment: | |
POSTGRES_PASSWORD: "abcde" | |
ports: | |
- "15432:5432" | |
volumes: |
OlderNewer