One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| ########## Install NGINX ############## | |
| # Install software-properties-common package to give us add-apt-repository package | |
| sudo apt-get install -y software-properties-common | |
| # Install latest nginx version from community maintained ppa | |
| sudo add-apt-repository ppa:nginx/stable | |
| # Update packages after adding ppa |
| version: "2" | |
| services: | |
| node: | |
| image: "node:12" | |
| working_dir: /app | |
| volumes: | |
| - ./:/app | |
| expose: | |
| - "8080" | |
| ports: |
| node_modules |
| root = true | |
| [*] | |
| indent_style = space | |
| indent_size = 4 | |
| charset = utf-8 | |
| trim_trailing_whitespace = true | |
| insert_final_newline = true | |
| end_of_line = lf | |
| # editorconfig-tools is unable to ignore longs strings or urls |
| program aula01; | |
| { | |
| Author: Luciano Braga | |
| Date: 2018-09-05 | |
| Description: Descrição do Arquivo ou programa | |
| } | |
| begin | |
| { Escopo do Programa } |
| # Ignore all | |
| * | |
| # Unignore all with extensions | |
| !*.* | |
| # Ignore all with extension .o | |
| *.o | |
| # Rules for dirs |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Sweet Alert</title> | |
| <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> | |
| </head> | |
| <body> | |
| <script type="text/javascript"> | |
| swal("Good job!", "You clicked the button!", "success"); | |
| </script> |
| <form action=""> | |
| <select class="target"> | |
| <option value="option1" selected="selected">Option 1</option> | |
| <option value="option2">Option 2</option> | |
| </select> | |
| <input type="text" id="txt" name="" value=""> | |
| </form> | |
| <script type="text/javascript"> | |
| $( ".target" ).change(function() { |
| $(document).ready(function() { | |
| var url = getEntidadeURL() + '/publication'; | |
| $.ajax({ | |
| url: url, | |
| dataType: "json", | |
| }).then(function(data) { | |
| $('#box-outras-publicacoes').html('<li class="list-group-item active">Outras Publicações</li>'); | |
| $.each(data, function(i, item) { |