- Original Hexagonal Archictecture article (later renamed to Ports and Adapters architecture)
- Ports and Adapters in a Monolith
- Example with different domains talking with each other through ports and adapters
- Ports and Adapters with emphasis on SRP
- Book: Growing Object-Oriented Software Guided by Tests
- Another article on Ports and Adapters with lots of visuals
- EBI Architecture - Entity, Interface, Control objects - another perspective on the concept
- [Another shorter article by the original author](http://wiki.c2.com/?Hexago
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
git [add, stach, checkout, reset] --patch | |
git add --interactive | |
aliases for fast CLI usage | |
aliases for advanced functionality | |
hub https://hub.github.com | |
git log | |
git shortlog | |
git reflog | |
.mailmap | |
.gitattributes - export-ignore, better hunk headers, image diffs |
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/env bash | |
echo "Installing Brew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
echo "Installing Brew Cask" | |
brew install caskroom/cask/brew-cask | |
echo "Installing VirtualBox" | |
brew cask install virtualbox |
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/env bash | |
# Colours picked from https://robinpowered.com/blog/best-practice-system-for-organizing-and-tagging-github-issues/ | |
### | |
# Label definitions | |
### | |
declare -A LABELS | |
# Platform |
I hereby claim:
- I am hkdobrev on github.
- I am hkdobrev (https://keybase.io/hkdobrev) on keybase.
- I have a public key whose fingerprint is BF8F D83B EEC4 314A FDFF 6C02 A0E6 4406 2DD8 4926
To claim this, I am signing this object:
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
'use strict'; | |
var path = require('path'); | |
module.exports = function (grunt) { | |
// Load externally-defined tasks | |
grunt.loadTasks('tasks/grunt'); | |
// Load grunt tasks automatically |
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
# Folder view configuration files # | |
################################### | |
.DS_Store | |
Desktop.ini | |
# Thumbnail cache files # | |
######################### | |
._* | |
ehthumbs.db | |
Thumbs.db |
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
<?php namespace Vendor\Library; | |
use Another\Vendor\Library\ClassName; | |
abstract class ClassName extends AnotherClass implements Countable, Serializable | |
{ | |
const CONSTANTS = 'top'; | |
use someTrait, anotherTrait { | |
anotherTrait::traitMethod insteadof someTrait; |
NewerOlder