| Characteristic | Alpine | Slim | Stretch | Buster | Jessie | Bullseye |
|---|---|---|---|---|---|---|
| Base operating system | Alpine Linux | Debian | Debian | Debian | Debian | Debian |
| Codename | - | - | Stretch | Buster |
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
| const gradients = [ | |
| { name: "Blu", hex: ["#00416A", "#E4E5E6"] }, | |
| { name: "Ver", hex: ["#FFE000", "#799F0C"] }, | |
| { name: "Ver Black", hex: ["#F7F8F8", "#ACBB78"] }, | |
| { name: "Combi", hex: ["#00416A", "#799F0C", "#FFE000"] }, | |
| { name: "Anwar", hex: ["#334d50", "#cbcaa5"] }, | |
| { name: "Bluelagoo", hex: ["#0052D4", "#4364F7", "#6FB1FC"] }, | |
| { name: "Lunada", hex: ["#5433FF", "#20BDFF", "#A5FECB"] }, | |
| { name: "Reaqua", hex: ["#799F0C", "#ACBB78"] }, | |
| { name: "Mango", hex: ["#ffe259", "#ffa751"] }, |
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
| import React from 'react'; | |
| import { useSessionStorage } from '@mantine/hooks'; | |
| export interface CFTrace { | |
| status: string; | |
| country: string; | |
| countryCode: string; | |
| region: string; | |
| regionName: string; | |
| city: string; |
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 | |
| if [ "$#" -ne 2 ]; then | |
| echo "Usage: $0 SOURCE_FILE OUTPUT_FILE" | |
| exit 1 | |
| fi | |
| # Template file with placeholders | |
| TEMPLATE_FILE="env.tmpl" |
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
| const Benchmark = require('benchmark'); | |
| const suite = new Benchmark.Suite(); | |
| console.log('benchmark'); | |
| const emptyArray = []; | |
| const nonEmptyArray = [1, 2, 3]; | |
| suite |
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
| const Benchmark = require('benchmark'); | |
| const isEmpty = require('lodash/isEmpty'); | |
| const suite = new Benchmark.Suite(); | |
| console.log('benchmark'); | |
| const emptyObj = {}; | |
| const nonEmptyObj = { key: 'value' }; |
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
| const dateFormats: string[] = [ | |
| 'yyyy-MM-dd', | |
| 'dd/MM/yyyy', | |
| 'd/MM/yyyy', | |
| 'dd.MM.yyyy', | |
| 'yyyy-M-d', | |
| 'd.M.yyyy', | |
| 'dd-MM-yyyy', | |
| 'MM/dd/yyyy', | |
| 'd.MM.yyyy', |
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
| """ | |
| # Check new versions of packages | |
| $ pip list --outdated | |
| # Install new packages | |
| $ pip install -U package | |
| # Save to file | |
| $ pip freeze > requirements.txt | |
| """ |
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
| const aryIannaTimeZones = [ | |
| 'Europe/Andorra', | |
| 'Asia/Dubai', | |
| 'Asia/Kabul', | |
| 'Europe/Tirane', | |
| 'Asia/Yerevan', | |
| 'Antarctica/Casey', | |
| 'Antarctica/Davis', | |
| 'Antarctica/DumontDUrville', // https://bugs.chromium.org/p/chromium/issues/detail?id=928068 | |
| 'Antarctica/Mawson', |