This file contains hidden or 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
set rtp+=~/Settings/vim/vim-vue-plugin | |
set rtp+=~/Settings/vim/emmet-vim | |
set rtp+=~/Settings/vim/vim-airline | |
set rtp+=~/Settings/vim/nerdtree | |
set rtp+=~/Settings/vim/vim-blade | |
set rtp+=~/Settings/vim/vim-matchtag | |
let g:user_emmet_mode='a' | |
set tabstop=2 softtabstop=2 expandtab shiftwidth=2 smarttab | |
set fillchars+=vert:\ | |
set autoindent |
This file contains hidden or 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
# messy but working on my machine | |
# adapted from https://askubuntu.com/questions/457329/shutting-down-all-virtualbox-vagrant-vms-in-one-easy-to-use-bash-command-that/617585#617585 | |
vagrant global-status | grep running | cut -c 1-9 | while read line; do echo $line; vagrant halt $line; done; | |
vagrant up |
This file contains hidden or 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
# this is my private sample of .bash_profile | |
export PATH=$PATH:/Users/alex/drush | |
export PATH=$PATH:/usr/local/mysql/bin/ | |
export PATH=$PATH:~/.composer/vendor/bin | |
export PATH=$PATH:/usr/local/mysql/bin | |
export PATH=$PATH:/Users/alex/node/modules/sass-lint | |
export PATH=$PATH:/usr/local/Cellar/imagemagick/6.9.3-0 | |
export PATH=$PATH:/usr/local/Cellar/graphicsmagick/1.3.23_1 | |
export PATH=/usr/local/bin:/usr/local/sbin:$PATH | |
alias drush='php /Users/alex/drush/drush.php' |
This file contains hidden or 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
#!/bin/bash | |
# this is a hint on how we create git repositories at BUZZfriends | |
# this script is not tested and surely might not work as expected | |
if [ -z "$1" ]; then | |
echo usage: $0 project prefix and project directory prefix | |
exit | |
fi | |
PREFIX=$1 | |
DOMAINNAME="YOURDOMAINNAME" | |
DIRECTORY=/var/www/$PREFIX.$DOMAINNAME/www/ |
This file contains hidden or 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
/** | |
* BUZZfriends frontend workflow gulpfile.js | |
* based on https://github.com/Insayt | |
* https://gist.github.com/Insayt/272c9b81936a03884768 | |
* tweaked to work with webfonts and plumber | |
*/ | |
'use strict'; | |
var gulp = require('gulp'); |
This file contains hidden or 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 gulp = require('gulp'), | |
watch = require('gulp-watch'), | |
prefixer = require('gulp-autoprefixer'), | |
uglify = require('gulp-uglify'), | |
sass = require('gulp-sass'), | |
sourcemaps = require('gulp-sourcemaps'), | |
rigger = require('gulp-rigger'), | |
cssmin = require('gulp-minify-css'), |