- 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
# 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; |
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
INFO global: Vagrant version: 1.2.3 | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/communicators/ssh/plugin.rb | |
INFO manager: Registered plugin: ssh communicator | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/cfengine/plugin.rb | |
INFO manager: Registered plugin: CFEngine Provisioner | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/puppet/plugin.rb | |
INFO manager: Registered plugin: puppet | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/shell/plugin.rb | |
INFO manager: Registered plugin: shell | |
DEBUG global: Loading core plugin: /opt/vagrant/embedded/gems/gems/vagrant-1.2.3/plugins/provisioners/ansible/plugin.rb |
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
def insertion_sort(list): | |
for index in range(len(list)) | |
value = list[index] | |
i = index - 1 | |
while i>=0 and value < list[i]: | |
list[i+1] = list[i] # shift number in slot i right to slot i+1 | |
list[i] = value #shift value left into slot i | |
i = i - 1 |
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 |
Inspired and derived by http://stackoverflow.com/questions/1068834/object-comparison-in-javascript
NewerOlder