docker --version
: Check Docker version.docker help
: Show Docker commands and options.docker info
: Display system-wide information about Docker.
docker images
: List all local images.
function logEmailsToSheet() { | |
// Specify the subject line to search for in Gmail | |
var query = 'subject:"Feedback Submission"'; | |
// Access the active spreadsheet and the first sheet | |
var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); | |
// Search Gmail with the given query | |
var threads = GmailApp.search(query); | |
for (var i = 0; i < threads.length; i++) { | |
var messages = threads[i].getMessages(); |
version: "3" | |
services: | |
directus: | |
image: directus/directus:10.9.2 | |
ports: | |
- 8055:8055 | |
volumes: | |
- ./database:/directus/database | |
- ./uploads:/directus/uploads | |
- ./extensions:/directus/extensions |
//this is a function that generates a fibonacci sequence from any given number. | |
/* | |
A Fibonacci sequence works with adding the last number to the first number to generate the next number. the first numbers is always | |
0, 1 but sometimes, you might be asked to start from 1. Therefore, if you start from 0, 1, the next number will be 0 + 1 = 1 | |
that gives you 0, 1, 1 as the sequence. | |
*/ | |
function fibonacciSeq(n) { | |
var result = []; //an empty array for output | |
if (n === 1) { |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Animation</title> | |
<style> | |
body { | |
display: grid; | |
place-items: center; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Z-Index & Stacking Content</title> | |
<style> | |
/* this is the normal flow without grid/flex */ | |
/* .wrapper { | |
position: relative; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Pseudo Classes</title> | |
<style> | |
a:hover { | |
background: black; | |
color: white; |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Pseudo Elements</title> | |
<style> | |
::marker { | |
color: red; | |
} |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Grid Layout</title> | |
<style> | |
/* | |
other sizing keywords |