Skip to content

Instantly share code, notes, and snippets.

@scyto
scyto / proxmox.md
Last active October 17, 2025 21:09
my proxmox cluster

ProxMox Cluster - Soup-to-Nutz

aka what i did to get from nothing to done.

note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV

Purpose of Proxmox cluster project

Required Outomces of cluster project

@btbytes
btbytes / proxy-connect.js
Created February 25, 2020 20:39
using-amazon-rds-proxy-with-aws-lambda
// from https://aws.amazon.com/blogs/compute/using-amazon-rds-proxy-with-aws-lambda/
let AWS = require('aws-sdk');
var mysql2 = require('mysql2'); //https://www.npmjs.com/package/mysql2
let fs = require('fs');
let connection;
exports.handler = async(event) => {
const promise = new Promise(function(resolve, reject) {
@cjwelle
cjwelle / CJWLogin_Admin_Role.md
Last active November 2, 2021 02:30
CJWLogin-Admin-Role

CJWLogin-ReadOnly Directions: https://gist.github.com/cjwelle/07e4306a747ea47a49b7785a1592e23a

CJWLogin-Admin Directions: https://gist.github.com/cjwelle/1e520f1d46f4b05914b59e1774e4e686

CJW Solutions/CrankyClouds IAM Role for Cross AWS Account Access - ADMINISTRATOR!

Christopher Welle cwelle@cjwsolutions.com
vs. 2.1, 2021-01-19

This document covers instructions for CJW Solutions/CrankyClouds Customers to enable AWS Cross Account access for CJW Solutions to access customers AWS account with AWS Administrator policy.

NOTE: By following the steps below you are providing CJW Solutions/CrankyClouds with AWS Administrative access to your AWS Account.

@yanivmn
yanivmn / open-source-sso.md
Last active December 5, 2024 03:47 — forked from bmaupin/open-source-sso.md
Comparison of open-source SSO implementations
Aerobase Keycloak WSO2 Identity Server Gluu CAS OpenAM Shibboleth IdP
OpenID Connect/OAuth support yes yes yes yes yes yes third-party
Multi-factor authentication yes yes yes yes yes yes yes
Admin UI yes yes yes yes yes yes no
OpenJDK support yes yes yes yes no
Identity brokering yes yes yes
Middleware NGINX, Wildfly Wildfly, JBOSS WSO2 Carbon Jetty, Apache HTTPD any Java app server any Java app server Jetty, Tomc
@valer-cara
valer-cara / multi-broker-tunnel.sh
Created July 31, 2018 13:10
Kafka on kubernetes: portforward & dnat to all brokers for remote access
#!/bin/bash
# This is a bit hardcoded, but it's meant as a proof of concept.
# used in kubectl get pods when targeting kafka broker pods
KARGS="-n kafka -l release=kafka,app=kafka"
# used in kubectl port-forward (setting the namespace, can be omitted)
KPORTFWD_ARGS="-n kafka"
# port on broker pods to forward
DPORT=9092
@jaceklaskowski
jaceklaskowski / deployment-tool-ansible-puppet-chef-salt.md
Last active July 11, 2025 05:01
Choosing a deployment tool - ansible vs puppet vs chef vs salt

Requirements

  • no upfront installation/agents on remote/slave machines - ssh should be enough
  • application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
  • configuration templating
  • environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
  • deployment process run from Jenkins

Solution

@delphian
delphian / drupal-7-example-local-settings.php
Created August 15, 2013 17:12
Example of drupal 7 local settings.php file.
<?php
// To set up a local environment, make a duplicate of this file and name it
// local-settings.inc in the site directory that contains the settings.php file.
// Ignore sites/*/local-settings.php in the .gitignore file. Change the settings.php
// file to include local-settings.php if the file exists.
// Point database to local service.
$databases['default']['default'] = array(
'database' => 'local_db_name',