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
// Reset padding, margins, and get everything to use box-sizing: border-box | |
*, | |
*::before, | |
*::after { | |
box-sizing: border-box; | |
margin: 0; | |
padding: 0; | |
} | |
// Remove touch delay on mobile devices (where the browser is waiting 300ms for a double tap) |
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> | |
<head> | |
<meta charset="utf-8"/> | |
<title>if, else, switch, object</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> |
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 $window() { | |
function wrapperFunction(value) { | |
return value; | |
} | |
return wrapperFunction(window); | |
} |
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
contenteditable | |
Pressing enter/return on a contenteditable div places this into the html | |
Fix: http://jakiestfu.github.io/Medium.js/docs/ or http://stackoverflow.com/questions/18552336/prevent-contenteditable-adding-div-on-enter-chrome | |
Firefox: <br> | |
Chrome: <div><br></div> (<div>With text</div>) | |
Safari: <div><br></div> (<div>With text</div>) | |
IE11: <p><br></p> (<p>With text</p>) | |
IE10: <p> </p> (<p>With text</p>) |
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
0-mail | |
815 | |
845 | |
0clickemail | |
0sg | |
0wnd | |
10mail | |
10minut | |
10minutemail |
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
aol | |
arnet | |
att | |
bellsouth | |
blueyonder | |
bt | |
btinternet | |
charter | |
comcast | |
cox |
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
accountancy | |
accounts | |
actuarial | |
adec | |
admin | |
adminaei | |
administrator | |
adsrecruitment | |
alf.recruiting | |
applications |
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
#!/bin/bash | |
for number in 1 2 | |
do | |
# Time of photo | |
DATE=$(date +"%Y-%m-%d %H:%M:%S") | |
# Name and location to photo | |
FILE="/home/pi/camera/$DATE.jpg" | |
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
'tis | |
'twas | |
a | |
aah | |
aaron | |
abandon | |
abandoned | |
abbott | |
abby | |
abe |
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
'll | |
've | |
a | |
a's | |
able | |
about | |
above | |
abroad | |
abst | |
accordance |
NewerOlder