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
| @import "framework"; | |
| @example-variable: #000; |
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
| <nav class="navbar navbar-default"> | |
| <div class="container"> | |
| <!-- Titulo --> | |
| <div class="navbar-header"> | |
| <a href="#" class="navbar-brand"> | |
| Title Here | |
| </a> | |
| </div> | |
| <div class="collapse navbar-collapse"> |
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
| import javax.swing.*; | |
| import java.awt.*; | |
| import java.awt.event.*; | |
| import java.util.Scanner; | |
| import java.io.*; | |
| public class Notepad extends JFrame implements ActionListener { | |
| private TextArea textArea = new TextArea("", 0,0, TextArea.SCROLLBARS_VERTICAL_ONLY); | |
| private MenuBar menuBar = new MenuBar(); // first, create a MenuBar item |
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
| 1. Registration Form | |
| 1.1 If the form is invalid | |
| 1.1.1 Fuck yourself | |
| 2 Send Mail | |
| 3 Send to "success view" | |
| 4 |
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(_, undefined) { | |
| /** Defaults */ | |
| var defaults = { | |
| duration: 10000, | |
| registry: [], | |
| alternate: 'Oops' | |
| }; | |
| /** | |
| * Modifies the background of the respective element |
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteRule ^(.*)$ public/$1 [L] | |
| </IfModule> |
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
| $scope.callbackX = function() { | |
| Restangular.all('residents').getList(params).then(function(res) { | |
| $scope.paging = res.paging; | |
| $scope.residents = res.data; | |
| $scope.isLoading = false; | |
| }, function() { | |
| $scope.isLoading = 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
| +(function(angular, _, undefined) { | |
| function PaginationCtrl($scope) { | |
| // view-model | |
| var vm = this; | |
| vm.decodeQuery = decodeQuery; | |
| vm.getData = getData; | |
| vm.goToPage = goToPage; | |
| /** |
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, _, undefined) { | |
| function pagination() { | |
| // Data, collection of objects | |
| var scope = { | |
| paging: '=', | |
| nextCallback: '&', | |
| nextPrePhaseCallback: '&', | |
| nextPostPhaseCallback: '&', | |
| prevCallback: '&', | |
| prevPrePhaseCallback: '&', |