$ wget -e robots=off -r -np 'http://example.com/folder/'
- -e robots=off causes it to ignore robots.txt for that domain
- -r makes it recursive
- -np = no parents, so it doesn't follow links up to the parent folder
#!/bin/bash | |
# These functions expect CLOUD_PLATFORM to be bound to one of the values below. | |
# Read in if this is a specific cloud. | |
# cloud_platform options: | |
# AWS | |
# AZURE | |
# GCE | |
# ORACLE |
{ | |
"privacyStatement": "https://example.org/privacy.html", | |
"countriesDataHeld": ["IE", "LU"], | |
"portability": { | |
"description": "You can download your raw account data", | |
"url": "https://example.org/give-me-my-data.html" | |
}, | |
"deletion": { | |
"description": "To delete your data, you must contact our support team", | |
"url": "mailto:[email protected]" |
function CountEmail() { | |
var starredEmails = GmailApp.search('is:starred'); | |
var newunreadEmails = GmailApp.search('is:unread label:inbox'); | |
var urgentEmails = GmailApp.search('label:urgent'); | |
var waitingEmails = GmailApp.search('label:waiting-for'); | |
var chaseEmails = GmailApp.search('label:chase'); | |
var draftEmails = GmailApp.search('in:draft'); | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getSheetByName("Sheet1"); | |
#!/usr/bin/env node | |
console.log('yay gist') |
$ wget -e robots=off -r -np 'http://example.com/folder/'
Daenerys Stormborn of the House Targaryen, the First of Her Name, the Unburnt, Queen of Meereen, Queen of the Andals and the Rhoynar and the First Men, Khaleesi of the Great Grass Sea, Breaker of Chains, and Mother of Dragons. |
In python, you have floats and decimals that can be rounded. If you care about the accuracy of rounding, use decimal type. If you use floats, you will have issues with accuracy.
All the examples use demical types, except for the original value, which is automatically casted as a float.
To set the context of what we are working with, let's start with an original value.