most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
<?php | |
/* | |
Plugin Name: The Combiner | |
Plugin URI: http://dd32.id.au/wordpress-plugins/?plugin=combine-css-js | |
Description: Combine CSS & JS into one large monolithic file | |
Author: DD32 | |
Version: 1.0 | |
Author URI: http://dd32.id.au/ | |
*/ | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.strip{ background: yellow; color: black; padding:9em; margin-top: 3em; } | |
.container { width:70%; margin:3em auto; border:1px black dotted; position:relative; height: 500px; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; transform-style: preserve-3d; } |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Copyright 2016 Google Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
.fs-garamond { | |
font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif; | |
} | |
.fs-lucida-bright { | |
font-family: "Lucida Bright", Georgia, serif; | |
} | |
.fs-palatino { | |
font-family: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif; |
<p>State <br /> [select state1 default:Lagos "== NOT APPLICABLE ==" "Abuja (FCT)" "Abia" "Adamawa" "Akwa Ibom" "Anambra" "Bauchi" "Bayelsa" "Benue" "Borno" "Cross River" "Delta" "Ebonyi" "Edo" "Ekiti" "Enugu" "Gombe" "Imo" "Jigawa" "Kaduna" "Kano" "Katsina" "Kebbi" "Kogi" "Kwara" "Lagos" "Nasarawa" "Niger" "Ogun" "Ondo" "Osun" "Oyo" "Plateau" "Rivers" "Sokoto" "Taraba" "Yobe" "Zamfara"]</p> |
add_action('template_redirect', function() { | |
if( get_query_var('version_id') ) | |
preview(); | |
}); | |
function preview() { | |
global $post; | |
if ( ! is_object($post) ) |