Full-page background made with JavaScript and Canvas: the animation follows movement on non-touch devices
Forked from Marco Guglielmelli's Pen Animated Background.
npm install --save asset-builder browser-sync del gulp gulp-autoprefixer gulp-changed gulp-concat gulp-cssnano gulp-flatten gulp-if gulp-imagemin gulp-jshint gulp-less gulp-plumber gulp-rename gulp-rev gulp-sass gulp-sourcemaps gulp-uglify imagemin-pngcrush jshint jshint-stylish lazypipe merge-stream minimist run-sequence traverse wiredep gulp-util gulp-combine-mq critical gulp-rename gulp-penthouse |
# Include your project-specific ignores in this file | |
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files | |
# Build Systems # | |
###################### | |
bower_components | |
.sass-cache | |
*.css.map | |
node_modules | |
npm-debug.log |
Full-page background made with JavaScript and Canvas: the animation follows movement on non-touch devices
Forked from Marco Guglielmelli's Pen Animated Background.
function sanitize_content($content) { | |
$block = join("|",array("make_columns", "make_row")); | |
$rep = preg_replace("/(<p>)?\[($block)(\s[^\]]+)?\](<\/p>|<br \/>)?/","[$2$3]",$content); | |
$rep = preg_replace("/(<p>)?\[\/($block)](<\/p>|<br \/>)?/","[/$2]",$rep); | |
return $rep; | |
} | |
add_filter("the_content", "sanitize_content"); |
/* | |
=============================================================== | |
## UTILS | |
=============================================================== | |
*/ | |
@mixin cover($image) { | |
background: url($image) no-repeat center center; | |
-webkit-background-size: cover; | |
-moz-background-size: cover; |
/* | |
trans3dparallax.js | |
Author: Ben Singer | |
Desc: A (very) simple jQuery-powered parallax effect for maximum smoothness with minimal effort. | |
*/ | |
var parallaxPushr = function() { | |
var parallaxPushr = {}; |
add_filter('wp_generate_attachment_metadata','rb_bw_filter'); | |
function rb_bw_filter($meta) { | |
$path = wp_upload_dir(); // get upload directory | |
$file = $path['basedir'].'/'.$meta['file']; // Get full size image | |
$files[] = $file; // Set up an array of image size urls | |
foreach ($meta['sizes'] as $size) { |
<!-- DNN STYLEHELPER OBJECT --> | |
<object id="dnnSH1" codetype="dotnetnuke/server" codebase="STYLEHELPER"> | |
<param name="AddCssFile" value="[S]css/bootstrap.css /> | |
<param name="AddMetaTags" value="viewport:width=device-width,initial-scale=1" /> | |
</object> | |
<!-- RESPONSIVE DNN DDR MENU NAVIGATION BAR -- USING BOOTSTRAP COLLAPSE --> | |
<div class="navbar navbar-inverse navbar-static-top"> | |
<div class="navbar-inner"> | |
<div class="container"> |
<?php | |
// in functions.php | |
add_theme_support( 'post-thumbnails'); | |
/* | |
Wordpress crop an image = 5 size. Sizes are given below | |
thumbnail // Thumbnail (default 150px x 150px max) |
sudo service postfix stop; sudo \rm /var/lock/subsys/postfix; sudo \rm /var/spool/postfix/pid/master.pid; sudo fuser -k /var/lib/postfix/master.lock;sleep 5;sudo service postfix start;sleep 5; sudo service postfix status | |
http://www.math.ias.edu/~tarzadon/pages/posts/postfix-master-dead-but-pid-file-exists-112.php | |
https://www.virtualmin.com/node/25760 | |
http://forum.odin.com/threads/email-error-with-roundcube-smtp-error-250-authentication-failed.306524/ |