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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDqStGVPDHXIuiG1tv2SCMHOeg/ka1df3AXyoucsudmTxS7AwftXv1d1NBeYE+2uyTZQ6dBf4hCEiKLjo5OW+8sY8uR/4XRraShUY0uw9FfJVmh4PlUSiyqC2baypLCOgv4GuMVyehNz+B+dcCZzwShEgq/lkXYcSHkh82yoPxlStZmZOurCYZNuBa5yWuJ+NKmoDYl8+vxds1NI9gsdyu6RhJuG3UFEaf1YQ/Tc00DvJ7qfSc0PYynYEScdr1Bs6kJtTMVTeqUcC5iOq3OFPcJ4rj6+cXsgzdlyG6EYePjsoc/V0jxVqoMpg7+JkFzeGdCQ4N+WCLpniKROGWZHK19 hello@gerred.com |
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
<row> | |
<select class="form-control" ng-model="currentDay" ng-options="d for d in dateOptions" ng-change="refreshAlarms()"></select> | |
</row> |
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
describe('sanity', function() { | |
describe('index', function() { | |
browser.get('/#/') | |
var title = element(by.tagName('h1')) | |
expect(title.getText()).toEqual("Sanity Test Check") | |
}) | |
}) |
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
'use strict'; | |
var angular = require('angular') | |
require('ng-grid') | |
require('angular-bootstrap') | |
require('bootstrap-tpl') | |
require('ui-router') | |
require('restangular') | |
angular.module('app', [ |
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
module.exports = angular.module('main', ['ui.router']) | |
.config(function ($stateProvider, $urlRouterProvider) { | |
$urlRouterProvider.otherwise('/') | |
$stateProvider | |
.state('root', { | |
url: '/', | |
templateUrl: 'views/main/home.html', | |
controller: 'HomeCtrl', | |
resolve: { |
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
module.exports = function($scope, redacted, redacted) { | |
$scope.redacted = redacted.data | |
$scope.redacted = redacted.data | |
} |
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
"jquery": "jQuery", | |
"ng-grid": { | |
"depends": [ | |
"angular", | |
"jquery:jQuery" | |
] | |
}, |
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
{ file: '/Users/gerred/dev/pw_threat_console/bower_components/angular/angular.js', | |
info: | |
{ package_json: '/Users/gerred/dev/pw_threat_console/package.json', | |
packageDir: '/Users/gerred/dev/pw_threat_console/', | |
shim: { exports: 'angular', depends: undefined }, | |
exposeGlobals: {}, | |
browser: | |
{ jquery: './bower_components/jquery/dist/jquery.js', | |
lodash: './bower_components/lodash/dist/lodash.js', | |
angular: './bower_components/angular/angular.js', |
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
### Keybase proof | |
I hereby claim: | |
* I am gerred on github. | |
* I am gerred (https://keybase.io/gerred) on keybase. | |
* I have a public key whose fingerprint is 5816 134F DC84 C8A3 8A46 3F9C 7011 BD5F 80A2 9193 | |
To claim this, I am signing this object: |
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
function parseThrift(thriftEncodedData, callback) { | |
var thrift = require('thrift'); | |
var transport = new thrift.TBufferedTransport(thriftEncodedData); | |
var protocol = new thrift.TBinaryProtocol(transport); | |
var clientClass = require('./gen-nodejs/observation_types').Observation; | |
var client = new clientClass(); | |
client.read(protocol); | |
callback(null, client); | |
} |
OlderNewer