Skip to content

Instantly share code, notes, and snippets.

View edanweis's full-sized avatar

Edan Weis edanweis

  • Melbourne, Australia
View GitHub Profile
@edanweis
edanweis / gist:83a502d31ec7ffede88b4efd0d72a7ef
Created September 22, 2024 23:13
shadcn-vue-docs-23-09-24
---
title: Accordion
description: A vertically stacked set of interactive headings that each reveal a section of content.
source: apps/www/src/lib/registry/default/ui/accordion
primitive: https://www.radix-vue.com/components/accordion.html
---
<ComponentPreview name="AccordionDemo" class="sm:max-w-[70%]" />
## Installation
@edanweis
edanweis / background.js
Created June 9, 2022 03:13
ep3almb74a codementor - Scrape
// if you checked "fancy-settings" in extensionizr.com, uncomment this lines
// var settings = new Store("settings", {
// "sample_setting": "This is how you use Store.js to remember values"
// });
const networkFilters = {
urls: [
"*://api.flightproxy.teams.microsoft.com/*",
"*://teams.microsoft.com/*"
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath('/usr/bin/ffmpeg')
ffmpeg.setFfprobePath('/usr/bin/ffprobe')
const command = ffmpeg();
const fs = require('fs');
const path = require('path')
const glob = require('glob');
const shell = require('shelljs')
const dayjs = require('dayjs')
var utc = require('dayjs/plugin/utc')
key travel rating elevation
0 3617 4.6 134.3970032
1 187 5 16.6911602
10 857 4.5 7.721202374
100 831 4 40.64526749
101 619 5 10.1784687
102 1157 4.2 75.13779449
103 469 3.7 19.99269867
104 230 4.4 13.7585268
105 253 4.3 16.61234856