Original article explanation is here:
http://www.kirstencassidy.com/cleaning-up-formatting-shortcodes/
\[/vc(.*?)\]
\[vc(.*?)\]
\[custom_font(.*?)\]
<div class="container"> | |
<h1>Parallax</h1> | |
<h2>faster</h2> | |
<h2>easier</h2> | |
<h2>sassier</h2> | |
<img src="http://placekitten.com/200/200" alt=" " /> | |
<img src="http://placekitten.com/150/200" alt=" " /> | |
<img src="http://placekitten.com/200/150" alt=" " /> | |
<img src="http://placekitten.com/150/250" alt=" " /> | |
<img src="http://placekitten.com/300/400" alt=" " /> |
<?php | |
/* | |
Plugin Name: WP_Rewrite endpoints demo | |
Description: A plugin giving example usage of the WP_Rewrite endpoint API | |
Plugin URI: http://make.wordpress.org/plugins/2012/06/07/rewrite-endpoints-api/ | |
Author: Jon Cave | |
Author URI: http://joncave.co.uk/ | |
*/ | |
function makeplugins_endpoints_add_endpoint() { |
// jQuery.support.transition | |
// to verify that CSS3 transition is supported (or any of its browser-specific implementations) | |
$.support.transition = (function(){ | |
var thisBody = document.body || document.documentElement, | |
thisStyle = thisBody.style, | |
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined; | |
return support; | |
})(); |
# Add this to/create new 'config' file in ~/.ssh/ | |
Host unique_name | |
HostName ssh_address | |
User ssh_username | |
IdentityFile ~/.ssh/path/to/key |
# ~/.config/ReText project/ReText.conf | |
[General] | |
autoSave=true | |
restorePreviewState=true | |
highlightCurrentLine=true | |
tabWidth=2 | |
styleSheet=github.css | |
useWebKit=true | |
autoPlainText=false |
[alias] | |
hist = log --graph --color=always --pretty='[%C(cyan)%h%Creset]%C(bold cyan)%d%Creset %s' --all |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>audio test</title> | |
</head> | |
<body> | |
<audio controls="controls" autoplay> | |
Your browser does not support the <code>audio</code> element. | |
<source src="<%url_to_file%>" type="audio/wav"> |
alias nginx.start='sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
alias nginx.stop='sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist' | |
alias nginx.restart='nginx.stop && nginx.start' | |
alias php-fpm.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist" | |
alias php-fpm.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist" | |
alias php-fpm.restart='php-fpm.stop && php-fpm.start' | |
alias mysql.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist" | |
alias mysql.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist" | |
alias mysql.restart='mysql.stop && mysql.start' | |
alias nginx.logs.error='tail -250f /usr/local/etc/nginx/logs/error.log' |
Original article explanation is here:
http://www.kirstencassidy.com/cleaning-up-formatting-shortcodes/
\[/vc(.*?)\]
\[vc(.*?)\]
\[custom_font(.*?)\]
I hereby claim:
To claim this, I am signing this object: