Skip to content

Instantly share code, notes, and snippets.

@Fang-
Fang- / mirage.md
Last active October 5, 2023 23:47
Mirage (EAuth)

mirage (eauth)

Urbit's identity layer pervades everything on Mars. Unfortunately, despite talking to Mars a lot, Earth is not quite so fortunate. A notable example are requests made to Urbit's HTTP server, Eyre. Presently, when viewing for example a blog post hosted by someone else's urbit, there is no way for a user to leave a comment signed by their own identity right then and there: they need to go through their own urbit instead, maybe even installing a matching blog app.

# Source: https://gist.github.com/0c56f8b8a820198ada44123fa1bf4b60
################################################################
# How To Apply GitOps For Everything Using Crossplane And Flux #
# https://youtu.be/dunU2ABitMA #
################################################################
# Additional Info:
# - eksctl - How to Create and Manage AWS EKS clusters: https://youtu.be/pNECqaxyewQ
# - Flux CD v2 With GitOps Toolkit - Kubernetes Deployment And Sync Mechanism: https://youtu.be/R6OeIgb7lUI
#!/bin/bash
# 0 * * * * /Users/imiell/git/work/bin/home/slack_start_stop.sh start
# 3-59 * * * * /Users/imiell/git/work/bin/home/slack_start_stop.sh stop
DO_START=0
DO_STOP=0
while [ "$1" != "" ]; do
case $1 in
@reitraced
reitraced / GUIDE.MD
Last active February 20, 2024 14:59
a getting started guide to urbit (how original)

introduction

hey, glad you could make it! this is a basic guide (with gifs) on how to install urbit and boot a comet. this guide howeever will also be going into some of my own qol tricks, but youll see a bit later.

okay so lets get started!

oh and also sorry about the extremely low quality of all my gifs. its 2 am and ive never done this kind of thing before, so bare with me

prerequesites

@negz
negz / kubedump.sh
Last active March 6, 2024 18:42
Dump Kubernetes cluster resources as YAML
#!/usr/bin/env bash
set -e
CONTEXT="$1"
if [[ -z ${CONTEXT} ]]; then
echo "Usage: $0 KUBE-CONTEXT"
exit 1
fi
@croxton
croxton / SSL-certs-OSX.md
Last active March 3, 2024 18:58 — forked from leevigraham/Generate ssl certificates with Subject Alt Names on OSX.md
Generate ssl certificates with Subject Alt Names

Generate ssl certificates with Subject Alt Names on OSX

Open ssl.conf in a text editor.

Edit the domain(s) listed under the [alt_names] section so that they match the local domain name you want to use for your project, e.g.

DNS.1   = my-project.dev

Additional FQDNs can be added if required:

@mgoodness
mgoodness / helm-rbac.md
Last active October 30, 2021 17:04
Helm RBAC setup for K8s v1.6+ (tested on minikube)
kubectl -n kube-system create sa tiller
kubectl create clusterrolebinding tiller --clusterrole cluster-admin --serviceaccount=kube-system:tiller
helm init --service-account tiller
@BitOfUniverse
BitOfUniverse / coverage_reporters.rb
Created April 10, 2016 18:21
Use CodeClimate + Coversall + SimpleCov locally at the same time
# Allows to post coverage data to remote services like Codeclimate & Coversall and use simplecov locally
# to view coverage locally, run: rake spec COV=true
# add file on the top for spec_helper: require 'coverage_reporters.rb'
require 'simplecov'
require 'coveralls'
require "codeclimate-test-reporter"
reporters = [
(Coveralls::SimpleCov::Formatter if Coveralls.will_run?),
(CodeClimate::TestReporter::Formatter if CodeClimate::TestReporter.run?),
@julionc
julionc / 00.howto_install_phantomjs.md
Last active February 21, 2024 11:01
How to install PhantomJS on Debian/Ubuntu

How to install PhantomJS on Ubuntu

Version: 1.9.8

Platform: x86_64

First, install or update to the latest system software.

sudo apt-get update
sudo apt-get install build-essential chrpath libssl-dev libxft-dev
@msroot
msroot / gitconfig
Created August 11, 2013 20:20
better git log in ~/.gitconfig
[alias]
l = log --date-order --date=iso --graph --full-history --all --pretty=format:'%x08%x09%C(red)%h %C(cyan)%ad%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08%x08 %C(bold blue)%aN%C(reset)%C(bold yellow)%d %C(reset)%s'