- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
Once upon a time…
I once took notes (almost sentence by sentence with not much editing) about the architectural design concepts - Command and Query Responsibility Segregation (CQRS) and Event Sourcing (ES) - from a presentation of Greg Young and published it as a gist (with the times when a given sentence was heard).
I then found other summaries of the talk and the gist has since been growing up. See the revisions to know the changes and where they came from (aka the sources).
It seems inevitable to throw Domain Driven Design (DDD) in to the mix.
<link rel="import" href="../polymer/polymer-element.html"> | |
<dom-module id="dolphin-controller"> | |
<script> | |
const clientContext = { | |
beanManager: { | |
onBeanUpdate: (callback) => {}, | |
onArrayUpdate: (callback) => {}, | |
notifyBeanChange: () => {}, | |
notifyArrayChange: () => {}, |
Just migrated it from Codepen.io to markdown. Credit goes to David Conner.
Working with DOM | Working with JS | Working With Functions |
---|---|---|
Accessing Dom Elements | Add/Remove Array Item | Add Default Arguments to Function |
Grab Children/Parent Node(s) | Add/Remove Object Properties | Throttle Functions on Resize |
Create DOM Elements | Conditionals |
import org.gradle.api.file.SourceDirectorySet | |
import org.gradle.api.internal.HasConvention | |
import org.gradle.api.tasks.SourceSet | |
import org.gradle.api.tasks.SourceSetContainer | |
import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet | |
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
//————————————————————————————————————————————————————————————————————————————————————————————————— | |
// BUILD SCRIPT. | |
//————————————————————————————————————————————————————————————————————————————————————————————————— |
get
set
is
has
can
add
insert
put
remove
delete
replace
purge
prune
move
view
write
read
generate
create
make
build
assemble
evoke
produce
construct
initiate
configure
prepare
provide
install
require
publish
enable
establish
cleanup
destroy
dispose
release
discard
abort
revoke
#!/bin/bash | |
# FILE: record-gif.sh | |
# DEPS: sudo apt install byzanz gifsicle | |
# SOURCE: http://askubuntu.com/questions/107726/how-to-create-animated-gif-images-of-a-screencast | |
# delay in seconds before recording (defaults to 2s). | |
DELAY=2 | |
# duration in seconds of recording (defaults to 10s). |
/** | |
* A Gist proving that Kotlin's nullable type can be made into a monad without wrapping into another | |
* object and satisfy the Monadic laws | |
* | |
* Kotlin has comprehensive null safety built into the language enforced at compile time, using its | |
* nullable type. | |
* | |
* Its language structure makes dealing with nullable values simple and succinct. Unlike other language | |
* monadic constructs such as Option (scala), Optional(Java8+) and Maybe(Haskell), it is enforced at | |
* compile time and is compatible with existing non monad aware API (for example, |
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |