Skip to content

Instantly share code, notes, and snippets.

Avatar
🦀

Ryan Hartje goshlanguage

🦀
View GitHub Profile
@goshlanguage
goshlanguage / fun.asm
Last active Mar 9, 2022
A fun typo in C.
View fun.asm
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 12, 0 sdk_version 12, 1
.intel_syntax noprefix
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
push rbp
.cfi_def_cfa_offset 16
View kubernetes-real-quick.md

Kubernetes

Kubernetes is a container orchestrator driven by a robust API. It is known for being the basis of resilient systems, "bin packing" or more efficiently colocating workloads to efficiently use system resources, and being extensible.

It does so at the cost of having somewhat of a barrier of entry. This guide will assume some level of familiarity with containers, apis, and some tooling. Feel free to leave comments for clarification.

Command Line Tools

View keybase.md

Keybase proof

I hereby claim:

  • I am goshlanguage on github.
  • I am xoxodeadbeef (https://keybase.io/xoxodeadbeef) on keybase.
  • I have a public key ASC24FhW5wuBzEn6QQcDpZGcHlLezvCgUwGY9V6U_i2Wxwo

To claim this, I am signing this object:

@goshlanguage
goshlanguage / docker-compose.yaml
Last active Aug 9, 2019
Simple docker-compose for LEMP
View docker-compose.yaml
version: "3"
services:
# Uncomment for DNS Server
# bind:
# image: resystit/bind9
# ports:
# - 53:53/udp
# restart: always
# volumes:
View keybase.md

Keybase proof

I hereby claim:

  • I am ryanhartje on github.
  • I am xoxodeadbeef (https://keybase.io/xoxodeadbeef) on keybase.
  • I have a public key ASCr0RbezG2lUnHobZMtgl2MBse-_JwoF7aw9lCInszy6wo

To claim this, I am signing this object:

@goshlanguage
goshlanguage / golang-tls.md
Created Oct 18, 2016 — forked from denji/golang-tls.md
Simple Golang HTTPS/TLS Examples
View golang-tls.md
Generate private key (.key)
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
    
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
openssl ecparam -genkey -name secp384r1 -out server.key