I hereby claim:
- I am chrischinchilla on github.
- I am chrischinchilla (https://keybase.io/chrischinchilla) on keybase.
- I have a public key ASD7NuoHAbq5BjfRknx7d9L0CTpHCokRdlK3W6ceyz1uDwo
To claim this, I am signing this object:
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: ecommerce | |
tier: backend | |
name: product-be | |
spec: | |
replicas: 2 | |
selector: |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: postgres | |
labels: | |
app: ecommerce | |
tier: postgres | |
spec: | |
type: NodePort | |
ports: |
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: postgres-config | |
labels: | |
app: ecommerce | |
tier: postgres | |
data: | |
POSTGRES_DB: product | |
POSTGRES_USER: product_robot |
version: '2.1' | |
services: | |
elasticsearch: | |
image: docker.elastic.co/elasticsearch/elasticsearch:5.6.0 | |
volumes: | |
- /Users/chrisward/Workspace/esdata:/usr/share/elasticsearch/data | |
ports: | |
- 9200:9200 | |
- 9300:9300 | |
networks: |
Pattern<Shipment, ?> pattern = Pattern.<Shipment>begin("start").where(new SimpleCondition<Shipment>() { | |
@Override | |
public boolean filter(Shipment value) throws Exception { | |
// Check where the shipment came from | |
return value.from.equals("A"); | |
} | |
}).followedByAny("middle").where(new IterativeCondition<Shipment>() { | |
@Override | |
public boolean filter(Shipment value, Context<Shipment> ctx) throws Exception { | |
Iterator<Shipment> it = ctx.getEventsForPattern("middle").iterator(); |
docker run -d --name=grafana -p 3000:3000 grafana/grafana |
I hereby claim:
To claim this, I am signing this object:
{ | |
"code": 200, | |
"status": "Ok", | |
"copyright": "© 2016 MARVEL", | |
"attributionText": "Data provided by Marvel. © 2016 MARVEL", | |
"attributionHTML": "<a href=\"http://marvel.com\">Data provided by Marvel. © 2016 MARVEL</a>", | |
"etag": "753881c8c91423f73b142fce823cd81b44dce62a", | |
"data": { | |
"offset": 0, | |
"limit": 25, |
require 'pdfkit' | |
require 'nokogiri' | |
require 'haml' | |
# config/initializers/pdfkit.rb | |
PDFKit.configure do |config| | |
# Note: Often required for Windows OS configuration | |
# config.wkhtmltopdf = '/path/to/wkhtmltopdf' | |