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 anywidget | |
import traitlets | |
class ExampleWidget(anywidget.AnyWidget): | |
_esm = """ | |
export function render({ model, el }) { | |
el.classList.add("custom-widget"); | |
function valueChanged() { | |
el.textContent = model.get("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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>Interactive Observable Plot</title> | |
<script type="module" src="/main.js"></script> | |
</head> | |
<style> | |
:root { | |
font-family: sans-serif; |
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
type ChromSizes = [name: string, length: number][] | |
type ChromName = unknown; | |
type TilesetInfo = {}; | |
type Bam = { | |
min_pos: [number]; | |
max_pos: [number]; | |
max_zoom: number; |
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
// @ts-check | |
import * as fsp from "node:fs/promises"; | |
import * as util from "node:util"; | |
import glob from "glob"; | |
let matchingReactString = "from 'react'"; | |
let BLUE = "\u001b[34m"; | |
let YELLOW = "\u001b[33m"; | |
let RESET = "\u001b[0m"; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
<script> | |
import { onDestroy, onMount } from "svelte"; | |
export let model; | |
export let name = "value"; | |
let count = model.get(name); | |
let event = `change:${name}` | |
let callback = () => count = model.get(name); |
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
from setuptools import setup | |
VERSION = "0.1" | |
setup( | |
name="tweakpane", | |
description="Python bindings for Tweakpane UI", | |
author="Trevor Manz", | |
license="Apache License, Version 2.0", | |
version=VERSION, |
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 { Command } from "https://deno.land/x/[email protected]/command/mod.ts"; | |
import { open } from "https://deno.land/x/[email protected]/index.ts"; | |
let subcmds = [ | |
"search", | |
"images", | |
"shopping", | |
"news", | |
"videos", | |
"maps", |