Skip to content

Instantly share code, notes, and snippets.

View abdala's full-sized avatar

Ab abdala

View GitHub Profile
@evanderkoogh
evanderkoogh / example.csv
Created November 20, 2017 13:29
Import CSV into DynamoDB
whateverId attribute1 someotherattribute
foo bar baz
hello erwin world
@darrylhebbes
darrylhebbes / Ctrlp-rg.vim
Created September 18, 2017 08:31
Using ripgrep with VIM CtrlP plugin
" If on Mac run:
" brew install ripgrep
" Install CtrlP of course
" Plug 'ctrlpvim/ctrlp.vim'
if executable('rg')
set grepprg=rg\ --color=never
let g:ctrlp_user_command = 'rg %s --files --color=never --glob ""'
let g:ctrlp_use_caching = 0
else
@ygotthilf
ygotthilf / jwtRS256.sh
Last active July 25, 2024 11:09
How to generate JWT RS256 key
ssh-keygen -t rsa -b 4096 -m PEM -f jwtRS256.key
# Don't add passphrase
openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub
cat jwtRS256.key
cat jwtRS256.key.pub