Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fjudith
fjudith / kubernetes_service_session_affinity.md
Last active May 13, 2024 01:10
Enable Session Affinity (a.k.a Sticky Session) to Kubernetes service
@sdwfrost
sdwfrost / counties.geojson
Created September 23, 2019 17:54
US Counties data in geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@s-naoya
s-naoya / eigen_quat_test.cpp
Last active May 13, 2024 01:07
Eigen Quaternion Test
// g++ -I/usr/local/include/eigen3 -O2 -o eigen_quat_test eigen_quat_test.cpp
#include <iostream>
#include <Eigen/Geometry>
typedef Eigen::Vector2d Vector2;
typedef Eigen::Vector3d Vector3;
typedef Eigen::Matrix3d Matrix3;
typedef Eigen::Quaterniond Quat;
typedef Eigen::AngleAxisd AngleAxisd;
@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@qoomon
qoomon / conventional_commit_messages.md
Last active May 13, 2024 01:01
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default

@voluntas
voluntas / webrtc_turn.rst
Last active May 13, 2024 00:58
WebRTC で利用されいる TURN プロトコルの解説

WebRTC で利用されいる TURN プロトコルの解説

日時

2021-01-29

@voluntas

バージョン

2021.2

url

https://voluntas.github.io/

image

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

@loonietoque
loonietoque / ultrawide-twitch-notes.md
Created January 31, 2024 19:51
Ultrawide on Twitch

Ultrawide Streaming Notes

When I am speaking on "ultrawide", I am usually referring to the common aspect ratio stated as "21:9".

I argue there is a case for content creation at 21:9 resolutions. Primarily,

  • Smartphones are a very common viewing device, and are ever-increasing in lengthier aspect ratios. Many creators already use 18:9 instead of 16:9 for this reason.
  • For desktops, folks are very rarely watching in fullscreen mode anyways
@rphlmr
rphlmr / clear-db.ts
Last active May 13, 2024 00:57
Drizzle snippets
// Credits to Louistiti from Drizzle Discord: https://discord.com/channels/1043890932593987624/1130802621750448160/1143083373535973406
import { sql } from "drizzle-orm";
const clearDb = async (): Promise<void> => {
const query = sql<string>`SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'public'
AND table_type = 'BASE TABLE';
`;