- User Stories (what & why)
- As a ... I want to / should be able to ... because ... (benefit)
- eg: As an admin, I should be able to edit my event because the timing and details might change.
- As a public user, I should be able to see all events and their details.
- As a ... I want to / should be able to ... because ... (benefit)
- User Scenarios (sequence of HOW user can accomplish each user story)
- Given ... when ... then ... and ...
- eg: Given that I'm logged in, when I select my event from the calendar then I can use the datepicker to edit the date and click "Save" to keep the change.
- Given ... when ... then ... and ...
- MVP: What is the MVP design (total of all user stories)?
This file contains 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
module.exports = function atob(a) { | |
return new Buffer(a, 'base64').toString('binary'); | |
}; |
This file contains 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
module.exports = function atob(a) { | |
return new Buffer(a, 'base64').toString('binary'); | |
}; |
This file contains 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
#!/bin/bash | |
# https://github.com/nodejs/node-gyp/issues/812 | |
npm install --nodedir $(which node) | |
# OR, in ~/.bash_profile: | |
npm_config_nodedir=$(which node) |
This file contains 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
# https://ttboj.wordpress.com/2014/05/06/keeping-git-submodules-in-sync-with-your-branches/ | |
# Create a file in your project's hooks: touch .git/hooks/post-checkout | |
# And add the following: | |
#!/bin/bash | |
exec git submodule update | |
# Then chmod u+x .git/hooks/post-checkout |
This file contains 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
# Example configuration for Company A | |
# This will only be applied for Git operations within ~/code/company-a-work/ | |
# Within this scope, values below will overwrite the corresponding ones in the global .gitconfig | |
# Only mention configs that overwrite or elaborate on the global .gitconfig | |
[user] | |
name = Dr. Betty White | |
email = [email protected] | |
signingkey = yyyyyyyyyyyyyyyy |
Use Cmd + Shift + P
to open the command menu
Type and select: Shell Command: Install 'code' command in PATH
This allows you to open VS Code from your terminal.
ex: In your terminal, type code .
from your terminal to open the current directory in VSCode.
This file contains 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
const bower_components = './src/bower_components'; | |
const dependencies = require('./src/bower.json').dependencies; | |
const outputJson = require('./bower-pkg-versions.json'); | |
const fs = require('fs'); | |
const path = require('path'); | |
const modules = fs.readdirSync(bower_components); | |
function getAlternativeSourceOrVersion(dir, json) { |
This file contains 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
#!/bin/sh | |
# Generates an infinitely looping GIF (-loop 0) from an input video with ffmpeg. | |
# Arguments, in order: input video file, output gif file, end time (seconds) | |
# Modify args in `filters` to change fps or size (height) in pixels. | |
# Credit for optimizing color palette quality goes to: | |
# http://blog.pkh.me/p/21-high-quality-gif-with-ffmpeg.html | |
palette="/tmp/palette.png" |
This file contains 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
zip -9 -r --exclude=*.git* --exclude=*.DS_Store* result.zip originalfolder |
NewerOlder