Skip to content

Instantly share code, notes, and snippets.

View hillkim's full-sized avatar
🛠️
If it ain’t broke, it doesn’t have enough features yet

hillkim hillkim

🛠️
If it ain’t broke, it doesn’t have enough features yet
View GitHub Profile
@bradfrost
bradfrost / gist:59096a855281c433adc1
Last active September 4, 2023 15:01
Why I'm Not A JavaScript Developer

Answering the Front-end developer JavaScript interview questions to the best of my ability.

  • Explain event delegation

Sometimes you need to delegate events to things.

  • Explain how this works in JavaScript

This references the object or "thing" defined elsewhere. It's like "hey, thing I defined elsewhere, I'm talkin' to you."

  • Explain how prototypal inheritance works.
@iRoachie
iRoachie / tsf.json
Created May 12, 2017 13:23
Typescript React Native functional component Snippet
"React Native Functional Component": {
"prefix": "tsf",
"body": [
"import React from 'react'",
"import {",
" View,",
" Text,",
" StyleSheet,",
" ViewStyle,",
" TextStyle",
@bradtraversy
bradtraversy / node_nginx_ssl.md
Last active July 25, 2024 06:56
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean 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