Skip to content

Instantly share code, notes, and snippets.

@digikar99
digikar99 / lisp-resources-digikar-2020.md
Last active November 9, 2023 04:35
If programming is more than just a means of getting things done for you, then Common Lisp is for you!
@tannerlinsley
tannerlinsley / README.md
Last active April 12, 2024 17:04
Replacing Create React App with the Next.js CLI

Replacing Create React App with the Next.js CLI

How dare you make a jab at Create React App!?

Firstly, Create React App is good. But it's a very rigid CLI, primarily designed for projects that require very little to no configuration. This makes it great for beginners and simple projects but unfortunately, this means that it's pretty non-extensible. Despite the involvement from big names and a ton of great devs, it has left me wanting a much better developer experience with a lot more polish when it comes to hot reloading, babel configuration, webpack configuration, etc. It's definitely simple and good, but not amazing.

Now, compare that experience to Next.js which for starters has a much larger team behind it provided by a world-class company (Vercel) who are all financially dedicated to making it the best DX you could imagine to build any React application. Next.js is the 💣-diggity. It has amazing docs, great support, can grow with your requirements into SSR or static site generation, etc.

So why

@jherr
jherr / pokemon.json
Last active September 11, 2023 12:25
Pokemon list
[{
"id": 1,
"name": {
"english": "Bulbasaur",
"japanese": "フシギダネ",
"chinese": "妙蛙种子",
"french": "Bulbizarre"
},
"type": [
"Grass",
@nsantos16
nsantos16 / react-query-demo.js
Created May 15, 2020 17:52
React query API demo
// An individual movie
useQuery(['movies', 5], ...);
// A list of movies that are "released"
useQuery(['movies', { type: 'released' }], ...);
@LeCoupa
LeCoupa / tailwind_cheatsheet.css
Last active March 15, 2024 05:29
Tailwind CSS CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* TAILWIND.CSS
* DOCUMENTATION: https://tailwindcss.com/
* ******************************************************************************************* */
/*
* Available breakpoints
* --------------------
* sm: min-width: 640px;
* md: min-width: 768px;
@tdegrunt
tdegrunt / keyboardLayout.json
Last active April 8, 2024 08:48
Visual Studio Code (vscode/code) Colemak keyboard layout
{
"layout": {
"id": "com.apple.keylayout.Colemak",
"localizedName": "Colemak",
"lang": "en"
},
"rawMapping": {
"KeyA": {
"value": "a",
"valueIsDeadKey": false,
@imsmo
imsmo / WD-Harddisk-Passport-Unlock-Linux
Last active July 10, 2022 16:08
Unlocking WD Passport Hard Disk on Linux/ Ubuntu Operating System
Steps to follow:
1. Open Terminal
2. Type Command : dmesg | grep -i scsi (This will provide your WD Passport drive name)
Example : In my case its "sdb" (See the line [sdb] Attached SCSI disk above the WD My Passport)
3 Download the code zip file: https://github.com/geekhaidar/WD-Passport-Unlock-Linux
4. Unzip the files downloaded in the Download folder
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'
@daotoad
daotoad / init.vim
Created August 20, 2019 01:07
Vim Settings
" Set this variable to 1 to fix files when you save them.
let g:ale_fix_on_save = 1
highlight ALEWarning ctermbg=DarkMagenta
highlight ALEError ctermbg=DarkBlue
" Enable completion where available.
" This setting must be set before ALE is loaded.
let g:ale_completion_enabled = 1
let g:ale_fixers = {
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active May 3, 2024 12:59
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands