Skip to content

Instantly share code, notes, and snippets.

View DominicCabral's full-sized avatar

Dominic Cabral DominicCabral

View GitHub Profile

Malformed Image Investigation

It seems that the issue regarding Netra API callbacks returning "Malformed Image" is revolving around pbs.twimg.com (Twitter's CDN Service). An image can become available for a moment, and then become unavailable shortly after. The issue was brought up within the Twitter Development Community (See: pbs-twimg-com-cdn-problems). After a number of tests, Netra can also confirm that the issue persists today.

Simple Browser Download

Using a browser, we tried to retrieve an image and it was not available.

https://i.imgur.com/jeyamgM.png

@DominicCabral
DominicCabral / Jenkinsfile
Created December 11, 2017 21:46 — forked from abayer/Jenkinsfile
An example Declarative Pipeline Jenkinsfile for Feb 15 2017 demo
// A Declarative Pipeline is defined within a 'pipeline' block.
pipeline {
// agent defines where the pipeline will run.
agent {
// This also could have been 'agent any' - that has the same meaning.
label ""
// Other possible built-in agent types are 'agent none', for not running the
// top-level on any agent (which results in you needing to specify agents on
// each stage and do explicit checkouts of scm in those stages), 'docker',
# env
export KAFKA_HOST="my.kafka.hostname"
export KAFKA_OPTS="-Djava.security.auth.login.config=/etc/kafka/kafka_server_jaas.conf"
# create topics
kafka-topics --create --topic securing-kafka --replication-factor 1 --partitions 3 --zookeeper $KAFKA_HOST:2181
# producer acl
kafka-acls --authorizer-properties zookeeper.connect=$KAFKA_HOST:2181 --add --allow-principal User:kafkaclient --producer --topic securing-kafka