This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# WARNING: Only run this script once per server. | |
#### | |
## Creating SFTP Users - Initial Setup for New Server | |
#### | |
#### | |
## Gist: https://gist.github.com/NichlasB/e938cddb7876fd74af09dc00ca537a2c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Copy the Content Below this line - DO NOT INCLUDE THE <?php ABOVE */ | |
/** | |
* Add Google Analytics tracking code | |
*/ | |
function cf_google_analytics_tracking() { ?> | |
<script> | |
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Copy the Content Below this line - DO NOT INCLUDE THE <?php ABOVE */ | |
function cf_login_obscure() { | |
return "Something didn't work out right!"; | |
} | |
add_filter( 'login_errors', 'cf_login_obscure' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function ($) { | |
var isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); | |
/* Smooth Scroll Anchor Links */ | |
$(document).on('click', 'a[href*="#"]', function (e) { | |
e.preventDefault(); | |
var target = this.hash; | |
var $target = $(target); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function($){ | |
/* Smooth Scroll Anchor Links */ | |
$(document).on('click', 'a[href*="#"]', function (e) { | |
e.preventDefault(); | |
var target = this.hash; | |
var $target = $(target); | |
$('html, body').stop().animate({ |
NewerOlder