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
$breakpoints: ( | |
"xl": $size-xl, | |
"lg": $size-lg, | |
"md": $size-md, | |
"sm": $size-sm, | |
"xs": $size-xs | |
); | |
@each $key, $breakpoint in $breakpoints { | |
@media (max-width: #{$breakpoint}) { | |
.col-#{$key}-12, |
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
license: mit |
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
license: mit |
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
license: mit |
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
var gutil = require( 'gulp-util' ); | |
var ftp = require( 'vinyl-ftp' ); | |
gulp.task( 'deploy', function () { | |
var conn = ftp.create( { | |
host: '****', | |
user: '****', | |
password: '****', | |
parallel: 10, |
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
#set variable | |
site_folder="kirby" | |
# 1- Recursively change group ownership of the folder to the apache group | |
sudo chown -R :www-data $site_folder | |
#2- Change chmod of root folder and then for all its subdirectories and files | |
sudo chmod 770 $site_folder | |
find $site_folder -type d -exec sudo chmod 770 {} + | |
find $site_folder -type f -exec sudo chmod 660 {} + |