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"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>File Concatenator</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/18.2.0/umd/react.production.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/18.2.0/umd/react-dom.production.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.21.2/babel.min.js"></script> |
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> | |
<head> | |
<title>DuckDB-WASM Arrow Ingestion</title> | |
<style> | |
body { | |
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
import { useEffect, useState } from 'react'; | |
import { | |
useMantineColorScheme, | |
ActionIcon, | |
Transition, | |
rem, | |
} from '@mantine/core'; | |
import { IconSun, IconMoon } from '@tabler/icons-react'; | |
import { useSpring, animated } from 'react-spring'; |
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
const SCHEMA = { | |
DR_NO: "integer", | |
"Date Rptd": "string", | |
"DATE OCC": "string", | |
"TIME OCC": "integer", | |
AREA: "integer", | |
"AREA NAME": "string", | |
"Rpt Dist No": "integer", | |
"Part 1-2": "integer", | |
"Crm Cd": "integer", |
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
// models.rs | |
use diesel::sql_types::{Uuid}; | |
#[derive(Queryable)] | |
pub struct Markup { | |
pub id: Uuid, | |
} | |
// show_markups.rs | |
extern crate diesel; |