This for loop:
for (let i = 0, getI = () => i; i < 3; i++)
console.log(getI());
unrolls to:
module.exports = { | |
meta: { | |
type: 'problem', | |
fixable: null, | |
schema: [], | |
}, | |
create(context) { | |
function checkForHigherOrderFunction(node) { | |
if ( | |
(node.type === 'ArrowFunctionExpression' || |
{ | |
"achievement_spawned_island_types" : "player_data.achievement_spawned_island_types", | |
"active_effects" : "player_data.active_effects", | |
"autopet" : "pets_data.autopet", | |
"backpack_contents" : "inventory.backpack_contents", | |
"backpack_icons" : "inventory.backpack_icons", | |
"bank_account" : "profile.bank_account", | |
"bank_history" : "profile.bank_history", | |
"candy_inventory_contents" : "shared_inventory.candy_inventory_contents", | |
"coin_purse" : "currencies.coin_purse", |
This for loop:
for (let i = 0, getI = () => i; i < 3; i++)
console.log(getI());
unrolls to:
EDIT: DO NOT USE THIS. THIS WAS FROM WHEN ALL OF THIS WAS NEW/EXPERIMENTAL AND NOT OFFICIALLY SUPPORTED. PLEASE SEE THE LINK BELOW FOR THE PROPER, EASIER INTEGRATION NOWADAYS =)
Use create-nuxt-app
and enable the Typescript related options to scaffold a new boilerplate TS Nuxt repo:
yarn create nuxt-app
collecting some data about skyblock here |
import math | |
from moviepy.editor import concatenate, ImageClip | |
import os | |
import platform | |
import subprocess | |
import random | |
import torch | |
# pip install pytorch-pretrained-biggan | |
from pytorch_pretrained_biggan import (BigGAN, truncated_noise_sample, convert_to_images) | |
import numpy as np |
A compile-time 4-Bit Virtual Machine implemented in TypeScript's type system. Capable of running a sample 'FizzBuzz' program.
Syntax emits zero JavaScript.
type RESULT = VM<
[
["push", N_1], // 1
["push", False], // 2
["peek", _], // 3
const ranks = { | |
"ADMIN": [ | |
[ | |
'c', | |
"[ADMIN]" | |
] | |
], | |
"MODERATOR": [ | |
[ | |
'2', |
<html> | |
<head> | |
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script> | |
<script type="text/javascript"> | |
// This is a quick hack to be able to see Gantt-like Timelines of gitlab build pipelines. | |
// It makes it easier to diagnose the running time of the pipelines and understand resource usage. | |
// Ideally, gitlab would directly provide such a view in its frontend. | |
google.charts.load('current', {'packages':['gantt']}); |
// converts HTML to text using Javascript | |
function html2text(html) { | |
var tag = document.createElement('div'); | |
tag.innerHTML = html; | |
return tag.innerText; | |
} | |
// Convert Any copied text to plain text in TinyMCE (strip all tags) | |
paste_preprocess: function(plugin, args) { |