Install the client:
apt-get install git
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
Generate certificates using manual mode:
<?php | |
if ( defined( 'WP_CLI' ) && WP_CLI ) { | |
class JW_Random_Posts extends WP_CLI_Command { | |
private $args, $assoc_args; | |
/** | |
* Generates a Random set of posts | |
* |
/* Scroll2 | |
======================= | |
Takes one argument, `speed`. Defaults to 500. | |
Examples: | |
$('.scroll2').scroll2(); // <a href="#contact" class="scroll2">Contact me</a> | |
$('#scrollToTop').scroll2(700); // <a href="#header" id="scrollToTop">Scroll to top</a> |
#!/bin/bash | |
# Copyright © 2015 Bjørn Johansen | |
# This work is free. You can redistribute it and/or modify it under the | |
# terms of the Do What The Fuck You Want To Public License, Version 2, | |
# as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. | |
WP_PATH="/path/to/wp" | |
# Check if WP-CLI is available | |
if ! hash wp 2>/dev/null; then |
// Insert into some kind of 'focus' action | |
var parent = $(this).parent().parent('.fieldWrap'); // Target a wrapper | |
// Reset active state | |
$('.fieldWrap').removeClass('active'); | |
// Add active state to current field | |
parent.addClass('active'); |
$.magnificPopup.open({ | |
items: { | |
src: '#popup', | |
type: 'inline' | |
}, | |
removalDelay: 400, | |
callbacks: { | |
open: function () { | |
this.content.velocity('transition.slideDownIn', { | |
duration: 400 |
Install the client:
apt-get install git
git clone https://github.com/letsencrypt/letsencrypt
cd letsencrypt
Generate certificates using manual mode:
Fast, mobile-friendly and responsive lightbox with CSS3 animations.
Forked from Andrzej Dubiel's Pen Magnific Popup + Animate.css.