Skip to content

Instantly share code, notes, and snippets.

@texodus
texodus / gist:b70bb8aefb00dc4d6fcb233151a968b8
Last active June 26, 2023 18:54
Perspective Header Options
/******************************************************************************
*
* 11111001111110111110001111101111100111111001111101111110111101100110111111
* 11001101000000110011011000001100110100000011000000011000011001100110100000
* 11111001111100111110001111001111100111110011000000011000011001100110111110
* 11000001100000110110000001101100000110000011000000011000011000111100110000
* 11000001111110110011011111001100000111111001111100011000111100011000111111
*
* Copyright (c) 2017, the Perspective Authors.
*
@texodus
texodus / index.html
Created May 18, 2023 03:23
`perspective-python` tornado client without localhost
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" />
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective@2.1.1/dist/cdn/perspective.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer@2.1.1/dist/cdn/perspective-viewer.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid@2.1.1/dist/cdn/perspective-viewer-datagrid.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-d3fc@2.1.1/dist/cdn/perspective-viewer-d3fc.js"></script>
<link rel="stylesheet" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer/dist/css/themes.css" />
@texodus
texodus / README.md
Last active December 10, 2022 16:16
Perspective / Ray Casting
@texodus
texodus / index.html
Created October 5, 2022 16:41
Perspective / t-digest
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
<script src="https://cdn.jsdelivr.net/npm/tdigest@0.1.2/dist/tdigest.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective@latest/dist/cdn/perspective.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer@latest/dist/cdn/perspective-viewer.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid@latest/dist/cdn/perspective-viewer-datagrid.js"></script>
@texodus
texodus / .block
Last active July 14, 2022 06:53
Perspective / Evictions
license: apache-2.0
@texodus
texodus / index.html
Created March 25, 2022 18:19
Perspective / Master-Detail
<!--
Copyright (c) 2017, the Perspective Authors.
This file is part of the Perspective library, distributed under the terms of
the Apache License 2.0. The full license can be found in the LICENSE file.
-->
<!DOCTYPE html>
@texodus
texodus / index.html
Last active February 23, 2022 16:16
Perspective / 500 Columns
<!--
Copyright (c) 2017, the Perspective Authors.
This file is part of the Perspective library, distributed under the terms of
the Apache License 2.0. The full license can be found in the LICENSE file.
-->
<!DOCTYPE html>
@texodus
texodus / index.html
Last active May 12, 2022 04:08
Stargazers
This file has been truncated, but you can view the full file.
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
<link rel="stylesheet" crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/@finos/perspective-workspace/dist/css/material.css"/>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective-workspace@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-d3fc@latest"></script>
<script src="https://cdn.jsdelivr.net/npm/@finos/perspective@latest"></script>
<style>
@texodus
texodus / .block
Last active February 2, 2022 00:02
Perspective / COVID
license: apache-2.0
@texodus
texodus / index.html
Last active January 2, 2022 06:13
Perspective / Custom `datetime` example
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"/>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective/dist/cdn/perspective.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer/dist/cdn/perspective-viewer.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-datagrid/dist/cdn/perspective-viewer-datagrid.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/@finos/perspective-viewer-d3fc/dist/cdn/perspective-viewer-d3fc.js"></script>