Skip to content

Instantly share code, notes, and snippets.

@rain-1
rain-1 / LLM.md
Last active April 8, 2025 13:49
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.

  1. 阴风鬼影 - Wind Chill----点击播放----Sun Apr 17 2022 21:30:07 GMT+0800 (China Standard Time)
  2. 阅后即焚 - Burn After Reading----点击播放----Sun Apr 17 2022 21:30:06 GMT+0800 (China Standard Time)
  3. 迈克尔·克莱顿 - Michael Clayton----点击播放----Sun Apr 17 2022 21:30:06 GMT+0800 (China Standard Time)
  4. 辛瑞那 - Syriana----点击播放----Sun Apr 17 2022 21:30:06 GMT+0800 (China Standard Time)
  5. 罪犯 - Criminal----点击播放----Sun Apr 17 2022 21:30:06 GMT+0800 (China Standard Time)
  6. 爱情达阵 - Leatherheads----点击播放----Sun Apr 17 2022 21:30:06 GMT+0800 (China Standard Time)
  7. 灵幻夹克 - The Jacket----点击播放----Sun Apr 17 2022 21:30:06 GMT+0800 (China Standard Time)
  8. 德国好人 - The Good German----[点击播放](https://music.163.c
@IsaacXen
IsaacXen / README.md
Last active April 12, 2025 01:49
(Almost) Every WWDC videos download links for aria2c.
@joseluisq
joseluisq / stash_dropped.md
Last active March 18, 2025 14:49
How to recover a dropped stash in Git?

How to recover a dropped stash in Git?

1. Find the stash commits

git log --graph --oneline --decorate ( git fsck --no-reflog | awk '/dangling commit/ {print $3}' )

This will show you all the commits at the tips of your commit graph which are no longer referenced from any branch or tag – every lost commit, including every stash commit you’ve ever created, will be somewhere in that graph.

Oh my zsh.

Install with curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Enabling Plugins (zsh-autosuggestions & zsh-syntax-highlighting)

  • Download zsh-autosuggestions by
@todgru
todgru / starttmux.sh
Last active September 26, 2024 04:28
Start up tmux with custom windows, panes and applications running
#!/bin/sh
#
# Setup a work space called `work` with two windows
# first window has 3 panes.
# The first pane set at 65%, split horizontally, set to api root and running vim
# pane 2 is split at 25% and running redis-server
# pane 3 is set to api root and bash prompt.
# note: `api` aliased to `cd ~/path/to/work`
#
session="work"
@vmihailenco
vmihailenco / proxy.go
Created November 20, 2011 15:22
Simple TCP proxy in Golang
package main
import (
"bytes"
"encoding/hex"
"flag"
"fmt"
"io"
"log"
"net"