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 authenticate(callback, error) { | |
resetErrors(); | |
angular.element('#login-form input[type=submit]').button('loading'); | |
$scope.authRequest = new XMLHttpRequest(); | |
$scope.authRequest.open('GET', 'http://lfo-prtg:81/odata/', true, 'UNRWA\\' + $scope.username, $scope.password); | |
$scope.authRequest.send(); | |
$scope.connectionTimer = $interval(function () { | |
$scope.authRequest.abort(); | |
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
#! /usr/bin/env ruby -w | |
# Include the YAML library | |
require 'yaml' | |
# Get the current Rails environment. Falls back on 'production' | |
backup_env = (ENV['RAILS_ENV'] || 'production') | |
# Set the backup location | |
backup_location = ARGV[0] || '.' |
NewerOlder