I hereby claim:
- I am alhafoudh on github.
- I am alhafoudh (https://keybase.io/alhafoudh) on keybase.
- I have a public key whose fingerprint is 0770 2ACB 3379 C475 6B3F CCD1 39AC A456 B7EC D57B
To claim this, I am signing this object:
| class Throttler | |
| attr_reader :period | |
| attr_reader :value | |
| attr_reader :block | |
| def initialize(period) | |
| @period = period | |
| @first_time = nil | |
| @value = nil | |
| @block = proc { } |
| apiVersion: v1 | |
| kind: PersistentVolume | |
| metadata: | |
| name: test-volume | |
| spec: | |
| capacity: | |
| storage: 1Gi | |
| accessModes: | |
| - ReadWriteOnce | |
| hostPath: |
| const _ = require('lodash'); | |
| function printKeys(key, obj, parentKeyPath = '') { | |
| const keyPath = `${parentKeyPath}.${key}`; | |
| console.log(keyPath); | |
| if (_.isArray(obj) && !_.isEmpty(obj)) { | |
| printKeys(key, _.head(obj), keyPath); | |
| } else if (_.isObject(obj)) { | |
| const firstKey = _.head(_.keys(obj)); |
| package sk.freevision.probase.config; | |
| import org.springframework.context.annotation.Configuration; | |
| @Configuration | |
| //@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class}) | |
| public class Config { | |
| // @Bean(name = "metaDataSource") | |
| // @Primary |
| group 'sk.freevision.myservice' | |
| version '1.0.0-SNAPSHOT' | |
| apply plugin: 'java' | |
| sourceCompatibility = 1.8 | |
| repositories { | |
| mavenCentral() | |
| } |
| <?xml version="1.0" ?> | |
| <device> | |
| <deviceProtocol>SIP</deviceProtocol> | |
| <sshUserId>root</sshUserId> | |
| <sshPassword>cisco</sshPassword> | |
| <devicePool> | |
| <dateTimeSetting> | |
| <dateTemplate>M/D/YA</dateTemplate> | |
| <timeZone>Central Standard/Daylight Time</timeZone> | |
| <ntps> |
| root@ip-172-31-6-203:/var/lib/docker# cat repositories-aufs | |
| {"Repositories":{}} | |
| root@ip-172-31-6-203:/var/lib/docker# cat repositories-devicemapper | |
| {"Repositories":{"freevision/phantomjs":{"latest":"596c486eb6cdc0a05b9911b2f0c07c3ef9827871513a5e798cb248e0190b01eb"}}} | |
| root@ip-172-31-6-203:/var/lib/docker# docker images -a | |
| REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE |
| exports.handler = function(event, context) { | |
| for (var i in event.Records) { | |
| var record = event.Records[i]; | |
| console.log("Processing record"); | |
| var data = new Buffer(record.kinesis.data, 'base64').toString(); | |
| console.log("Input data: " + data); | |
| var http = require('http'); | |
| input { | |
| file { | |
| codec => json | |
| path => '/var/lib/docker/containers/*/*-json.log' | |
| } | |
| } | |
| filter { | |
| ruby { | |
| code => "Thread.current[event['path']] ||= JSON.parse(Pathname(event['path']).dirname.join('config.json').read)" | |
| } |
I hereby claim:
To claim this, I am signing this object: