- Always have a launchable idea completed in the first sprint
- Ensure external dependencies run ahead of time or at least ensure the idea works without them
- 100% time committed to project from client staff
- It's always best for small agile teams to have generalists rather than specialists, look for clients with these already
- Always have a trial sprint that produces a prototype
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) | |
| require 'bundler/setup' # Set up gems listed in the Gemfile. | |
| # Override default IP binding so that we can work inside vagrant!! | |
| # | |
| require 'rails/commands/server' | |
| module Rails | |
| class Server |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (ns big-time.ui.clock | |
| (:require [quiescent.core :as q] | |
| [quiescent.dom :as dom] | |
| [clojure.string :as string] | |
| [big-time.ui.app :as app])) | |
| (q/defcomponent Clock | |
| :name "Clock" | |
| :css {:clock {:font-size "3em"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| box: nodesource/trusty | |
| dev: | |
| steps: | |
| - npm-install | |
| - internal/watch: | |
| code: node index.js | |
| reload: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| box: ruby | |
| services: | |
| - id: mariadb | |
| env: | |
| MYSQL_ROOT_PASSWORD: mypassword | |
| dev: | |
| steps: | |
| - bundle-install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defn async-get [url] | |
| (let [c (channel)] | |
| (ajax/get url {:when-done #(>!! c %)}) | |
| c)) | |
| (defn sorted-user-repos [user] | |
| (sort #(compare ((%1 :stars) (%2 :stars))) (user :repos))) | |
| (defn most-popular-repo [username] | |
| (let [user (go (<! (async-get "/users.json" {:username username}))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def hash_to_csv(hash) | |
| csv = hash.map { |k, v| "#{k},#{v}" }.join("\n") | |
| File.open('hash.csv', 'w') { |f| f.write(csv) } | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Usage: | |
| # | |
| # if FeatureToggle[:my_feature].enabled? | |
| # something_with_new_feature | |
| # end | |
| # | |
| # if FeatureToggle[:my_feature].disabled? | |
| # something_without_new_feature | |
| # end | |
| # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| st = status -sb | |
| co = checkout | |
| cp = cherry-pick | |
| ci = commit | |
| br = branch | |
| sub = submodule | |
| ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate | |
| ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat | |
| undo = reset HEAD^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AnagramGrouper | |
| def group | |
| groups_larger_than_one(group_words(import('wordlist.txt'))) | |
| end | |
| def group_words(words) | |
| words.reduce({}) do |word_hash, word| | |
| word = sanitize(word) | |
| sorted = sort_word(word) |