Skip to content

Instantly share code, notes, and snippets.

View sandonjacobs's full-sized avatar
🤷‍♂️

Sandon Jacobs sandonjacobs

🤷‍♂️
View GitHub Profile
@sandonjacobs
sandonjacobs / kafka_broker.yml
Created November 12, 2020 22:15
Kakfa Broker Customizations via cp-ansible
kafka_broker:
vars:
kafka_broker:
properties:
auto.create.topics.enable: "false"
log.retention.hours: 48
default.replication.factor: 3
@sandonjacobs
sandonjacobs / ansible-ec2-inventory-cp-552.yml
Created November 12, 2020 21:50
Ansible EC2 Dynamic Inventory for Confluent Platform 5.5.2
---
all:
vars:
ansible_connection: ssh
ansible_user: ubuntu
ansible_become: true
ansible_ssh_private_key_file: /tmp/certs/ssh_priv.pem
plugin: aws_ec2
regions:
<?xml version="1.0"?>
<root>
<item>
<name>CM Storm Mac - Map PAUSE to EJECT</name>
<item>
<name>Right-hand function key block to system volume controls</name>
<appendix>* Pause/Break to EJECT</appendix>
<identifier>remap.pause.to.eject</identifier>
<autogen>__KeyToKey__ KeyCode::PC_PAUSE,ConsumerKeyCode::EJECT</autogen>
</item>
[info] Starting release process off commit: 8049e7206fefea0664d26ceffe3a24d344eb1a48
[info] Checking remote [origin] ...
[error] GitLab: The project you were looking for could not be found.
[error] fatal: Could not read from remote repository.
[error]
[error] Please make sure you have the correct access rights
[error] and the repository exists.
Error while checking remote. Still continue (y/n)? [n] java.lang.RuntimeException: Aborting the release!
at scala.sys.package$.error(package.scala:27)
at sbtrelease.ReleaseStateTransformations$$anonfun$checkUpstream$1.apply(ReleaseExtra.scala:224)
@sandonjacobs
sandonjacobs / .gitconfig
Created June 26, 2014 16:26
.gitconfig
[user]
name = My Legal Name
email = my email address
[core]
excludesfile = ~/.gitignore_global
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = false
@sandonjacobs
sandonjacobs / gist:4220977
Created December 6, 2012 00:55
use of ANT loadfile and replace with token attribute
<!-- Contents of file to property -->
<loadfile property="systemListenerProps" srcFile="${basedir}/../SystemPropertiesListener.xml"
encoding="ISO-8859-1" />
<loadfile property="globalNamingResources" srcFile="${basedir}/../GlobalNamingResources.xml"
encoding="ISO-8859-1" />
<!-- Replace token in file with value of property = contents of file... -->
<replace file="${temp.working.dir}/working_server.xml"
token="${token.systemPropertiesListners}" value="${systemListenerProps}" />
<replace file="${temp.working.dir}/working_server.xml"
token="${token.globalNamingResources}" value="${globalNamingResources}" />