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
angular.module('security.service', ['resources.OAuth', 'resources.user', 'resources.calendars']).factory('Security', ['$q', 'OAuth', 'User', 'localStorageService', 'Calendar', function($q, OAuth, User, localStorageService, Calendar) { | |
var restoreSession = function() { | |
var currentUser = localStorageService.get('user'); | |
if (currentUser) { | |
Calendar.init(currentUser); | |
var user = User.setCurrentUser(currentUser); | |
return user; | |
} else { | |
return null; | |
} |
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
{ | |
"vars": { | |
"@gray-darker": "lighten(#000, 13.5%)", | |
"@gray-dark": "lighten(#000, 20%)", | |
"@gray": "lighten(#000, 33.5%)", | |
"@gray-light": "lighten(#000, 60%)", | |
"@gray-lighter": "lighten(#000, 93.5%)", | |
"@brand-primary": "#428bca", | |
"@brand-success": "#5cb85c", | |
"@brand-info": "#5bc0de", |
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
angular.module('resources.OAuth', ['ionic']). | |
factory('OAuth', ['$q', '$document', '$rootScope', function($q, $document, $rootScope) { | |
var _pubKey = 'PUB_KEY_HERE'; | |
function isMobile() { | |
return !!(ionic.Platform.isIOS() || ionic.Platform.isAndroid() || ionic.Platform.isWindowsPhone()); | |
} | |
var initializeScript = function() { | |
if (window.OAuth) { |
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
1924a1925 | |
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) | |
1925a1927,1929 | |
> #else | |
> d_u.d_alias) { | |
> #endif | |
1977a1982 | |
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) | |
1978a1984,1987 | |
> #else |
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 constants = require('./constants'); | |
var logging = require('./logging'); | |
var cache = require('memory-cache'); | |
var Q = require('q'); | |
var Client = require('node-rest-client').Client; | |
var client = new Client(); | |
var artifactory = module.exports = {}; |
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
<?php | |
function sendTestRequest($id) { | |
$socket = new \ZMQSocket(new \ZMQContext(), \ZMQ::SOCKET_REQ); | |
$socket->connect("tcp://192.168.98.142:5668"); | |
$socket->send(json_encode(array("event" => 'test', "data" => $id)), \ZMQ::MODE_DONTWAIT); | |
$response = $socket->recv(); | |
$parsedResponse = json_decode($response); | |
return $parsedResponse; | |
} |
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
#cloud-config | |
ssh_authorized_keys: | |
- ssh-rsa xxxxxxxxxxxxxxxx coreOS@devops | |
write_files: | |
- path: /home/core/updateDocker-ca-certs.sh | |
permissions: 755 | |
owner: root:root | |
content: | | |
#!/bin/bash |
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
Feb 03 17:26:50 bamboo-coreos-42 coreos-cloudinit[1113]: 2017/02/03 17:26:50 Writing unit "00-.network" to filesystem | |
Feb 03 17:26:50 bamboo-coreos-42 coreos-cloudinit[1113]: 2017/02/03 17:26:50 Writing file to "/run/systemd/network/00-.network" | |
Feb 03 17:26:50 bamboo-coreos-42 coreos-cloudinit[1113]: 2017/02/03 17:26:50 Wrote file to "/run/systemd/network/00-.network" | |
Feb 03 17:26:50 bamboo-coreos-42 coreos-cloudinit[1113]: 2017/02/03 17:26:50 Wrote unit "00-.network" | |
Feb 03 17:26:50 bamboo-coreos-42 coreos-cloudinit[1113]: 2017/02/03 17:26:50 Ensuring runtime unit file "00-.network" is unmasked | |
Feb 03 17:26:50 bamboo-coreos-42 coreos-cloudinit[1113]: 2017/02/03 17:26:50 /run/systemd/network/00-.network is not null or empty, refusing to unmask |
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
May 24 11:30:09 kube-11 dockerd[1406]: time="2017-05-24T11:30:09.299272903Z" level=error msg="Error running exec in container: rpc error: code = 2 desc = shim error: context deadline exceeded" | |
May 24 11:30:24 kube-11 dockerd[1406]: time="2017-05-24T11:30:24.328082054Z" level=error msg="Error running exec in container: rpc error: code = 2 desc = shim error: context deadline exceeded" | |
May 24 11:30:39 kube-11 dockerd[1406]: time="2017-05-24T11:30:39.363923222Z" level=error msg="Error running exec in container: rpc error: code = 2 desc = shim error: context deadline exceeded" | |
May 24 11:30:54 kube-11 dockerd[1406]: time="2017-05-24T11:30:54.396960701Z" level=error msg="Error running exec in container: rpc error: code = 2 desc = shim error: context deadline exceeded" | |
May 24 11:30:54 kube-11 dockerd[1406]: time="2017-05-24T11:30:54.396986514Z" level=error msg="Create container failed with error: shim error: context deadline exceeded" | |
May 24 11:30:55 kube-11 dockerd[1406]: time="2017-05-24T11:30:55.116382156Z" level= |
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
Aug 28 05:35:50 kubernetes-coreos-01 env[1074]: time="2017-08-28T05:35:50.199191517Z" level=warning msg="containerd: unable to save 962bbd8581f18a62485edb3c4ec6206f3b8cf43b2e41d63617136cfe3f02e76d:0f1c56ded874c16144460883c1f8b93c325bec58f8677469bc06b0bfff9ca175 starttime: open /proc/13288/stat: no such file or directory" | |
Aug 28 05:35:50 kubernetes-coreos-01 env[1074]: time="2017-08-28T05:35:50.19973103Z" level=info msg="containerd: 962bbd8581f18a62485edb3c4ec6206f3b8cf43b2e41d63617136cfe3f02e76d:0f1c56ded874c16144460883c1f8b93c325bec58f8677469bc06b0bfff9ca175 (pid 13288) has become an orphan, killing it" | |
Aug 28 05:35:50 kubernetes-coreos-01 env[1074]: time="2017-08-28T05:35:50.269203613Z" level=warning msg="containerd: unable to save cf5adc5f13049537036a0b451c720a5be7b362d7f7d5282623bea880a5e59956:662fecd8b1d28175f079adbbff9f956b803bea7693683c05de719f1db4db766d starttime: open /proc/13309/stat: no such file or directory" | |
Aug 28 05:35:50 kubernetes-coreos-01 env[1074]: time="2017-08-28T05:35:50.269402881Z" lev |
OlderNewer