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.main.graphs = { | |
| totalSystemsCompleted: { | |
| title: { | |
| text: 'Total Completed Systems By User' | |
| }, | |
| tooltip: { | |
| pointFormat: '{series.name}: <b>{point.y:,.0f}</b>' | |
| }, | |
| yAxis: { | |
| min: 0, |
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.progressChart = { | |
| type: "PieChart", | |
| displayed: false, | |
| cssStyle: "height:200px; width:100%;", | |
| data: { | |
| "cols": [ | |
| {id: "month", label: "Today's Progress", type: "string"}, | |
| {id: "completed-id", label: "Completed Today", type: "number"}, | |
| {id: "due-id", label: "Due Today", type: "number"}, | |
| {id: "overdue-id", label: "Overdue", type: "number"} |
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
| directives.directive('confirmButton', function($document) { | |
| return { | |
| restrict: 'A', | |
| link: function(scope, element, attrs) { | |
| var buttonId, html, message, nope, title, yep; | |
| buttonId = Math.floor(Math.random() * 10000000000); | |
| attrs.buttonId = buttonId; |
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
| <pre> | |
| <?php | |
| // ---------------------- CONFIG DETAILS ---------------------- | |
| //branch in git | |
| $BRANCH = 'master'; | |
| // --------- You should not need to edit below here ------------ | |
| $current_sha1 = `git rev-parse $BRANCH`; | |
| $status_of_branch = `git ls-remote origin -h refs/heads/$BRANCH`; |
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
| NameVirtualHost * | |
| SetEnv LARAVEL_ENV development | |
| <VirtualHost *> | |
| DocumentRoot "/Users/tszemkus/Dropbox/webserver" | |
| ServerName localhost | |
| </VirtualHost> | |
| <VirtualHost *> |
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
| controllers.controller('MainCtrl', function($scope, $location, Facebook, $rootScope, $http, $location, Upload, Auth, User, Question, Category, Serie, Record, Location, Popup, Process, Card, Question) { | |
| $scope.$on('authLoaded', function() { | |
| $scope.isExpert($scope.main.serieId); | |
| $scope.isMember($scope.main.serieId); | |
| }); | |
| $scope.loadAuth = function() { | |
| Auth.load().success(function(data) { | |
| $scope.main.user = data.user; | |
| $scope.$broadcast("authLoaded"); |
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
| controllers.controller('MainCtrl', function($scope, $location, Facebook, $rootScope, $http, $location, Upload, Auth, User, Question, Category, Serie, Record, Location, Popup, Process, Card, Question) { | |
| $scope.main = { | |
| facebookAppId: '', | |
| user: {}, | |
| serie: {}, | |
| cloudUrl: $('[data-cloud-url]').data('cloud-url'), | |
| serieId: $('[data-serie-id]').data('serie-id'), | |
| active: { | |
| categoryId: 0, | |
| category: {}, |
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
| RewriteEngine On | |
| RewriteCond %{HTTP:X-Forwarded-Proto} !https | |
| RewriteCond %{HTTP_HOST} =clouddueling.com [OR] | |
| RewriteCond %{HTTP_HOST} =www.clouddueling.com | |
| RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI}%{QUERY_STRING} [L,R] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule ^(.*)$ index.php/$1 [L] |
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
| var NewsWidget = (function(window, document, undefined){ | |
| // private | |
| var name = ‘Chris’; | |
| function createMember() { | |
| } | |
| // public | |
| return { |