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
extends CanvasModulate | |
const NIGHT_COLOR = Color("#091d3a") | |
const DAY_COLOR = Color("#ffffff") | |
const EVENING_COLOR = Color("#ff3300") | |
const TIME_SCALE = 0.1 | |
var time = 0 |
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
class SwappableHeading { | |
constructor(element, headings = []) { | |
this.element = element; | |
this.headings = headings; | |
this.current = 1; | |
} | |
async swap() { | |
while (true) { | |
await this.wait(2000); |
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
<?php | |
$countries = array | |
( | |
'AF' => 'Afghanistan', | |
'AX' => 'Aland Islands', | |
'AL' => 'Albania', | |
'DZ' => 'Algeria', | |
'AS' => 'American Samoa', | |
'AD' => 'Andorra', |