Skip to content

Instantly share code, notes, and snippets.

@harryaskham
harryaskham / Fira Code Nerd Font Complete.css
Last active February 12, 2022 17:55
Fira Code Nerd Font Complete Blink.sh CSS
@font-face {
font-family: "Fira Code NerdFont";
font-style: normal;
font-weight: 200;
src: url('https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/FiraCode/Regular/complete/Fira%20Code%20Regular%20Nerd%20Font%20Complete.ttf') format('truetype'));
}
@font-face {
font-family: "Fira Code NerdFont";
font-style: normal;
font-weight: 400;
@harryaskham
harryaskham / server.hs
Created March 16, 2023 14:50
GPT-4 Written ChatGPT WebApp in Haskell
{- cabal:
build-depends: base
, scotty
, aeson
, http-client-tls
, http-client
, bytestring
, text
, http-types
-}
@harryaskham
harryaskham / dbus.nix
Created November 10, 2024 01:16
nix-on-droid minimal dbus module
{ config, lib, pkgs, ...}:
# Cut from https://raw.githubusercontent.com/NixOS/nixpkgs/refs/heads/master/nixos/modules/services/system/dbus.nix
let
cfg = config.dbus;
dbus-start-bin = "dbus-start";
dbus-start = pkgs.writeScriptBin dbus-start-bin ''
#!${pkgs.runtimeShell}
${pkgs.dbus}/bin/dbus-daemon --session &