Skip to content

Instantly share code, notes, and snippets.

View gabrielmfern's full-sized avatar
🐇
speed

Gabriel Miranda gabrielmfern

🐇
speed
View GitHub Profile
This file has been truncated, but you can view the full file.
diff --git a/dist/index.d.ts b/dist/index.d.ts
index e3e60da..47b9315 100644
--- a/dist/index.d.ts
+++ b/dist/index.d.ts
@@ -1,2 +1,5 @@
+import type { TailwindConfig } from "./config";
export * from "./tailwind";
+export * from "./utils";
+export type { TailwindConfig };
//# sourceMappingURL=index.d.ts.map
@gabrielmfern
gabrielmfern / how-to-patch.md
Last active January 31, 2024 14:50
How do I apply a patch given to me?

So, I sent a patch as a workaround for some library and you don't know how to apply it? No problem, this should give the information you need to apply it without issues. If you do have issues, please let me know.

Tip

A patch is a way of us modifying the built code of a library in a way that is safe and painless for anyone else coming across the code-base, it is something generated using git so they all follow the same syntax.

I am going to show how to do it with two options here only, either with pnpm or

@gabrielmfern
gabrielmfern / albert-deps-void-linux.md
Created December 9, 2023 19:15
Dependencies for compiling albert on Void LInux

The dependencies you will need to build albert on Void Linux can be installed like:

sudo xbps-install libqalculate-devel libarchive-devel python3-pybind11 qtcreator-qt6

Then you can just follow the usual instructions from https://albertlauncher.github.io/installing/.

.
@gabrielmfern
gabrielmfern / .zshrc
Created November 17, 2022 20:04
my .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes