####Assumptions
- QGIS installed (if not: http://qgis.com/)
We will use the Electoral District and Polling Division shapefiles found on the Elections Ontario site:
| angular.module('App', ['ionic', 'ngCordova', 'ngAnimate', 'ngCordovaOauth', 'firebase']) | |
| .run(['$ionicPlatform', | |
| '$rootScope', | |
| '$firebaseAuth', | |
| function($ionicPlatform, $rootScope, $firebaseAuth) { | |
| $ionicPlatform.ready(function() { | |
| if(window.cordova && window.cordova.plugins.Keyboard) { | |
| // Hide the accessory bar by default (remove this to show the accessory bar above the keyboard |
| #!/bin/sh | |
| RESTORE=$(echo '\033[0m') | |
| BOLD=$(echo '\033[1m') | |
| GREEN=$(echo '\033[1;32m') | |
| echo | |
| echo ${GREEN} | |
| echo "------------------------------" | |
| echo " Installing prerequisites " | |
| echo "------------------------------" | |
| echo |
####Assumptions
We will use the Electoral District and Polling Division shapefiles found on the Elections Ontario site:
| {# | |
| Parameters: | |
| * nbPages (int): number of pages | |
| * currentPage (int): current pages | |
| * url (string): route name & query (string): route parameter | |
| ex: list/page-5?q=myFilter (5 = page and query = myFilter) | |
| #} | |
| {% spaceless %} | |
| {% if nbPages > 1 %} |
| /*================================================== | |
| = Bootstrap 3 Media Queries = | |
| ==================================================*/ | |
| /*========== Mobile First Method ==========*/ | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (min-width : 320px) { | |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| {# | |
| Source: http://dev.dbl-a.com/symfony-2-0/symfony2-and-twig-pagination/ | |
| Updated by: Simon Schick <[email protected]> | |
| Parameters: | |
| * currentFilters (array) : associative array that contains the current route-arguments | |
| * currentPage (int) : the current page you are in | |
| * paginationPath (string) : the route name to use for links | |
| * showAlwaysFirstAndLast (bool) : Always show first and last link (just disabled) | |
| * lastPage (int) : represents the total number of existing pages |