Skip to content

Instantly share code, notes, and snippets.

View spjpgrd's full-sized avatar
📸
was here.

seán patrick john paul george ringo doran spjpgrd

📸
was here.
View GitHub Profile
@spjpgrd
spjpgrd / karabiner.json
Created April 11, 2022 17:14
Keyboard mappings
{
"global": {
"check_for_updates_on_startup": true,
"show_in_menu_bar": true,
"show_profile_name_in_menu_bar": false
},
"profiles": [
{
"complex_modifications": {
"parameters": {
@spjpgrd
spjpgrd / App List.md
Last active August 29, 2021 03:03
List of apps to download
  1. 1Blocker.app
  2. 1Password.app
  3. Alfred 4.app
  4. Amphetamine.app
  5. Anki.app
  6. Bartender 4.app
  7. Brave Browser.app
  8. Burp Suite Community Edition.app
  9. Discord.app
  10. Docker.app
@spjpgrd
spjpgrd / useAsync.ts
Last active January 14, 2020 21:35
Slightly modified React Hook recipe of useAsync — Also TypeScript-ized: https://usehooks.com/useAsync/
import { useState, useCallback, useEffect } from "react";
/**
* Takes an async function as an input and returns the pending, value,
* and error values we need to properly update our UI.
*
* Allows both immediate execution and delayed execution using the
* returned execute function.
*
* @param asyncFunction
@spjpgrd
spjpgrd / gist:18844e646a279f51497fc3d1a09d645b
Created November 7, 2019 17:38
Fixing node-gyp Errors: A Compendium of Front-end Folly
# The Shapeshifting Error
Like the infamous [Squonk](https://en.wikipedia.org/wiki/Squonk), `node-gyp` errors are as elusive as they are worthy of a hard cry alone. Here's to documenting every solution that's actually solved the problem.
## 1. Node Version
@spjpgrd
spjpgrd / vscode-plugins.md
Created June 11, 2019 18:32
VSCode Plugin Recommendations

VSCode Plugin Recommendations

  • Beautify css/sass/less
  • Sass
  • Peacock
  • Path Intellisense
  • Partial Diff
  • Import Cost
  • Bracket Pair Colorizer
  • C#
@spjpgrd
spjpgrd / tran.csv
Last active May 15, 2019 19:35
Sample .csv for tran
id first_name last_name email gender ip_address
1 Chrisy Keir ckeir0@issuu.com Male 202.205.47.151
2 Linn Wilgar lwilgar1@google.com.au Male 21.185.230.131
3 Jacinta Windress jwindress2@bravesites.com Female 73.24.239.254
4 Elenore Mc Dermid emcdermid3@youtu.be Female 155.202.5.240
5 Latisha Bielfelt lbielfelt4@wiley.com Female 193.108.186.217
6 Tracy Ethington tethington5@sbwire.com Male 32.136.166.49
7 Beatrisa Sidnell bsidnell6@issuu.com Female 77.160.167.25
8 Neale Dyson ndyson7@yelp.com Male 91.41.174.83
9 Fawnia Charter fcharter8@google.com.au Female 141.215.18.158
@spjpgrd
spjpgrd / Show Hidden Files on macOS.md
Created January 14, 2019 18:00
Show Hidden Files on macOS

In macOS Sierra Apple added a Finder keyboard shortcut that makes it possible to quickly show all the hidden files and folders. You just need to do the following:

  1. Open the Finder
  2. Go to your Macintosh HD folder (access this from Devices in the left column)
  3. Hold down Cmd + Shift + . (dot)
  4. All the hidden files will become visible
  5. Hold down Cmd + Shift + . (dot) a second time to hide the files again

@spjpgrd
spjpgrd / dat-face.md
Created August 13, 2018 20:41
Dat Face for Slack

Nothing Beats This Face

Copy and paste this 👇

:cricket: :cricket:
:eye: :eye:
    :nose:      :ear:
       :tongue:
@spjpgrd
spjpgrd / keybase.md
Last active February 5, 2018 17:39
Keybase proof

Keybase proof

I hereby claim:

  • I am spjpgrd on github.
  • I am spjpgrd (https://keybase.io/spjpgrd) on keybase.
  • I have a public key ASCn1cUGkzXxzUtfl2FLHdp2C4zTe_hIxY2JEqz1x7Haego

To claim this, I am signing this object: