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.controller 'ListController', ($scope, $filter) -> | |
| $scope.search = {} | |
| $scope.all_data = [ | |
| {title: 'Three men on the bummel', 'author': 'Jerome Klapka Jerome', meta: {isbn: 2234}} | |
| {title: 'Three men on a boat', 'author': 'Jerome Klapka Jerome', meta: {isbn: 1234}} | |
| {title: 'Three musketeers', 'author': 'Alexandre Dumas', meta: {isbn: 4566}} | |
| {title: 'Four tank men and a dog', 'author': 'Janusz Przymanowsky', meta: {isbn: 1222}} | |
| ] | |
| $scope.$watch("search.query", ( -> |
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
| from utils import SecureApplication | |
| routes = ( | |
| ('/route1', 'app.views.view1'), | |
| ) | |
| handler = SecureApplication(routes=routes, debug=settings['DEBUG']) |
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
| public class MagicalLand { | |
| public static void main(String[] args) { | |
| for (int i = 0; i < (Math.random() * 500) + 2; i++) { | |
| if (Unicorn.pat()) { | |
| System.out.println("UNICORN #1: PAT THIS UNICORN ONCE"); | |
| } | |
| } | |
| for (int i = 0; i < (Math.random() * 500) + 2; i++) { | |
| if (Unicorn.pat()) { |
NewerOlder