This file contains 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
# -*- coding: utf-8 -*- | |
import os | |
import urllib2 | |
import time | |
try: | |
import simplejson as json | |
except ImportError: | |
import json |
This file contains 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
angular.module('app', []) | |
.factory('$exceptionHandler', function ($injector) { | |
return function (exception, cause) { | |
var $rootScope = $injector.get('$rootScope'); | |
$rootScope.errors = $rootScope.errors || []; | |
$rootScope.errors.push(exception.message); | |
console.log($rootScope.errors); | |
} | |
}) | |
.run(function ($http) { |
This file contains 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
# -*- coding: utf-8 -*- | |
#!/usr/bin/env python | |
""" | |
THIS SCRIPT IS USED FOR EDUCATIONAL PURPOSES ONLY. DO NOT USE IT IN ILLEGAL WAY!!! | |
""" | |
import base64 | |
from datetime import datetime | |
from hashlib import sha1 |
This file contains 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
REASSIGN OWNED BY old_role [, ...] TO new_role |
NewerOlder