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 html = hyperx(hyperapp.h) | |
const model = 0 | |
const click = model => model + 1 | |
const actions = {click} | |
const view = (model, actions) => { | |
return html` | |
<div> | |
<h1>Clicked ${model}</h1> | |
<button onClick=${actions.click}>click</button> | |
</div> |
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
// composition and javascript | |
// @todo review | |
// composition is often contrasted with inheritance as a mechanism for allowing different components, | |
// modules or classes to communicate. both inheritance and composition are considered highly coupled - | |
// composition is less coupled than inheritance. | |
// object-oriented composition with dependency injection | |
class Book { | |
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
Show hidden characters
{ | |
"compilerOptions": { | |
"outDir": "./dist/", | |
"sourceMap": true, | |
"noImplicitAny": true, | |
"module": "commonjs", | |
"target": "es6", | |
"jsx": "react" | |
} | |
} |
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
[application-framework] | |
framework = "vue" | |
[ci] | |
vendor = "circleci" | |
[component-tests] | |
framework = "storybook" | |
[development-environment] |
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
#! /usr/bin/bash | |
# @version 0.0.1 | |
# @todo integrate with node-express-boilerplate | |
if [ config.js -e ] | |
then | |
touch config.js | |
fi | |
echo "ENV=DEVELOPMENT" >> config.js |
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
@link https://docs.google.com/document/d/1OB_1yO1XKYvzI6Zy_tylGNcvfFh0vwDOPRN6EvN-HsQ |
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
/** | |
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
* | |
* Gulpfile Boilerplate | |
* | |
* @version 0.0.1 | |
*/ | |
const gulp=require('gulp') | |
const env=require('./config.js') |
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
#! /usr/bin/bash | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# | |
# Leibowitz Branding and Design | |
# Versioned and Environment-specific WP Config Script | |
# | |
# @version 0.0.1 | |
CONFIG=config.js |
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
#! /usr/bin/bash | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# Containerized Local Wordpress Development Environment | |
# | |
# @version 0.0.1 | |
CONFIG=config.js | |
## Docker-Compose Aliases |
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
#! /usr/bin/bash | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# | |
# Modern Stylesheet Build Environment | |
# | |
# @version 0.0.1 | |
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# |