All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
<html lang=""> | |
<head> | |
<title>Scroll To Element Example</title> | |
</head> | |
<style> | |
.module { | |
margin: 20px auto; | |
width: 215%; | |
height: 300px; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Unique elements array #jsbench #jsperf</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
# Backup of the database | |
wp db export - | gzip ~/tmp/mydbdump.sql.gz | |
# Backup of the files | |
tar czvf my-site.tar.gz --exclude=no-go-dir public_html/ |
export function randomInt(max, min = 0) { | |
return Math.round(Math.random() * (max - min) + min) | |
} |