requires: bundler
- Genarate a new plugin and change the default dummy app location to
spec/dummy
rails plugin new foobar --dummy-path=spec/dummy
- Add development and test gems to
Gemfile
.
# sample Gemfile
requires: bundler
spec/dummy
rails plugin new foobar --dummy-path=spec/dummy
Gemfile
.# sample Gemfile
--- | |
Language: Cpp | |
AccessModifierOffset: 0 | |
AlignEscapedNewlinesLeft: true | |
AlignTrailingComments: true | |
AllowShortBlocksOnASingleLine: false | |
AllowShortCaseLabelsOnASingleLine: false | |
AllowShortFunctionsOnASingleLine: false | |
AllowShortIfStatementsOnASingleLine: true | |
AllowShortLoopsOnASingleLine: false |
# https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh | |
source ~/git-prompt.sh | |
# https://gist.github.com/hadibadjian | |
source ~/bash-short-pwd.sh | |
export PS1='$(__short_pwd)\[\033[32m\]$(__git_ps1 " (%s)")\[\033[00m\]$ ' | |
LS_COLORS=$LS_COLORS:'di=0;35:fi=0;37:ln=0;37:pi=0;37:so=5:bd=5:cd=5:or=31:mi=0:ex=33:*.rpm=90' | |
export LS_COLORS |
ssh-keygen -t rsa -C 'email@example.com'
config
file and include host details as in provided example file. Add an indentifier to differentiate hosts for similar host names./Users/hadi/.ssh/
├── config
├── id_rsa_example_enterprise
├── id_rsa_example_enterprise.pub
Navigate to /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates
and modify ___FILEBASENAME___.x
accordingly.
Use the following command to generate Xcode build settings and configurations for a given target:
xcodebuild -project example.xcodeproj -target "Example" -showBuildSettings
wget
gawk
You may install them using Homebrew:
brew install wget gawk
gem 'pg' |