Skip to content

Instantly share code, notes, and snippets.

View diafour's full-sized avatar

Ivan Mikheykin diafour

View GitHub Profile
@fl64
fl64 / books.md
Last active August 28, 2025 12:11
books
@tcoppex
tcoppex / c_nostd.txt
Last active August 28, 2025 22:16
Writing C software without the standard library [Linux Edition] - Franc[e]sco's Gopherspace
###################################################################
Writing C software without the standard library
Linux Edition
###################################################################
There are many tutorials on the web that explain how to build a
simple hello world in C without the libc on AMD64, but most of them
stop there.
I will provide a more complete explanation that will allow you to
build yourself a little framework to write more complex programs.
@tallclair
tallclair / dynamic_crds.go
Last active July 10, 2024 13:02
Example of using CRDs with the dynamic go client
package main
import (
"fmt"
"log"
"os/user"
"path/filepath"
"strings"
apixv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
@jasonkarns
jasonkarns / readme.md
Last active August 15, 2025 07:30
Git send-email using Gmail
  1. Configure git.
# ~/.config/git/config
[sendemail]
  confirm = auto
  smtpServer = smtp.gmail.com
  smtpServerPort = 587
  smtpEncryption = tls
  smtpUser = <gmail email address>