Skip to content

Instantly share code, notes, and snippets.

View DominikDary's full-sized avatar

Dominik Dary DominikDary

View GitHub Profile
@DominikDary
DominikDary / 1-setup.md
Created January 24, 2023 08:44 — forked from troyfontaine/1-setup.md
Signing your Git Commits using GPG on MacOS

Methods of Signing with a GPG Key on MacOS

Last updated September 21, 2022

This Gist explains how to do this using gpg in a step-by-step fashion. Previously, krypt.co was heavily mentioned, but I've only recently learned they were acquired by Akamai and no longer update their previous free products. Those mentions have been removed.

For using a GUI-based GIT tool such as Tower or Github Desktop, follow the steps here for signing your commits with GPG.

There has been a number of comments on this gist regarding some issues around the pinentry-program and M1 Macs. I've finally gotten a chance to try things out on an M1 and I've updated the documentation in 2-using-gpg.md to reflect my findings.

@DominikDary
DominikDary / Master Replacement with Static List.md
Created July 1, 2019 15:33 — forked from bernadinm/Master Replacement with Static List.md
Procedure to Replace Single Master with Master Discovery Set to Static

Master Replacement with Static List Procedure

Objective: WIth this procedure, we want to replace node 172.31.1.23 with node 172.31.7.30. Also, it is required that we change exhibitor_zk_path to something unique in order for this procedure to work.

Begin

Configure the bootstrap node with the modified config.yaml that has a change to a new exhibitor_zk_path along with the master node that you want to replace for master_list

Important NOTE: The most important piece is exhibitor_storage_backend: zookeeper and exhibitor_zk_path: "/masterip-change-20170127". You must set exhibitor_zk_path to be something unique otherwise your cluster wont converge.

@DominikDary
DominikDary / ladder.md
Created October 29, 2015 12:29 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
@DominikDary
DominikDary / AdobeLogo
Last active August 29, 2015 14:23 — forked from reevik/AdobeLogo
@DominikDary
DominikDary / bookmarklet.md
Last active August 29, 2015 14:23 — forked from lukeis/bookmarklet.md
Selendroid-Close-Non-Issue

javascript:(function(){$('#new_comment_field')[0].value='This is a question rather than an issue. Please send questions to the selendroid user group\n\nFor issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect.\n\nSee architecture.html';$('button[name="comment_and_close"]').click()})()

http://microxchg.io/2015/slides/01_01_lessons-from-a-polyglot-portfolio.pdf
http://microxchg.io/2015/slides/01_02_microXchg_2015_architekturbewertung_szoerner.pdf
http://microxchg.io/2015/slides/01_03_SpringCloud.pdf
http://microxchg.io/2015/slides/01_04_microservicesscalafunctionaldomainmodelsmunichberlin2015-150217091332-conversion-gate02.pdf
http://microxchg.io/2015/slides/01_05_uwe_friedrichsen_microservices.pdf
http://microxchg.io/2015/slides/01_06_micro_service_challenges.pdf
http://microxchg.io/2015/slides/01_07_2015-02-13-microXchg-StefanTilkov.pdf
http://microxchg.io/2015/slides/01_08_AdrianCockcroftSlides.pdf
http://microxchg.io/2015/slides/01_09_PrinciplesOfMicroservices-Microxchg.pdf
http://microxchg.io/2015/slides/01_10_MicroServices_-_Are_your_frameworks_ready--microxchg.pdf
#!/bin/bash
#
# This script runs a given command over a range of Git revisions. Note that it
# will check past revisions out! Exercise caution if there are important
# untracked files in your working tree.
#
# This came from Gary Bernhardt's dotfiles:
# https://github.com/garybernhardt/dotfiles
#
# Example usage:
#!/usr/bin/perl
#
# Pre-commit hook for running checkstyle on changed Java sources
#
# To use this you need:
# 1. checkstyle's jar file somewhere
# 2. a checkstyle XML check file somewhere
# 3. To configure git:
# * git config --add checkstyle.jar <location of jar>
# * git config --add checkstyle.checkfile <location of checkfile>
[INFO]
[INFO] --- maven-surefire-plugin:2.14-SNAPSHOT:test (tck-tests) @ arquillian-jbossas-remote-6 ---
[INFO] Surefire report directory: /home/aslak/dev/source/testing/arquillian-container-jbossas/jbossas-remote-6/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.arquillian.tck.container.cdi_1_0.CDIBeanLookupWarTestCase
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.866 sec
Running org.arquillian.tck.container.servlet_2_5.MultipleWebContextLookupMultiWarTestCase
@DominikDary
DominikDary / ipin.py
Created November 18, 2013 16:04 — forked from urielka/ipin.py
#---
# iPIN - iPhone PNG Images Normalizer v1.0
# Copyright (C) 2007
#
# Author:
# Axel E. Brzostowski
# http://www.axelbrz.com.ar/
# [email protected]
#
# References: