Skip to content

Instantly share code, notes, and snippets.

@ragingwind
ragingwind / Backend Architectures Keywords and References.md
Last active February 24, 2026 02:06
Backend Architectures Keywords and References
@monokrome
monokrome / bread_crumbs.coffee
Created July 24, 2013 22:03
Bread crumbs in Marionette.
# This is a bread crumb. It stores the URL, view
# state, whatever.
class BreadCrumb extends Model
class BreadCrumbs extends Collection
model: BreadCrumb
# Views for displaying it
class BreadCrumbView extends Marionette.ItemView
template: 'breadcrum/templates/crumb'
@lukekarrys
lukekarrys / readme.md
Last active December 21, 2017 10:38
Deploy a subdirectory in your NodeJS Git project to GitHub pages.

Deploy a subdirectory in your NodeJS Git project to GitHub pages.

  1. Make sure node build outputs some static files to _built.
  2. npm run deploy.

This eventually became this blog post and this module

@derekr
derekr / medium-article.md
Last active October 4, 2016 15:18
What it's like to build a web project in 2016

Hey I want to build a site; fetch some data and renders it in to a filterable list. Could I use jQuery for that?

Yeah sounds simple enough. You could even ditch jQuery and use native DOM APIs. They've come a long way in the past few years.

Chill.

@vancluever
vancluever / tfr-provider-downloads-ranked.sh
Last active June 3, 2021 20:39
Get Terraform Registry providers, sort by most downloads (use --community to get community providers only)
#!/usr/bin/env bash
getproviders() {
for (( PAGE=1; ; PAGE++ )); do
if [ "$1" == "--community" ]; then
DATA="$(curl -fs "https://registry.terraform.io/v2/providers?filter[tier]=community&page[number]=$PAGE")"
else
DATA="$(curl -fs "https://registry.terraform.io/v2/providers?page[number]=$PAGE")"
fi