Skip to content

Instantly share code, notes, and snippets.

Custom Path Segments

Intended to help make decisions regarding what custom path segments should look like in our application, and the consequences they will have on our users.

Since we are giving our users the ability to name their room items as the please, and we are routing based on the title of bookmarks/cards, we need to come to some decisions regarding how these names are represented in the address bar. The reason is because if we do not retain vaild urls, it will cause severe issues with SEO performance. Here are the three entities which this currently pertains to:

  1. Items/Interests (UserProducts)
  2. Folders
  3. Bookmarks

Example 1: Allowing Any Character

@no-jochs
no-jochs / openpgp.txt
Created March 8, 2018 04:07
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:77b1190bfc27d37dd167ab4b9d4badb813bb929f]
@no-jochs
no-jochs / openpgp.txt
Created March 12, 2018 03:30
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:77b1190bfc27d37dd167ab4b9d4badb813bb929f]
@no-jochs
no-jochs / openpgp.txt
Created March 13, 2018 02:50
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:e0cdaa2374e78964de8bc99b60fe4bae0a304b16]
@no-jochs
no-jochs / openpgp.txt
Created March 31, 2018 07:37
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:77b1190bfc27d37dd167ab4b9d4badb813bb929f]
@no-jochs
no-jochs / keybase_proof.md
Created August 9, 2018 13:29
Keybase Proof Assertion

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@no-jochs
no-jochs / cVimrc
Last active January 8, 2019 04:53 — forked from infokiller/cVimrc
let searchalias s = "stackoverflow"
let searchalias g = "google"
" show the heads-up-display
set hud
" use regexp in find mode
set regexp
" ignore search case in find mode
## General
set number # Show line numbers
set linebreak # Break lines at word (requires Wrap lines)
set showbreak=+++ # Wrap-broken line prefix
set textwidth=100 # Line wrap (number of cols)
set showmatch # Highlight matching brace
set errorbells # Beep or flash screen on errors
set visualbell # Use visual bell (no beeping)
set hlsearch # Highlight all search results
@no-jochs
no-jochs / cloudSettings
Last active March 19, 2019 19:42
VSCode Configuration
{"lastUpload":"2019-03-19T19:42:32.288Z","extensionVersion":"v3.2.7"}
@no-jochs
no-jochs / script-torrent-complete.sh
Last active January 14, 2021 07:23
A script for moving completed torrents as they finish.
#!/bin/bash
# This is a script which is executed each time a torrent finishes downloading. It should move the torrent's data out of the download directory and into the appropriate folder in Media.
# The positional arguments below represent:
# (1) The directory the torrent was downloaded to.
# (2) The name of the torrent file downloaded (does not include any segments of the download path).
# (3) The "torrent ID" is the numeric integer given in the ID column produced with the command `transmission-remote -l`. It represents a single file of data.
TR_TORRENT_DIR=${TR_TORRENT_DIR:-$1}
TR_TORRENT_NAME=${TR_TORRENT_NAME:-$2}