Skip to content

Instantly share code, notes, and snippets.

View Darkflib's full-sized avatar
I didn't drink lots of milk, and I still wasn't good enuf for Accrington Stanley

Mike Preston Darkflib

I didn't drink lots of milk, and I still wasn't good enuf for Accrington Stanley
View GitHub Profile
@Riebart
Riebart / code_flows.md
Last active May 7, 2024 18:16
Thoughts on git branch workflows and microservice code organization

Comparing branching and workflow strategies

Summary of existing

There's several existing strategies for deploying and managing development work and release. They each have their own opinions, but roughly cover a few major situations:

  • Developing a new feature
  • Which branches should be, at all times, deployable, tested code
  • Under what conditions a code review or approval is required to merge code into a new branch
  • How many deployment environments (e.g. production only, or staging and production) you intend to have available, and to whom
@enesusta
enesusta / install-rabbitmq-on-k8s.md
Last active October 19, 2024 17:43
Install RabbitMQ on k8s guide

Deploy RabbitMQ on Kubernetes

Helm, the Kubernetes application package manager, can streamline the installation process and deploy resources throughout the cluster very quickly. To successfully deploy RabbitMQ, we will have to install the Helm package manager.

Install Helm

curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
@rahularity
rahularity / work-with-multiple-github-accounts.md
Last active July 15, 2026 10:56
How To Work With Multiple Github Accounts on your PC

How To Work With Multiple Github Accounts on a single Machine

Let suppose I have two github accounts, https://github.com/rahul-office and https://github.com/rahul-personal. Now i want to setup my mac to easily talk to both the github accounts.

NOTE: This logic can be extended to more than two accounts also. :)

The setup can be done in 5 easy steps:

Steps:

  • Step 1 : Create SSH keys for all accounts
  • Step 2 : Add SSH keys to SSH Agent
@coryodaniel
coryodaniel / list.txt
Created May 13, 2020 22:04
GCP List of API Services
NAME TITLE
abusiveexperiencereport.googleapis.com Abusive Experience Report API
acceleratedmobilepageurl.googleapis.com Accelerated Mobile Pages (AMP) URL API
accessapproval.googleapis.com Access Approval API
accesscontextmanager.googleapis.com Access Context Manager API
actions.googleapis.com Actions API
adexchangebuyer-json.googleapis.com Ad Exchange Buyer API
adexchangebuyer.googleapis.com Ad Exchange Buyer API II
adexchangeseller.googleapis.com Ad Exchange Seller API
adexperiencereport.googleapis.com Ad Experience Report API
@justinschuldt
justinschuldt / raspberry-pi-zero_as_webcam.md
Last active November 20, 2025 20:36
Directions for setting up a RaspberryPi to act as a generic USB webcam

hardware/software

Webcam parts:

  • Raspberry Pi Zero W Rev 1.1
  • Raspberry Pi Camera v2 (8-megapixel)
  • Raspberry Pi High Quality Camera (12.3-megapixel)
  • Raspbian Buster Lite 2020-02-13

Webcam works with:

  • Windows 10
  • Windows 10 "Camera" app
@matias-eduardo
matias-eduardo / 01_github_status_update.rb
Last active March 23, 2022 03:00
A script that updates GitHub user status using the GraphQL API v4 (Usage: Run once per minute)
# frozen_string_literal: true
require "dotenv/load"
require "graphql/client"
require "graphql/client/http"
module GitHub
# -1- Initialize client
HTTP = GraphQL::Client::HTTP.new("https://api.github.com/graphql") do
def headers(context)
@iamdylanngo
iamdylanngo / GlobalProtect-Portal-Linux.readme
Last active March 7, 2024 18:22
Guide setup GlobalProtect Portal on Linux
# Guide setup GlobalProtect Portal on Linux
## Setup GlobalProtect
sudo apt update
Download GlobalProtect: https://github.com/jundat95/GlobalProtectVPN/raw/master/PanGPLinux-5.0.8-c6.tgz
Go to folder Downloads and Unzip: tar -xvzf PanGPLinux-5.0.8-c6.tgz
@ArturKlauser
ArturKlauser / multi-arch-docker-ci.sh
Last active March 5, 2023 02:24
Building Multi-Architecture Docker Images With Buildx
#!/bin/bash
# (c) 2020 Artur.Klauser@computer.org
# SPDX-License-Identifier: Apache-2.0 OR MIT
#
# This script installs support for building multi-architecture docker images
# with docker buildx on CI/CD pipelines like Github Actions or Travis. It is
# assumed that you start of with a fresh VM every time you run this and have to
# install everything necessary to support 'docker buildx build' from scratch.
#
# Example usage in Travis stage: