Skip to content

Instantly share code, notes, and snippets.

Baptiste Doré spiderneo

  • Auxime
  • France
Block or report user

Report or block spiderneo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pcsi.single_page_site.txt
--- a/js/single-page-site-scroll.js
+++ b/js/single-page-site-scroll.js
@@ -9,10 +9,11 @@
// On page load, smooth scroll.
/* global destination */
var hash = window.location.hash;
- var heightDifference = $(document).height() - $(window).height();
if (hash) {
- Drupal.behaviors.scrollToAnchor.scrollToDestination($(hash).offset().top, heightDifference);
spiderneo / le-renew-webroot
Last active Jul 6, 2016 — forked from thisismitch/le-renew-webroot
Let's Encrypt Auto-Renewal using the Webroot Plugin (Nginx)
View le-renew-webroot
for f in $FILES
echo "Renewing for $f file..."
You can’t perform that action at this time.