Skip to content

Instantly share code, notes, and snippets.

View AnInternetTroll's full-sized avatar
:octocat:
Getting to know Git :)

Luca Matei Pintilie AnInternetTroll

:octocat:
Getting to know Git :)
View GitHub Profile

fmt-semi-colons

This patch adds the ability to control how semi colons are palced by deno fmt.

Install

The general idea is to clone deno and patch with this file

git clone https://github.com/denoland/deno.git
cd deno
@AnInternetTroll
AnInternetTroll / timer.html
Created November 9, 2021 13:43
A timer that counts down from 100 while showing odd numbers in red and even numbers in green
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
.blue {
color: blue !important;
}