Skip to content

Instantly share code, notes, and snippets.

@nat-418
nat-418 / nix-home-manager-neovim-setup.md
Last active December 28, 2024 14:23
Manage Neovim plugins (and more!) with Nix and Home Manager

Manage Neovim plugins (and more!) with Nix and Home Manager

Highly extensible software like Emacs, Vim, and Neovim tend to grow their own package managers. A software developer, for example, might want to install editor plugins that hook into a particular programming language's linter or language server. The programmer's text editor is therefore extended to support managing additional software to extend the text editor. If this loop continues for too long, the programmer's editor becomes more delicate and complex. The remedy for this problem is to manage software using dedicated tools apart

@hankchanocd
hankchanocd / netlify-function-sends-slack-notifications.js
Last active December 28, 2024 14:21
Netlify Function Sends Slack Notifications
/*
Since late 2020, Netlify has put up a pay wall on its built-in Slack notifications for CI/CD.
This gist shows you a workaround using the still-free Netlify's deploy webhook that triggers a Netlify Function calling Slack Incoming Webhook.
Steps:
1. Deploy this Netlify Function
2. Have the corresponding link pasted into Netlify's deploy webhook, i.e. https://example.com/.netlify/functions/<your-function>
3. In next deploy, Netlify will trigger the deploy webhook, which in turn calls your Slack Incoming Webhook
*/
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 28, 2024 14:15
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under User Settings -> Gift Inventory
@qoomon
qoomon / conventional-commits-cheatsheet.md
Last active December 28, 2024 14:13
Conventional Commits Cheatsheet

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@veekaybee
veekaybee / normcore-llm.md
Last active December 28, 2024 14:11
Normcore LLM Reads

Anti-hype LLM reading list

Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.

Foundational Concepts

Screenshot 2023-12-18 at 10 40 27 PM

Pre-Transformer Models

unpair wearOS watch wihtout performing factory reset (and without root)

1- Wear is connected with phone A (old phone or the same phone before a factory reset) so turn off Bluetooth on this phone.

2- enable developer mode on watch, manually go:

  • settings > system > about and tap build version 10 times

3- reset previously paired phone (phone A) then watch will restart:

adb shell "pm clear com.google.android.gms && reboot"

@wolfg1969
wolfg1969 / README.md
Last active December 28, 2024 14:03
Volumio Bluetooth receiver on Raspberry Pi Zero W