Skip to content

Instantly share code, notes, and snippets.

View jtwray's full-sized avatar
:bowtie:
writing custom Hooks tackling mapbox and C#

James 'Tucker' Wray jtwray

:bowtie:
writing custom Hooks tackling mapbox and C#
View GitHub Profile
@NigelEarle
NigelEarle / Knex-Migrations-Seeding.md
Last active October 15, 2025 20:30
Migration and seeding instructions using Knex.js!

Migrations & Seeding

What are migrations??

Migrations are a way to make database changes or updates, like creating or dropping tables, as well as updating a table with new columns with constraints via generated scripts. We can build these scripts via the command line using knex command line tool.

To learn more about migrations, check out this article on the different types of database migrations!

Creating/Dropping Tables

@edwardsanchez
edwardsanchez / SpringAnimator.swift
Last active March 1, 2024 21:20
Spring Animator
//: Playground - noun: a place where people can play
import UIKit
//Changing values
var initialVelocity: CGFloat = 0
var runningTime: CGFloat = 0
var myProperty: CGFloat = 0
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active December 28, 2025 22:08
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@1Marc
1Marc / setup.md
Created March 23, 2017 21:43
Hapi.js Workshop Setup

Tools

Before we kick off the workshop, let's make sure you have everything you need to get going. At a minimum, you'll need Node.js and npm installed. If you don't already have them installed, you can find downloaders here. If you already have Node.js but haven't updated it in a while, please be sure you have at least version 6.9.

You probably already have one, but make sure you have a code editor. If you're looking for a new one, I recommend VS Code.

The Front End App

The focus of the workshop will be on building a data API with Hapi.js which will serve an already-prepared front end application built with Angular. The Angular app displays data about Front End Masters instructors and allows users to add new instructors in. The idea is to progressively build the API such that it gives the Angular app what it needs to operate, all while becoming familiar with how Hapi.js works.

@thegitfather
thegitfather / vanilla-js-cheatsheet.md
Last active November 21, 2025 07:55
Vanilla JavaScript Quick Reference / Cheatsheet
@ourmaninamsterdam
ourmaninamsterdam / LICENSE
Last active December 17, 2025 23:35
Arrayzing - The JavaScript array cheatsheet
The MIT License (MIT)
Copyright (c) 2015 Justin Perry
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions: