Skip to content

Instantly share code, notes, and snippets.

View ik5's full-sized avatar

ik5 ik5

View GitHub Profile
Julynx /
Last active September 23, 2023 19:19
15 Python Tips To Take Your Code To The Next Level!
candlerb /
Last active August 2, 2023 17:39
Suggestions for go project layout

If someone asked me the question "what layout should I use for my Go code repository?", I'd start by asking back "what are you building: an executable, or a library?"

Single executable

Stage 1: single source file

Create a directory named however you want your final executable to be called (e.g. "mycommand"), change into that directory, and create the following files:

rain-1 /
Last active September 30, 2023 08:22
LLM Introduction: Learn Language Models


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

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


Neural network links before starting with transformers.

View lsp_with_nick.lua
function RenameWithQuickfix()
local position_params = vim.lsp.util.make_position_params()
local new_name = vim.fn.input "New Name > "
position_params.newName = new_name
vim.lsp.buf_request(0, "textDocument/rename", position_params, function(err, method, result, ...)
-- You can uncomment this to see what the result looks like.
if false then
View .zshrc
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
View .tmux.conf
# Set vi key bindings mode
set -g mode-keys vi
set -g status-keys vi
# Set new panes to open in current directory
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
# List of plugins
FreddieOliveira /
Last active October 1, 2023 14:20
This tutorial shows how to run docker natively on Android, without VMs and chroot.
aaronst / unc1878_indicators.txt
Created October 28, 2020 20:20
UNC1878 Indicators
View unc1878_indicators.txt
# C2 FQDNs
first seen fqdn
2019-12-11 23:37:10
2019-12-20 17:51:05
2019-12-26 18:03:27
2020-01-10 00:33:57
2020-01-11 23:16:41
2020-01-13 05:13:43
2020-01-16 11:38:53
2020-01-20 05:58:17
View A SQL 'Database' Implemented Purely in TypeScript Type Annotations.txt