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
{ | |
"workbench.colorTheme": "Cobalt2", | |
"editor.fontSize": 17, | |
"editor.fontFamily": "'Fira Code'", | |
"editor.fontLigatures": true, | |
"editor.detectIndentation": false, | |
"editor.tabSize": 2, | |
"editor.wordWrap": "on", | |
"editor.wordWrapColumn": 90, | |
"workbench.statusBar.feedback.visible": false, |
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 map; | |
$(document).ready(function(){ | |
map = new GMaps({ | |
div: '#map-canvas', | |
zoom: 5, | |
lat: 38.636206, | |
lng: -90.246758, | |
scrollwheel: false, | |
panControl: false, | |
streetViewControl: false, |
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
{ | |
"name": "roots", | |
"version": "7.0.0", | |
"author": "Ben Word <ben@benword.com>", | |
"homepage": "http://roots.io", | |
"repository": { | |
"type": "git", | |
"url": "git://github.com/roots/roots.git" | |
}, | |
"bugs": { |
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
/** | |
* @link http://cfxdesign.com/remove-unused-css-from-wordpress-automatically-with-grunt | |
*/ | |
function show_sitemap() { | |
if(WP_ENV === 'development' && isset($_GET['show_sitemap'])) { | |
$the_query = new WP_Query(array('post_type' => 'any', 'posts_per_page' => '-1', 'post_status' => 'publish')); | |
$urls = array(); | |
while($the_query->have_posts()) { | |
$the_query->the_post(); | |
$urls[] = get_permalink(); |
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
'use strict'; | |
module.exports = function(grunt) { | |
// Load all tasks | |
require('load-grunt-tasks')(grunt); | |
// Show elapsed time | |
require('time-grunt')(grunt); | |
var jsFileList = [ | |
'assets/js/plugins/bootstrap/transition.js', | |
//'assets/js/plugins/bootstrap/alert.js', |
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
INSERT INTO `databasename`.`wp_users` (`ID`, `user_login`, `user_pass`, `user_nicename`, `user_email`, `user_url`, `user_registered`, `user_activation_key`, `user_status`, `display_name`) VALUES ('21', 'username_here', MD5('password_here'), 'Justin Chick', 'hey@justinchick.com', 'http://justinchick.com/', '2014-12-06 00:00:00', '', '0', 'Justin Chick'); | |
INSERT INTO `databasename`.`wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, '21', 'wp_capabilities', 'a:1:{s:13:"administrator";s:1:"1";}'); | |
INSERT INTO `databasename`.`wp_usermeta` (`umeta_id`, `user_id`, `meta_key`, `meta_value`) VALUES (NULL, '21', 'wp_user_level', '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
// ** MySQL settings - You can get this info from your web host ** // | |
/** The name of the database for WordPress */ | |
define('DB_NAME', 'database_name_here'); | |
/** MySQL database username */ | |
define('DB_USER', 'username_here'); | |
/** MySQL database password */ | |
define('DB_PASSWORD', 'password_here'); |
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
// init hoverdir.js | |
$(function() { | |
$(' #work_thumbnail_container > li ').each( function() { $(this).hoverdir(); } ); | |
}); |
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
<?php echo get_template_directory_uri(); ?>/folder1/folder2/picture.png |
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
<?php echo get_template_directory_uri(); ?> |
NewerOlder