Skip to content

Instantly share code, notes, and snippets.

View patheticGeek's full-sized avatar
🌚
Being haunted by bugs

Geek patheticGeek

🌚
Being haunted by bugs
View GitHub Profile

So you've started learning coding, and there's this amazing thing which can solve all your problems if you tell it. Amazing right?

Cant say it louder, NO

There is a lot of issues you will find with it if you know even a little bit about what you're doing. There's places it can help a lot, and there's a lot of times it will be hurting you a lot and just bluntly wasting your time & keeping you back.

It doesn't know shit

@patheticGeek
patheticGeek / AuthContext.tsx
Last active May 20, 2023 13:00
Firebase Auth x Context x React query
import { onAuthStateChanged, User } from 'firebase/auth'
import React, {
createContext,
useContext,
useEffect,
useMemo,
useState
} from 'react'
import { auth } from 'config/firebase'
@patheticGeek
patheticGeek / Geek's kitty theme.md
Last active March 3, 2022 18:11
My kitty terminal's theme

Geek's Kitty Theme

geek-kitty-theme

Installation

  1. Make a file ~/.config/kitty/geek-kitty-theme.conf
  2. Put contents of this file in it.
  3. Add the below line in ~/.config/kitty/kitty.conf

Installation

  1. Make a file ~/.oh-my-zsh/custom/themes/geek.zsh-theme
  2. Copy contents of this file into it.
  3. Then in .zshrc set ZSH_THEME="geek"

Preview

Basic

@patheticGeek
patheticGeek / webdresources.md
Last active March 10, 2024 20:09
Basically to send to anyone asking for what to do :)

Web dev guide

These are not just side projects but can also be used to get started or level up in web dev. Mostly for beginners to intermediate.

My rant

Learn to make something that's useful and secy rather than learn a language for the sake of learning a language.

Side project shouldn't always have to have the goal of being something big or perfect or going into your resume.

@patheticGeek
patheticGeek / Css Goodies.md
Last active September 3, 2023 18:16
Some things to work on to get good at styling stuff
@patheticGeek
patheticGeek / Setup Github GPG keys.md
Created May 21, 2021 04:44
How to setup git with GPG keys for that green verified mark
  1. Generate your key
gpg --full-generate-key
  1. Export the key, copy the output and add it to github's gpg keys section
gpg --armor --export <key-id>
  1. Turn on commit signature and set default signing key
@patheticGeek
patheticGeek / discordEmojiStealerLite.js
Created April 28, 2021 13:49
Discord Emoji Stealer Lite
let emojis = new Set()
let images = $0.querySelectorAll('img')
function downloadPng({ url, name }) {
return new Promise(resolve => {
const xhr = new XMLHttpRequest();
xhr.onload = () => {
const file = new Blob([xhr.response], {
type: "image/png",
});