Skip to content

Instantly share code, notes, and snippets.

View William9923's full-sized avatar
🎯
Focusing

William Ong William9923

🎯
Focusing
View GitHub Profile
@lnwncentral
lnwncentral / Officially Translated Light Novels
Last active October 10, 2025 21:53
Officially Translated Light Novels
Last update: 25/02/2025 20:47
!Completed: https://mega.nz/folder/sMcCXKpa#_R-M2Cqh9NYbFWWVWVAmxw
!EPUB: https://mega.nz/folder/5AE2DTKS#-u5vZ1LauFo4vRDiAvFQIw
!PDF: https://mega.nz/folder/ER1HXJZT#AnftN521aESOeisBWk_tMw
!Yaoi/37C: https://mega.nz/folder/8A0RyZIS#x4N8tGqddmDHMMbCy1L0qA
!Yaoi/A Kiss and a Pair of Handcuffs: https://mega.nz/folder/0V9zTQ6J#TnF--X0XuXuKr_lmIqTOxA
!Yaoi/Ai no Kusabi: https://mega.nz/folder/5FUhmLyA#p_iCdky89s6sTHJNAHXMDQ
!Yaoi/Ai Shika Iranee yo: https://mega.nz/folder/cR9FRADS#8Byg_qCw_mQ1VIGEFCc4KA
!Yaoi/All My Loving: https://mega.nz/folder/Ud80ATRK#BFzuo5vhxZx1uYtZlhwbVw
!Yaoi/Amazing Grace: https://mega.nz/folder/FcFW2bRC#vxpnv6Kq4MwPYOsUI1353g
@rdyv
rdyv / print-memory.go
Created May 22, 2019 20:54
Go print current memory
package main
import (
"runtime"
"fmt"
"time"
)
func main() {
// Print our starting memory usage (should be around 0mb)
@thiagozs
thiagozs / gomock.md
Last active May 11, 2025 14:44
Tutorial gomock

08/16/17 by  Sergey Grebenshchikov

No Comments

This is a quick tutorial on how to test code using the GoMock mocking library and the standard library testing package testing.

GoMock is a mock framework for Go. It enjoys a somewhat official status as part of the github.com/golang organization, integrates well with the built-in testing package, and provides a flexible expectation API.

@matthewpalmer
matthewpalmer / pod.yaml
Last active April 24, 2024 00:00
Example Kubernetes pod for the multi-container sidecar design pattern
# Example YAML configuration for the sidecar pattern.
# It defines a main application container which writes
# the current date to a log file every five seconds.
# The sidecar container is nginx serving that log file.
# (In practice, your sidecar is likely to be a log collection
# container that uploads to external storage.)
# To run:

Aligning images

This is a guide for aligning images.

See the full Advanced Markdown doc for more tips and tricks

left alignment

@willurd
willurd / web-servers.md
Last active October 24, 2025 16:17
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@CristinaSolana
CristinaSolana / gist:1885435
Created February 22, 2012 14:56
Keeping a fork up to date

1. Clone your fork:

git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git

2. Add remote from original repository in your forked repository:

cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream