sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- Download zsh-autosuggestions by
// Works on desktop browsers only | |
if (navigator.userAgent.match(/Trident\//) || navigator.userAgent.match(/Edge\//)) { | |
document.body.addEventListener("mousewheel", function(evt) { | |
evt.preventDefault(); | |
var wd = evt.wheelDelta; | |
var csp = window.pageYOffset; | |
window.scrollTo(0, csp - wd); | |
}); | |
// If the code block above doesn't work, please try attaching the event to the window like so: |
<?php | |
// Version CSS file in a theme | |
wp_enqueue_style( | |
'theme-styles', | |
get_stylesheet_directory_uri() . '/style.css', | |
array(), | |
filemtime( get_stylesheet_directory() . '/style.css' ) | |
); |
/** | |
* | |
* Gulpfile setup | |
* | |
* @since 1.0.0 | |
* @authors Ahmad Awais, @digisavvy, @desaiuditd, @jb510, @dmassiani and @Maxlopez | |
* @package neat | |
* @forks _s & some-like-it-neat | |
*/ |
/** | |
* Hide the main editor on specific pages | |
*/ | |
define('EDITOR_HIDE_PAGE_TITLES', json_encode(array())); | |
define('EDITOR_HIDE_PAGE_TEMPLATES', json_encode(array('template-cars.php'))); | |
/** | |
* Hide the main editor on defined pages | |
* |
# ----------------------------------------------------------------- | |
# .gitignore for WordPress | |
# Bare Minimum Git | |
# http://ironco.de/bare-minimum-git/ | |
# ver 20150227 | |
# | |
# This file is tailored for a WordPress project | |
# using the default directory structure | |
# | |
# This file specifies intentionally untracked files to ignore |
<!DOCTYPE html> | |
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/normalize.css"> |
// -------------------------------------------------------------------------------------- | |
// A More Modern Scale for Web Typography | |
// Based on this article: http://typecast.com/blog/a-more-modern-scale-for-web-typography | |
// -------------------------------------------------------------------------------------- | |
$body-font-size: 1em !default; | |
// Adjusts body typography to be default | |
// for each browser. | |
@mixin reset-body-font-size($font-size: 100%, $size-adjustment: 0.5) { |
mix3d asked for some help using this guide with windows so here we go. This was tested with Windows 10. Run all commands in Git Bash once it's installed.
Github will be the main account and bitbucket the secondary.