Skip to content

Instantly share code, notes, and snippets.

View trevc's full-sized avatar

Trev Curtis trevc

View GitHub Profile
-- vim: tabstop=2 shiftwidth=2 expandtab
-- We almost always start by importing the wezterm module
local wezterm = require 'wezterm'
-- Define a lua table to hold _our_ module's functions
local module = {}
-- Returns a bool based on whether the host operating system's
-- appearance is light or dark.
function module.is_dark()
@VimalMollyn
VimalMollyn / make_website.fish
Last active December 1, 2024 02:06
Ghost static site generator
function make_website --description "Recreated my website"
set hostServer $argv[1]
set hostURL (string split "http://" $hostServer)[2]
set websiteDir $argv[2]
set domainName $argv[3]
set currDir (pwd)
cd $websiteDir
/*
-----------------------------------
Emoji - natural display for the web
-----------------------------------
These font face definitions allows to display emoji glyphs intermingled with
arbitrary characters outside emoji unicode blocks.
Usage