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
<?php | |
$databases['default']['default'] = [ | |
'driver' => $_ENV['DB_CONNECTION'], | |
'host' => $_ENV['DB_HOST'], | |
'port' => $_ENV['DB_PORT'], | |
'database' => $_ENV['DB_NAME'], | |
'username' => $_ENV['DB_USER'], | |
'password' => $_ENV['DB_PASS'], | |
]; |
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
find . -type d -exec chmod 0755 {} \; | |
find . -type f -exec chmod 0644 {} \; |
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 | |
TARGET_REMOTE="origin" | |
TARGET_BRANCH="master" | |
DEPLOY_DIR="_deploy" | |
# Store the last commit message. | |
LOG=$(git log --oneline -1) | |
# Re-generate the site |
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/sh | |
SOURCE=~/path/to/source | |
TARGET=~/path/to/target | |
ENV=prod | |
REMOTE_NAME=origin | |
REMOTE_BRANCH=master | |
echo "Ensure that the target repository is up to date." | |
cd ${TARGET} |
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
<?php | |
$databases = array(); | |
$base_url = ''; | |
$conf['site_name'] = ''; | |
// Display all messages. | |
// $conf['error_level'] = 2; |
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
<?php | |
// Disable self-updates. | |
$conf['allow_authorize_operations'] = FALSE; | |
// Disable poormanscron. | |
$conf['cron_safe_threshold'] = 0; |
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
@mixin styled-select($width: 200px, $margin: 30px) { | |
overflow: hidden; | |
width: $width; | |
select { | |
@include appearance(none); | |
@include border-radius(0); | |
background: none; | |
border: none; | |
cursor: pointer; |
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
jQuery(document).ready(function ($) { | |
"use strict"; | |
if ($('#block-views-hero-slideshow-block').length > 0) { | |
$('#block-views-hero-slideshow-block .view-content ul').slick({ | |
centerMode: true, | |
slide: 'li', | |
slidesToShow: 1 | |
}); | |
} |
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
require "sass-globbing" | |
require "susy" | |
require "breakpoint" | |
http_path = "/" | |
css_dir = "css" | |
sass_dir = "sass" | |
images_dir = "images" | |
javascripts_dir = "js" | |
fonts_dir = "fonts" |
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
@each $family in futura-book, futura-bold, futura-bold-italic, futura-italic { | |
@font-face { | |
font-family: #{$family}; | |
src: url('../fonts/#{$family}/#{$family}.eot'); | |
src: url('../fonts/#{$family}/#{$family}.eot?#iefix') format('embedded-opentype'), | |
url('../fonts/#{$family}/#{$family}.woff') format('woff'), | |
url('../fonts/#{$family}/#{$family}.ttf') format('truetype'), | |
url('../fonts/#{$family}/#{$family}.svg##{$family}') format('svg'); | |
font-weight: normal; | |
font-style: normal; |