Skip to content

Instantly share code, notes, and snippets.

View akfernun's full-sized avatar
🐠

Adam Fernung akfernun

🐠
  • Indianapolis, IN
View GitHub Profile
@akfernun
akfernun / components.child-machine\.js
Last active January 4, 2022 12:55
Child components
import Component from '@glimmer/component';
import { action } from '@ember/object';
export default class extends Component {
get context() {
return JSON.stringify(this.args.machine.machine.context)
}
@action
updateContext() {
@akfernun
akfernun / controllers.application\.js
Last active December 21, 2021 22:26
Child state machines
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
#!/bin/sh
cat << message >> ~/.gitmessage
###SUBJECT SHOULD BE <50 CHARS###################
subject line:
###SUBJECT SHOULD BE <50 CHARS###################
###DESCRIPTION SHOULD BE <72 CHARS PER LINE############################
## Source
Subject Line
Why is this commit important? Remember to be generous with you description.
Ticket URL