Skip to content

Instantly share code, notes, and snippets.

@nilium
nilium / languages.toml
Last active December 28, 2025 22:54
Uiua config for Helix
# To be put in ~/.config/helix/languages.toml
# Requires running `hx --grammar fetch` followed by `hx --grammar build`
# which can take some time.
[[grammar]]
name = "uiua"
[grammar.source]
git = "https://github.com/shnarazk/tree-sitter-uiua"
rev = "868b3d672d5622add493437eb7f2ee6956f14ccf"
@Icaruk
Icaruk / multipleGitProfiles.md
Last active November 25, 2025 21:48
How to have multiple profiles on git

Last update: 30-01-2024
Last view: 25-11-2025

Step 1

Go to your work folder, mine is located at: F:/Work/EnterpriseName/

And then create a .gitconfig-work with the following data:

@fracasula
fracasula / encrypt_decrypt.go
Last active July 17, 2025 09:12
A simple example with Golang that uses AES-128 to encrypt and decrypt messages.
package mycrypto
import (
"crypto/aes"
"crypto/cipher"
"crypto/rand"
"encoding/base64"
"io"
"time"
)
@tanaikech
tanaikech / submit.md
Last active January 7, 2026 13:28
Downloading Shared Files on Google Drive Using Curl

Downloading Shared Files on Google Drive Using Curl

When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.

File size < 40MB

CURL

filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&amp;id=${fileid}"