Skip to content

Instantly share code, notes, and snippets.

View emodric's full-sized avatar
🤘
Adventure, excitement... A Jedi craves not these things!

Edi Modrić emodric

🤘
Adventure, excitement... A Jedi craves not these things!
View GitHub Profile
@goetas
goetas / phpda.yml
Created March 7, 2020 19:41
Doctrine Migrations dependency analysis
mode: 'usage'
source: './lib'
filePattern: '*.php'
formatter: 'PhpDA\Writer\Strategy\Svg'
target: './complex-cycle.svg'
groupLength: 3
visitorOptions:
PhpDA\Parser\Visitor\Required\DeclaredNamespaceCollector: {minDepth: 2, sliceLength: 6, excludePattern: '/^((?!.*(Doctrine\\Migrations))|(?=.*Exception)).*$/'}
PhpDA\Parser\Visitor\Required\MetaNamespaceCollector: {minDepth: 2, sliceLength: 4, excludePattern: '/^((?!.*(Doctrine\\Migrations))|(?=.*Exception)).*$/'}
PhpDA\Parser\Visitor\Required\UsedNamespaceCollector: {minDepth: 2, sliceLength: 4, excludePattern: '/^((?!.*(Doctrine\\Migrations))|(?=.*Exception)).*$/'}
@slacy
slacy / .bash_prompt.sh
Created June 12, 2012 22:42
git supercharged bash prompt
txtund=$(tput sgr 0 1) # Underline
txtbld=$(tput bold) # Bold
reset='\[\e[00m\]'
bold='\[\e[01m\]'
red='\[\e[31m\]'
green='\[\e[32m\]'
orange='\[\e[33m\]'
blue='\[\e[34m\]'
purple='\[\e[35m\]'
@capnslipp
capnslipp / .gitconfig
Last active January 31, 2023 16:17
my global .gitconfig file(s), with tweaks for: command verbosity, more-distinct colors, and handy aliases
# Base
[core]
excludesfile = /Users/capnslipp/.git_excludes
attributesfile = /Users/capnslipp/.git_attributes
#editor = mate -w
editor = macdown-wait
whitespace = tabwidth=4, space-before-tab, indent-with-non-tab, blank-at-eol, blank-at-eof
# defaults: whitespace = blank-at-eol, space-before-tab, -indent-with-non-tab, -tab-in-indent, blank-at-eof, trailing-space, -cr-at-eol, tabwidth=8
quotepath = false