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 XElement from 'astro-xelement'; | |
import { Debug } from 'astro/components'; | |
const { Div } = XElement; | |
--- | |
<Div id="map" style="position: absolute; top: 0; bottom: 0; width: 100%;" | |
@do={(element,store)=>{ | |
import maplibregl from 'maplibre-gl'; | |
import 'maplibre-gl/dist/maplibre-gl.css'; |
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
vim.opt.shiftwidth=4 | |
vim.opt.expandtab = true | |
vim.opt.tabstop = 4 | |
vim.opt.softtabstop = 4 | |
vim.opt.smartindent = true | |
vim.opt.number = true | |
vim.opt.relativenumber = true | |
vim.opt.ignorecase = true | |
vim.opt.smartcase = true | |
vim.opt.swapfile = false |
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
# from https://stackoverflow.com/questions/38578363/ffmpeg-overlaying-one-video-on-another-one-and-making-black-pixels-transparent | |
ffmpeg -i [INPUT VIDEO] -filter_complex "[0]split[m][a]; | |
[a]geq='if(gt(lum(X,Y),16),255,0)',hue=s=0[al]; | |
[m][al]alphamerge" output.webm |