Skip to content

Instantly share code, notes, and snippets.

@mihailik
mihailik / build.js
Last active June 1, 2020 13:08
TypeScript custom transformers with ts.createSolutionBuilderWithWatch
// @ts-check
/// <reference types="node" />
var ts = require('typescript'); // little change
var tsconfig_json = JSON.stringify({
compilerOptions: {
outFile: __filename + '.out.js',
allowJs: true,
checkJs: true,
@mihailik
mihailik / massBlock.js
Last active April 13, 2023 11:20
Block everyone who liked this tweet, except people you follow
//@ts-check
async function massBlock() {
const dummy = {};
const progressPopup = await showProgressPopup();
const thumbsUp = '\uD83D\uDC4D';
async function showProgressPopup() {
const animationTimeMsec = 200;
@mihailik
mihailik / index.html
Created September 4, 2023 12:01
Atlas 3D
<html><title> Atlas 3D </title></html>