As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
| " Set mapleader for general commands (not set by default - not sure if this is needed) | |
| " let maplocalleader = "\<Space>" | |
| " Set maplocalleader for Conjure leader key | |
| let maplocalleader = "," | |
| "Relative line numbers | |
| set relativenumber | |
| " Full color theme support for neovim |
| import childProcess from 'child_process'; | |
| import fs from 'fs'; | |
| import dotenv from 'dotenv'; | |
| import prettier from 'prettier'; | |
| const rootDir = process.cwd(); | |
| dotenv.config({ | |
| path: `${rootDir}/.env.production`, | |
| }); |
| // Prettier config to reduce merge conflicts: https://gist.github.com/devinrhode2/08c84e175c61b282b76f4766a94e4a01 | |
| /** @type {import('prettier').RequiredOptions} */ | |
| module.exports = { | |
| singleQuote: true, | |
| semi: false, | |
| // avoid even more merge conflicts: https://prettier.io/blog/2020/03/21/2.0.0.html#change-default-value-for-trailingcomma-to-es5-6963httpsgithubcomprettierprettierpull6963-by-fiskerhttpsgithubcomfisker | |
| trailingComma: 'all', | |
| printWidth: 40, |
| import type { V2_HtmlMetaDescriptor, V2_MetaFunction } from "@remix-run/node"; | |
| export const mergeMeta = ( | |
| overrideFn: V2_MetaFunction, | |
| appendFn?: V2_MetaFunction, | |
| ): V2_MetaFunction => { | |
| return arg => { | |
| // get meta from parent routes | |
| let mergedMeta = arg.matches.reduce((acc, match) => { | |
| return acc.concat(match.meta || []); |
This a short overview of some of the things you can do with Ezno today. If you find any problems, file an issue.
The following examples show some errors that have been caught using type checking, partial/const evaluation and effects.
To get started we will install oxidation-compiler which has bindings for Ezno's checker. (you can also get the binary from the releases page).
npm install -g oxidation-compiler@latest| #!/bin/bash | |
| # This script takes a video file as input and converts it into an HLS (HTTP Live Streaming) playlist with multiple resolutions and bitrates. It also generates a thumbnail image from the video. | |
| # Check if an input filename is provided | |
| if [ -z "$1" ]; then | |
| echo "Usage: $0 input_filename (without extension) [-t]" | |
| exit 1 | |
| fi |