Skip to content

Instantly share code, notes, and snippets.

Sean Hunter freshcutdevelopment

Block or report user

Report or block freshcutdevelopment

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@freshcutdevelopment
freshcutdevelopment / app.html
Last active Sep 23, 2017
Aurelia Gist - RequireJS, Bootstrap, Fontawesome
View app.html
<template>
<h1>${message}</h1>
</template>
@jdanyow
jdanyow / app.html
Last active Feb 5, 2019
Aurelia Validation Demo
View app.html
<template>
<require from="./registration-form"></require>
<registration-form></registration-form>
</template>
@henrik
henrik / rules.md
Last active Jul 15, 2019
Sandi Metz' four rules from Ruby Rogues episode 87. Listen or read the transcript: http://rubyrogues.com/087-rr-book-clubpractical-object-oriented-design-in-ruby-with-sandi-metz/
View rules.md
  1. Your class can be no longer than 100 lines of code.
  2. Your methods can be no longer than five lines of code.
  3. You can pass no more than four parameters and you can’t just make it one big hash.
  4. When a call comes into your Rails controller, you can only instantiate one object to do whatever it is that needs to be done. And your view can only know about one instance variable.

You can break these rules if you can talk your pair into agreeing with you.

You can’t perform that action at this time.