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
// Local site | |
define('WP_HOME', 'http://YOURPROJECT.LOCAL/'); | |
define('WP_SITEURL', 'http://YOURPROJECT.LOCAL/'); |
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
error_reporting(E_ALL); | |
ini_set('display_errors', '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
(function($) { | |
$.fn.googleMap = function() { | |
var elem = $(this), | |
settings = { | |
mapOptions: { | |
zoomControl: false, | |
streetViewControl: false, | |
panControl: false, | |
overviewMapControl: false, |
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
git log --since="1 day ago" --name-only --pretty=format: | sort | uniq |
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
git diff --name-only OTHER_BRANCH_HERE |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
(function ($) { | |
$.fn.jump = function (options) { | |
var elem = $(this), | |
settings = { | |
scrollingParent: $('html, body'), | |
offsetPadding: 0, | |
scrollSpeed: 800, | |
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
/** | |
* To Rem | |
* -------------------------------------// | |
* Convert pixel value to REM | |
*/ | |
@function to-rem($pixel-size: 16) { | |
@return ($pixel-size / 16) * 1rem; | |
} |
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
const sortByOrder = require('./sort-by-order.js'); | |
module.exports = function(eleventyConfig) { | |
eleventyConfig.addFilter('sortByOrder', sortByOrder); | |
} |
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
.moments, .top-timeline-tweetbox, .dashboard-left, .dashboard-right, .home, .form-search, .right-actions { | |
display: none; | |
} | |
.content-main { | |
float: none; | |
margin: 0 auto; | |
} |