Skip to content

Instantly share code, notes, and snippets.

@nardan
nardan / nuke-modules.ps1
Last active March 18, 2020 07:50
Deleting Node Modules
Get-ChildItem -Path "." -Include "node_modules" -Recurse -Directory | Remove-Item -Recurse -Force
@nardan
nardan / Set Up SSH.md
Last active July 2, 2019 09:30
Setting up SSH for Git & Mercurial
@nardan
nardan / js-to-ts.sh
Last active October 10, 2019 13:11
JS to TS
#!/bin/bash
find ./src -name "*.js" -exec sh -c 'git mv "$0" "${0%.js}.ts"' {} \;

Keybase proof

I hereby claim:

  • I am nardan on github.
  • I am nardan (https://keybase.io/nardan) on keybase.
  • I have a public key whose fingerprint is 8403 536B 3094 0827 372B CE23 C77C F95F 80A3 9661

To claim this, I am signing this object:

@nardan
nardan / machine.js
Created August 25, 2021 10:52
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions