Skip to content

Instantly share code, notes, and snippets.

View sfletche's full-sized avatar

Scott Fletcher sfletche

  • Premise
  • Portland, OR
View GitHub Profile
Use the following to skip / remove a file from being updated by git
> git update-index --skip-worktree <filename>
Use the following to see which files are currently being skipped / ignored
> git ls-files -v . | grep ^S
Use the following to revert the skip
> git update-index --no-skip-worktrree <filename>
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Portland Office Traversal",
"tags": [
"portland-office-traversal"
],
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Portland Office",
"tags": [
"portland-office-alt"
],
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"name": "Portland Office",
"tags": [
"portland-office-alt"
],
const initialState = {
pricingPlans: [],
pricingPlansWithRepayment: [],
selectedOptionIdentifier: null,
selectedPreviewOptionIdentifier: null,
error: {},
};
function reducer(state = initialState, action = {}) {
switch (action.type) {
export function showAllPlans(state = false, action = {}) {
switch (action.type) {
case TOGGLE_ALL_PLANS:
return action.showAllPlans;
default:
return state;
}
}
export function maxProjectAmounts(state = [], action = {}) {

Champ States

Application Phase

Application Review

Provide Project Info

Select Payment Term

Review Financing Summary

Panda Application States

Concurrent Steps

Step

  • Record Notice Sent to Lender Date

Step

  • Verify Intended Scope of Work
@sfletche
sfletche / import-export-cheatsheet.md
Last active June 14, 2017 01:15
Module import and export cheatsheet

JS Modules are file-based, meaning one module per file.

Modules are singletons, meaning there's always only one instance of the module (and it's state).

Named Exports

export function foo() { ... }
export let bar = 23;
const baz = [1, 2, 3];
export { baz };

Application Status

Application Phases

The 5 Phases of an application (as presented on the Contractor Portal)

  • Application
  • Financing Docs
  • Install & Completion Certificate
  • Funding
  • Closed