Skip to content

Instantly share code, notes, and snippets.

View griimick's full-sized avatar
🦫
Where's my fish?

Soumik griimick

🦫
Where's my fish?
View GitHub Profile
@griimick
griimick / ctp-frappe.css
Created March 4, 2024 18:28
catppuccin/logseq frappe with latte whiteboard
:root:not([data-color]), :root[data-color=none] {
--color-base-00: rgb(var(--ctp-crust));
--color-base-10: rgb(var(--ctp-mantle));
--color-base-20: rgb(var(--ctp-base));
--color-base-30: rgb(var(--ctp-surface0));
--color-base-40: rgb(var(--ctp-surface1));
--color-base-50: rgb(var(--ctp-surface2));
--color-base-60: rgb(var(--ctp-overlay0));
--color-base-70: rgb(var(--ctp-overlay1));
--color-base-80: rgb(var(--ctp-overlay2));
@griimick
griimick / gpg-ssh-setup.md
Created December 12, 2022 23:29 — forked from mcattarinussi/gpg-ssh-setup.md
A setup guide to use a personal gpg key for ssh authentication

GPG - SSH setup

Generating the master key

Here we create the master key. We want only Certify capability: we use the master key only to create the subkeys, Sign - Encrypt - Authenticate capabilities will be assigned to the subkeys.

Run the following command to start the master key generation process. Select the set your own capabilities creation process (type 8)

  ▶ gpg --full-generate-key --expert

gpg (GnuPG) 2.2.9; Copyright (C) 2018 Free Software Foundation, Inc.

TLP 1.4 Test: Battery Care for Lenovo Laptops (non-ThinkPad series)

Read the overview document first.

Supported Features

Lenovo laptop series using the ideapad_laptop driver have a feature called 'battery conservation mode', basically a fixed stop charge threshold at 60%. The hardware behaviour is:

  1. Connected to the charger, charging stops when the charge level reaches the stop threshold
@griimick
griimick / lolcat-cmd.tape
Created October 28, 2022 11:03
VHS Tapes for box-cli examples running in Windows outside WSL
# Intial Setup
Output lolcat-cmd.gif
Set FontSize 32
Set Width 1200
Set Height 900
# VHS uses bash by default which will open WSL/Git Bash
# we can start cmd/powershell from there ;)
@griimick
griimick / README.md
Created September 9, 2022 06:49 — forked from anchan828/README.md
This is an improvement to allow @nestjs/typeorm@8.1.x to handle CustomRepository. I won't explain it specifically, but it will help in some way. https://github.com/nestjs/typeorm/pull/1233

You need to provide some classes and decorators yourself to maintain the same style as typeorm@2.x.

1. EntityRepository -> CustomRepository

@EntityRepository(UserEntity)
export class UserRepository extends Repository<UserEntity> {}

@griimick
griimick / Event Loop Notes.md
Last active August 25, 2022 20:02 — forked from trevnorris/uv-loop-notes.txt
Node.js Event Loop

I'm soon going to join Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin, Klarna & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for SDE1/2 and above. So sharing list of companies with all of you:

Do consider to UPVOTE, if it helped you.

London

@griimick
griimick / 0-Map-Reduce-Filter.md
Last active February 11, 2022 17:44
Map Reduce Filter
@griimick
griimick / .vimrc
Last active August 31, 2021 01:47
TS-COC-ATOM
set nocompatible " be iMproved, required
filetype off " required
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'sheerun/vim-polyglot'
Plugin 'morhetz/gruvbox'