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
#!/usr/bin/env npx deno-bin run --allow-all | |
import XLSX from "npm:xlsx"; | |
import { parseFlags } from "https://deno.land/x/[email protected]/flags/mod.ts"; | |
import "https://deno.land/x/[email protected]/load.ts"; | |
// @deno-types="npm:@types/flat" | |
import flat from "npm:[email protected]"; | |
import { BSON, MongoClient } from "npm:mongodb"; |
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> | |
<meta charset="UTF-8"> | |
<title>Embed tag with PDF demo</title> | |
</head> | |
<body> | |
<h1>Embed tag with PDF demo</h1> | |
<embed style="height: 100vh; width: 100%;" src="http://yongfeng.me/attach/lin-recsys2019.pdf" type="application/pdf" /> | |
</body> |
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
// Generate .flow.js from .ts files so that flow can understand TS and the two can live in peace at least until we have time to completely overhaul flow | |
const flowgen = require('flowgen'); | |
const fs = require('fs'); | |
const name = 'FlowgenWebpackPlugin'; | |
const tsPattern = /\.(ts|tsx)$/; | |
class FlowgenWebpackPlugin { | |
apply(compiler) { | |
compiler.hooks.compilation.tap(name, compilation => { | |
const compiledModules = {}; | |
compilation.hooks.succeedModule.tap(name, module => { |
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
{"lastUpload":"2020-07-17T01:13:25.128Z","extensionVersion":"v3.4.3"} |
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
<link rel="import" href="../notification-elements/notification-alert.html"> | |
<link rel="import" href="../core-icons/core-icons.html"> | |
<link rel="import" href="../paper-item/paper-item.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; |