Skip to content

Instantly share code, notes, and snippets.

View keshav-c's full-sized avatar

Keshav Chakravarthy keshav-c

  • Bengaluru, India
View GitHub Profile
-- vim: tabstop=2 shiftwidth=2 expandtab
-- We almost always start by importing the wezterm module
local wezterm = require 'wezterm'
-- Define a lua table to hold _our_ module's functions
local module = {}
-- Returns a bool based on whether the host operating system's
-- appearance is light or dark.
function module.is_dark()
@kconner
kconner / macOS Internals.md
Last active September 23, 2024 15:19
macOS Internals

macOS Internals

Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.

Starting Points

How to use this gist

You've got two main options:

@rain-1
rain-1 / LLM.md
Last active September 24, 2024 01:48
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@wbotelhos
wbotelhos / clear-sidekiq-jobs.sh
Last active September 21, 2024 00:27
Clear Sidekiq Jobs
require 'sidekiq/api'
# 1. Clear retry set
Sidekiq::RetrySet.new.clear
# 2. Clear scheduled jobs
Sidekiq::ScheduledSet.new.clear
@wakproductions
wakproductions / sidekiq_cheat_sheet.md
Last active August 11, 2024 07:21
Sidekiq Commands Cheat Sheet