Skip to content

Instantly share code, notes, and snippets.

View jerryharrison's full-sized avatar
🐢
Marathon not a sprint.

Jerry Harrison jerryharrison

🐢
Marathon not a sprint.
View GitHub Profile
/*
DON'T ALLOW THESE USERNAMES IN YOUR APP
if you want to allow www.yourapp.com/{username}
here are the words you wouldn't want people to use
as their username
words followed by star (*) mean you don't want to
@jerryharrison
jerryharrison / README.md
Last active May 24, 2022 00:48
EventHub Take Home Assessment for Dev Job Position 2022

EventHub Development Job Interview

Here we have a simple ToDo app, but a few things are broken or not quite right. Feel free to pick and choose which problems to complete or solve all of them if you can. This shouldn't take longer than 3 hours. If it does, just turn in what you have at the 3 hour mark.

The problems are listed in no particular order. Good luck!

How to submit your solution

  • Don't fork this gist as that would make your solution public for others to see. Instead, download a copy of the files in the gist as a zip and work on it locally.
  • When you're done, create a new private gist with your solution or a public repo and send us the link.
@jerryharrison
jerryharrison / README.md
Last active February 21, 2022 02:04
Remix Bootstrap Steps!

This is just for my personal notes.

Excuse any roughness. Might be blog post in future?!

This is based on remix latest as of 1/15/2022

Use pnpm.io for node modules installation and management.

Install remix with Cloudflare pages and typescript

@jerryharrison
jerryharrison / help.md
Created February 20, 2021 16:03 — forked from elisescu/help.md
temp-tty-server-config

Nginx config

My nginx config. I honestly don't remember the details of all parts of the config, but I do remember having to do something explicit about the websockets connections, which initially were not allowed by the proxy. I should update the documentation of the repo one day, when I will get some time :).

nginx config for the web/browser side (http+websockets connection)

http {
    upstream tty-server {
        server localhost:8010;
@jerryharrison
jerryharrison / Gemfile
Created June 26, 2020 13:43 — forked from dhh/Gemfile
HEY's Gemfile
ruby '2.7.1'
gem 'rails', github: 'rails/rails'
gem 'tzinfo-data', '>= 1.2016.7' # Don't rely on OSX/Linux timezone data
# Action Text
gem 'actiontext', github: 'basecamp/actiontext', ref: 'okra'
gem 'okra', github: 'basecamp/okra'
# Drivers
@jerryharrison
jerryharrison / stuns
Created June 25, 2020 20:23 — forked from yetithefoot/stuns
STUN+TURN servers list
{url:'stun:stun01.sipphone.com'},
{url:'stun:stun.ekiga.net'},
{url:'stun:stun.fwdnet.net'},
{url:'stun:stun.ideasip.com'},
{url:'stun:stun.iptel.org'},
{url:'stun:stun.rixtelecom.se'},
{url:'stun:stun.schlund.de'},
{url:'stun:stun.l.google.com:19302'},
{url:'stun:stun1.l.google.com:19302'},
{url:'stun:stun2.l.google.com:19302'},
@jerryharrison
jerryharrison / .block
Created June 18, 2020 20:40 — forked from armollica/.block
Isometric map
height: 960
@jerryharrison
jerryharrison / install-htop.sh
Created February 5, 2020 14:50 — forked from alexandrerocco/install-htop.sh
Amazon Linux - Install htop
# update
sudo yum -y update
sudo yum -y upgrade
# enable EPEL6 by changing enabled=0 -> enabled=1
sudo vim /etc/yum.repos.d/epel.repo
# install htop
sudo yum install htop
@jerryharrison
jerryharrison / README.md
Created June 18, 2019 16:12 — forked from awmichel/README.md
Development Guide for DNS Resolution: permitzone.dev

Development Guide for DNS Resolution of permitzone.dev Domains

This guide will walk you through setting up permitzone.dev domain resolution locally. It involves setting up dnsmasq to handle .dev DNS requests and nginx to proxy requests to the correct app locally.

Prerequisites

  • Homebrew is installed and working. Use brew doctor to verify.

Setup