- Less HTML clutter (caused by all those fragmented class names).
<button class="btn btn-primary btn-large btn-outline">Buy!</button>
- Descriptive classes (or no classes at all) in the HTML results in cleaner and easier to read HTML.
Buy!
// Version 1.3.0 | |
// 27.11.2021 | |
// | |
// Variables used by Scriptable. | |
// These must be at the very top of the file. Do not edit. | |
// icon-color: red; icon-glyph: notes-medical; | |
// Mit Caching und Fallback | |
const cacheMinutes = 60; // 60 min | |
const today = new Date(); | |
const neededTotalVaccinations = 83200000; |
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X"></script> | |
<script> | |
window.gtagTrackingID = 'UA-XXXXXXXX-X'; | |
window.gtagDisableStr = 'gtag-disable-' + gtagTrackingID; | |
window.dataLayer = window.dataLayer || []; | |
function gtag() { | |
dataLayer.push(arguments); | |
} |
The issue:
..mobile browsers will wait approximately 300ms from the time that you tap the button to fire the click event. The reason for this is that the browser is waiting to see if you are actually performing a double tap.
(from a new defunct https://developers.google.com/mobile/articles/fast_buttons article)
touch-action
CSS property can be used to disable this behaviour.
touch-action: manipulation
The user agent may consider touches that begin on the element only for the purposes of scrolling and continuous zooming. Any additional behaviors supported by auto are out of scope for this specification.
// Trying to find the formula to determine the frequency | |
// at which to sample GPS coordinates of a moving vehicle | |
// in order to have the maximum precision but not to store | |
// more data than necessary. | |
let precision = 1; // The precision of the GPS in meters | |
let max_speed = 180 / 3.6 // 180km/h converted to m/s = 50m/s | |
let max_frequency = max_speed / precision; | |
// Nyquist–Shannon sampling theorem[1] tells us a |
This list of resources is all about acquring and processing aerial imagery. It's generally broken up in three ways: how to go about this in Photoshop/GIMP, using command-line tools, or in GIS software, depending what's most comfortable to you. Often these tools can be used in conjunction with each other.
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Styled Select</title> | |
</head> | |
<style> | |
* { |
This is a non-technical reading list for technical people.
This is a list of software you should read like a novel.
goog.provide('L.SingleTileWMSLayer'); | |
goog.require('L.Map'); | |
L.SingleTileWMSLayer = L.ImageOverlay.extend({ | |
defaultWmsParams: { | |
service: 'WMS', | |
request: 'GetMap', | |
version: '1.1.1', |
A timeline of the last four years of detecting good old window.localStorage
.
October 2009: 5059daa