Skip to content

Instantly share code, notes, and snippets.

View lavantien's full-sized avatar
🧘‍♂️
chillax

лавантиен lavantien

🧘‍♂️
chillax
View GitHub Profile
@lavantien
lavantien / modern-software-engineering-resources.md
Last active May 12, 2024 16:15
Modern Software Engineering Resources

Modern Software Engineering

Knowledge and Education should be open and free. Hierarchy and Exploitation must be abolished.

Wayback Machine (archive of internet), Anna's Archive (open ebooks/papers library), 1337x/bk (archive of all media).

  • Z. (down) Notes below. Avoid all funnel sales and paid bootcamps at all cost, and don't ever work free for someone (avoid take home projects, one way interview, etc.), you're just feeding the scammers and grifters while wasting your time and resources. Also don't forget proper OpSec (don't talk about your personal details, identifiable pictures/location/voice/metadata; aware of social engineering, sunk cost fallacy, FUD, FOMO, and identity theft; and do threat modeling, etc.), self defense gears, and physical/mental strength.
  • A. (go) Development Environment (10 items) (Linux, Neovi
@lavantien
lavantien / daily-routine.md
Last active May 9, 2024 23:27
Daily Routine

General

Dedicate 100% focus to each task the the best result

Exercise (15m), Dhamma (1h30m+15m), Language (15m+30m) - 5:00-7:00, 16:00-16:30, 22:22-22:40

  • Strength and Cardio; Muay, Staff, Bow
  • 2x15m Sitting and 2x30m Waking Meditation; Read discourses
  • Learn English and Pali

Coding (9h) - 7:00-16:00

  • Going through plan (5h30), N. list (1h30), and building projects (2h)
@lavantien
lavantien / baseline-health-maintenance.md
Last active August 6, 2023 09:48
Baseline Physical & Mental Health Maintenance Guide
  • Mental

    • Guarding Action: 1. Avoid killing any creature; 2. Avoid stealing anything; 3. Avoid sex crimes & adultery
    • Guarding Speech: 4. Avoid any lie; 5. Avoid divisive speeches; 6. Avoid cruel speeches; 7. Avoid nonsensical speeches
    • Guarding Mind: 8. Avoid covetousness; 9. Avoid ill-will; 10. Avoid harmful views
    • Useful Emotions: 1. Good-Will; 2. Compassion; 3. Rejoicing; 4. Equanimity
  • Diet

    • One Meal A Day or 8-hour eating window
  • No Alcohol or Substance Abuse

@lavantien
lavantien / professional-programming-resource.md
Last active January 1, 2024 11:33
Professional Programming Resources

Comprehensive Modern Web Dev Stack

Quality Free Self-study Resources

Go; Rust; Java, C#.NET; HTMX, TailwindCSS; React, NextJS; MongoDB, PostgreSQL, Redis, Turso, Milvus, Kafka; Docker, Kubernetes, Locust; AI

I. Go

  1. Documentation: https://go.dev/doc/
  2. Learn with tests: https://lnkd.in/gfYNj5mF
@lavantien
lavantien / what-the-Buddha-really-taught.md
Last active April 30, 2024 20:20
What the Buddha really taught

Based on the earliest ancient Buddhist texts and oral tradition.

Will revolve around this text, MN 107, ordered in a Gradual Approach.

"Why do I, being liable to be reborn, grow old, fall sick, sorrow, die, and become corrupted, seek things that have the same nature? Why don’t I seek the unborn, unaging, unailing, undying, sorrowless, uncorrupted supreme sanctuary from the yoke, extinguishment?’

Some time later, while still black-haired, blessed with youth, in the prime of life—though my mother and father wished otherwise, weeping with tearful faces—I shaved off my hair and beard, dressed in ocher robes, and went forth from the lay life to homelessness.

Once I had gone forth I set out to discover what is skillful, seek

@lavantien
lavantien / go-table-driven-tests-parallel.md
Created June 10, 2023 11:31 — forked from posener/go-table-driven-tests-parallel.md
Be Careful with Table Driven Tests and t.Parallel()

Be Careful with Table Driven Tests and t.Parallel()

We Gophers, love table-driven-tests, it makes our unittesting structured, and makes it easy to add different test cases with ease.

Let’s create our table driven test, for convenience, I chose to use t.Log as the test function. Notice that we don't have any assertion in this test, it is not needed to for the demonstration.

func TestTLog(t *testing.T) {
	t.Parallel()
@lavantien
lavantien / # julia - 2023-06-04_18-56-50.txt
Created June 4, 2023 11:57
julia on Ubuntu 23.04 - Homebrew build logs
Homebrew build logs for julia on Ubuntu 23.04
Build date: 2023-06-04 18:56:50
@lavantien
lavantien / # julia - 2023-06-04_18-17-07.txt
Created June 4, 2023 11:17
julia on Ubuntu 23.04 - Homebrew build logs
Homebrew build logs for julia on Ubuntu 23.04
Build date: 2023-06-04 18:17:07
@lavantien
lavantien / # julia - 2023-06-04_18-05-53.txt
Created June 4, 2023 11:07
julia on Ubuntu 23.04 - Homebrew build logs
Homebrew build logs for julia on Ubuntu 23.04
Build date: 2023-06-04 18:05:53
@lavantien
lavantien / tbds.go
Created March 3, 2022 15:52
Golang - Optimized Hashmap Tree-based Disjoint Set
package main
import "fmt"
type DisjointSet interface {
Find(item int) int
Union(setA int, setB int)
}
type hashmapDisjointSet struct {