I hereby claim:
- I am carlosroman on github.
- I am absentis (https://keybase.io/absentis) on keybase.
- I have a public key whose fingerprint is FDE7 2FD0 EDE5 BC36 3057 BCE6 156A 4466 8F88 36CA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
tmux has-session -t $1 | |
if [ $? != 0 ] | |
then | |
tmux new-session -s $1 -n editor -d | |
fi | |
tmux attach -t $1 |
package com.example.sqs.large.message; | |
import com.amazon.sqs.javamessaging.AmazonSQSExtendedClient; | |
import com.amazon.sqs.javamessaging.ExtendedClientConfiguration; | |
import com.amazonaws.auth.AWSCredentials; | |
import com.amazonaws.auth.ClasspathPropertiesFileCredentialsProvider; | |
import com.amazonaws.regions.Region; | |
import com.amazonaws.regions.Regions; | |
import com.amazonaws.services.s3.AmazonS3; | |
import com.amazonaws.services.s3.AmazonS3Client; |
{ | |
"ua": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0", | |
"browser": { | |
"name": "Firefox", | |
"version": "48.0", | |
"major": "48" | |
}, | |
"engine": { | |
"version": "48.0", | |
"name": "Gecko" |
type SomeResource struct { | |
counter int | |
} | |
func (sr *SomeResource) incCounter(rw http.ResponseWriter, r *http.Request) { | |
sr.counter++ | |
} | |
func (sr *SomeResource) getCounter(rw http.ResponseWriter, r *http.Request) { | |
v := strconv.Itoa(sr.counter) |
--- | |
- name: Create/update CloudFront origin access identity | |
command: aws cloudfront create-cloud-front-origin-access-identity --cloud-front-origin-access-identity-config "CallerReference={{ site }},Comment=access-identity-{{ site }}.site.s3.amazonaws.com" | |
environment: | |
AWS_ACCESS_KEY_ID: "{{ aws_access_key }}" | |
AWS_SECRET_ACCESS_KEY: "{{ aws_secret_access_key }}" | |
AWS_DEFAULT_REGION: "{{ aws_region }}" | |
no_log: true | |
register: aws_cli_out |
# syntax=docker/dockerfile:1 | |
FROM python:3.11-alpine | |
COPY random-logger.py /usr/bin/ | |
ENTRYPOINT [ "python" ] | |
CMD [ "/usr/bin/random-logger.py" ] |
--- | |
version: "3.9" | |
services: | |
zookeeper: | |
image: quay.io/debezium/zookeeper:2.3 | |
ports: | |
- 2181:2181 | |
- 2888:2888 | |
- 3888:3888 | |
kafka: |
# syntax=docker/dockerfile:1 | |
# Allows to cheange the JDK image used | |
ARG JRE_DOCKER_IMAGE=eclipse-temurin:11 | |
# Use the official JDK image as the base image | |
FROM ${JRE_DOCKER_IMAGE} | |
WORKDIR /app |