This file contains hidden or 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
var name = "A Fun Name :-) "; | |
let nameCleaned = name.trim().toLocaleLowerCase().replace(/[^0-9a-zA-Z]+/g, '-').replace(/(^-|-$)/g, ''); |
This file contains hidden or 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 | |
/** | |
* INSTRUCTIONS: | |
* | |
* 1. Create a new Google Spreadsheet and add data to it. | |
* | |
* 2. Publish your sheet to the web (File > Publish to the web). | |
* | |
* 3. Select the tab "Link" to generate a link to the sheet. | |
* |
This file contains hidden or 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
Array.prototype.inserAfter = function(index, el) { | |
this.splice(index + 1, 0, el); | |
}; | |
Array.prototype.inserBefore = function(index, el) { | |
this.splice(index, 0, el); | |
}; | |
/** TODO */ |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, minimal-ui"> | |
<title>Swiper Example</title> | |
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet"> | |
<link rel="stylesheet" href="https://assets.appcropolis.net/vendors/swiper-5.4.5/swiper.min.css"> | |
<style> |
This file contains hidden or 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
(function() { | |
var duration = 1; // in minutes | |
var resetAfter = 1; // in munutes | |
var ticker = 0; | |
var deadline, | |
counter, | |
allowance = 1000 * 60 * duration, | |
saved = localStorage.deadline; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<title>Find out whether Chrome console is open</title> | |
</head> | |
<body> | |
<h2>Find out whether Chrome console is open</h2> | |
<script> |
This file contains hidden or 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
<section id="BLOCK" class="block banner"> | |
<nav id="navbar-main" class="navbar navbar-expand-lg navbar-light bg-white p-0 shadow-sm fixed-top"> | |
<div class="container"> | |
<a class="navbar-brand" href="#"><img src="http://cdn.simplifyblocks.com/wp/wp-content/uploads/lg-log-fleur-01.jpg" alt="logo"/></a> | |
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> | |
</button> | |
<div class="collapse navbar-collapse" id="navbarNav"> | |
<ul class="navbar-nav ml-auto"> | |
<li class="nav-item"> <a class="nav-link text-uppercase py-4 px-3 font-weight-light" href="#banner"><ion-icon class="d-block mx-lg-auto mb-2 ml-3 ml-lg-0" name="home-outline"></ion-icon> Home</a></li> | |
<li class="nav-item"> <a class="nav-link text-uppercase py-4 px-3 font-weight-light" href="#shop"><ion-icon class="d-block mx-lg-auto mb-2 ml-3 ml-lg-0" name="star-outline"></ion- |
This file contains hidden or 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
<!-- | |
Include files from https://isotope.metafizzy.co/ | |
<link href="https://yourserver.com/vendors/isotope/isotope-style.css" rel="stylesheet"> | |
<script src="https://yourserver.com/vendors/isotope/jquery.isotope.min.js"></script> | |
<script src="https://yourserver.com/vendors/isotope/jquery.isotope.sloppy-masonry.min.js"></script> | |
--> | |
<div id="BLOCK"> | |
<ul id="filter"> |
This file contains hidden or 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
/** | |
* Retry calling a method until a condition is met | |
*/ | |
const utils = { | |
scope: this, | |
/** | |
* |