I hereby claim:
- I am matthiasott on github.
- I am matthiasott (https://keybase.io/matthiasott) on keybase.
- I have a public key whose fingerprint is A96D F663 082E EAEF 0C22 AD71 D175 59E8 2145 F409
To claim this, I am signing this object:
# https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments | |
code --install-extension aaron-bond.better-comments | |
# https://marketplace.visualstudio.com/items?itemName=alefragnani.project-manager | |
code --install-extension alefragnani.project-manager | |
# https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client | |
code --install-extension bmewburn.vscode-intelephense-client | |
# https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense |
let fastConnection = false; | |
/** | |
* Checks the current connection speed by calculating the time it takes to download a resource | |
* Uses the Resource Timing API: https://developer.mozilla.org/en-US/docs/Web/API/Resource_Timing_API | |
*/ | |
const checkConnectionSpeed = function(resource) { | |
// Check performance support | |
if (window.performance === undefined) { | |
console.log("! window.performance NOT supported"); |
<?php | |
# Extract valid URLs from a given string | |
# Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
# http://creativecommons.org/publicdomain/zero/1.0/ | |
# Based on WordPress' _extract_urls function (https://github.com/WordPress/WordPress/blob/master/wp-includes/functions.php), | |
# but using the regular expression by @diegoperini (https://gist.github.com/dperini/729294) – which is close to the perfect URL validation regex (https://mathiasbynens.be/demo/url-regex) |
I hereby claim:
To claim this, I am signing this object: