This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
(function($) { | |
$(document).ready(function() { | |
$('body').on('mousedown', 'div[aria-label="Remove"]', function(e) { | |
var editor = tinyMCE.activeEditor, | |
element = editor.selection.getNode(); | |
if(element.tagName !== 'FIGURE') { | |
$(element).parents('figure').remove(); | |
} | |
}); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>homebrew.mxcl.nginx</string> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>KeepAlive</key> | |
<true/> |
/* Place this after bootstrap.scss */ | |
$screen-xl: 1560px !default; | |
$screen-xl-min: $screen-xl !default; | |
$screen-xl-desktop: $screen-xl-min !default; | |
$screen-lg-max: ($screen-xl-min - 1) !default; | |
$container-xlarge-desktop: (1530px + $grid-gutter-width) !default; | |
$container-xl: $container-xlarge-desktop !default; | |
.container { |
#EXTM3U | |
#EXTINF:-1,Digitally Imported - Ambient | |
http://pub1.diforfree.org:8000/di_ambient_hi | |
#EXTINF:-1,Digitally Imported - Big Room House | |
http://pub1.diforfree.org:8000/di_bigroomhouse_hi | |
#EXTINF:-1,Digitally Imported - Breaks | |
http://pub1.diforfree.org:8000/di_breaks_hi |
//taphover - a solution to the lack of hover on touch devices. | |
//more info: http://www.hnldesign.nl/work/code/mouseover-hover-on-touch-devices-using-jquery/ | |
$('a.taphover').on('touchstart', function (e) { | |
'use strict'; //satisfy the code inspectors | |
var link = $(this); //preselect the link | |
if (link.hasClass('hover')) { | |
//preventDefault and return false will cause any other touches on the element(s) to fail. | |
//to avoid this behavior data() will store the "href". so "href" can be restored. | |
link.attr("href", link.data("href")); | |
} else { |
/** | |
* Custom WP gallery | |
*/ | |
add_shortcode('gallery', 'my_gallery_shortcode'); | |
function my_gallery_shortcode($attr) { | |
$post = get_post(); | |
static $instance = 0; | |
$instance++; |
This came about thanks to Mark on the Renoise forum. Thanks for finally pointing me in the right direction for this.
http://forum.renoise.com/index.php?/topic/38738-renoise-linux-and-pulseaudio/
// http://tinymce.moxiecode.com/wiki.php/API3:class.tinymce.Plugin | |
(function() { | |
tinymce.create('tinymce.plugins.WRAP', { | |
/** | |
* Initializes the plugin, this will be executed after the plugin has been created. | |
* This call is done before the editor instance has finished its initialization so use the onInit event | |
* of the editor instance to intercept that event. | |
* |