Skip to content

Instantly share code, notes, and snippets.

Avatar

Lee McAlilly leemcalilly

View GitHub Profile
View gist:61e2d213d148c3814a42
haml: {
files: ['<%= yeoman.app %>/{layout,snippets,templates,templates/customers}/*.haml'],
tasks: ['haml']
},
update: {
files: ['<%= yeoman.app %>/{layout,snippets,templates,templates/customers}/*.liquid'],
tasks: ['copy']
},
View gist:ada1bfc873eed6db6efd
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// use this if you want to match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// load all grunt tasks
@leemcalilly
leemcalilly / gist:808238
Created Feb 2, 2011
results of "heroku list"
View gist:808238
LeeMac:achievenext leem$ heroku list
achievenext lee.mcalilly@achievenext.com
dukbhgcm
blipsit
leemcalilly
an-staging
@leemcalilly
leemcalilly / gist:808282
Created Feb 2, 2011
AN .git/config file
View gist:808282
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:AchieveNext/achievenext.git
[branch "master"]
@leemcalilly
leemcalilly / gist:943131
Created Apr 26, 2011
memberships partial
View gist:943131
- user = membership.user
%p
= link_to image_tag(user.avatar.url(:mini), :size => "30x40"), user, :title => p(user, :name)
= link_to_user user
= p(user, :current_job_title) unless p(user, :current_job_title).nil?
= p(user, :current_company_name) unless p(user, :current_company_name).nil?
%a{:href => '#'} Status:
&= group_status(membership.group, membership)
.summary
- if membership.accepted?
@leemcalilly
leemcalilly / gist:943114
Created Apr 26, 2011
memberships partial
View gist:943114
- user = membership.user
%p
= link_to image_tag(user.avatar.url(:mini), :size => "30x40"), user, :title => p(user, :name)
= link_to_user user
= p(user, :current_job_title) unless p(user, :current_job_title).nil?
= p(user, :current_company_name) unless p(user, :current_company_name).nil?
%a{:href => '#'} Status:
&= group_status(membership.group, membership)
.summary
- if membership.accepted?
@leemcalilly
leemcalilly / gist:983866
Created May 20, 2011
Blog Stories | 3.1 app
View gist:983866

Blog

This is mostly built correctly. There are some features we should add and some that we need to double check that they still work properly in the v2.0.

Site admin can assign the role of blog author to users

@leemcalilly
leemcalilly / gist:983857
Created May 20, 2011
Signup / Login / Profile Stories | 3.1 app
View gist:983857

User can sign up for the site

As a user I'd like to be able to signup for the site

Acceptance Criteria

  • There is a /signup page
  • Sign up occurs in 2 steps so that the forms seem less daunting
  • Fields on step 1 of signup
    • Name (required)
    • Email (required)
    • Password (required)
@leemcalilly
leemcalilly / gist:983868
Created May 20, 2011
Design Notes | 3.1 app
View gist:983868

Design

These are mostly reminders for Lee.

Layout should employ a mobile first design approach

@leemcalilly
leemcalilly / gist:983869
Created May 20, 2011
Marketing Notes | 3.1 App
View gist:983869

Marketing

This is the part of the app that the user sees when they are not logged in.

Anonymous user can visit the homepage

As a user, when I am not logged in, I should see a homepage with info about the CFO Alliance and

Acceptance Criteria