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 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 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 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", |
This file contains 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 * as oauth from "https://raw.githubusercontent.com/snsinfu/deno-oauth-1.0a/main/mod.ts"; | |
class OAuthClient extends oauth.OAuthClient { | |
fetch( | |
input: RequestInfo | URL, | |
init: RequestInit & { token?: oauth.Token }, | |
): Promise<Response> { | |
let href = typeof input === "string" | |
? input | |
: input instanceof URL |
This file has been truncated, but you can view the full file.
This file contains 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
(function (global, factory) { | |
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('pixi.js'), require('react'), require('higlass'), require('react-dom')) : | |
typeof define === 'function' && define.amd ? define(['exports', 'pixi.js', 'react', 'higlass', 'react-dom'], factory) : | |
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.gosling = {}, global.PIXI, global.React, global.hglib, global.ReactDOM)); | |
}(this, (function (exports, pixi_js, React, higlass, ReactDOM) { 'use strict'; | |
var __mods = { 'pixi.js': pixi_js, 'react': React, 'react-dom': ReactDOM, 'higlass': higlass }; | |
var require = name => __mods[name]; | |
var __create = Object.create; |
This file contains 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"; | |
const matchingReactString = "from 'react'"; | |
const BLUE = "\u001b[34m"; | |
const YELLOW = "\u001b[33m"; | |
const 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.
This file contains 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> | |
<head> | |
<title>Gos & pyscript</title> | |
<link rel="stylesheet" href="https://pyscript.net/alpha/pyscript.css" /> | |
<script defer src="https://pyscript.net/alpha/pyscript.js"></script> | |
<py-env> | |
- gosling | |
</py-env> | |
</head> |