Skip to content

Instantly share code, notes, and snippets.

View nucternal18's full-sized avatar

John Oladipupo-Usoro nucternal18

View GitHub Profile
@nucternal18
nucternal18 / example.ts
Created April 30, 2025 11:48 — forked from gpichot/example.ts
Tanstack React Query pattern matching
export default function SessionsList() {
const sessionsQuery = useSessionsListQuery();
return (
<PageLayout title="My sessions">
{matchQueryStatus(sessionsQuery, {
Loading: (
<>
<Skeleton height={70} mt={6} />
<Skeleton height={70} mt={6} />
@nucternal18
nucternal18 / freecodecamp_intro_to_jamstack.md
Created March 17, 2020 07:43 — forked from philhawksworth/freecodecamp_intro_to_jamstack.md
freeCodeCamp - Introduction to JAMstack

freeCodeCamp Introduction to JAMstack

Here's a list of links to resources to accompany the "Introduction to JAMstack" video on freeCodeCamp, by Phil Hawksworth

Watch the video

JAMstack video

@nucternal18
nucternal18 / node_nginx_ssl.md
Created September 23, 2019 20:39 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to Digital Ocean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user