Skip to content

Instantly share code, notes, and snippets.

View 573's full-sized avatar

Daniel Kahlenberg 573

View GitHub Profile
@573
573 / etc-nixos
Created January 12, 2024 10:27 — forked from p-alik/etc-nixos
NixOS config on Dell XPS 13 Plus 9320
# /etc/nixos/configuration.nix
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
];
boot.loader.systemd-boot.enable = true;
@573
573 / flake.nix
Created November 21, 2023 08:49 — forked from voidus/flake.nix
Build a cloudinit image in nixos
{
description = "A nixos cloudinit base image without nixos-infect";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
@573
573 / openssl_commands.md
Created October 30, 2023 11:39 — forked from Hakky54/openssl_commands.md
Some list of openssl commands for check and verify your keys

OpenSSL πŸ”

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
(require 'iimage)
(autoload 'iimage-mode "iimage" "Support Inline image minor mode." t)
(autoload 'turn-on-iimage-mode "iimage" "Turn on Inline image minor mode." t)
(add-to-list 'iimage-mode-image-regex-alist '("@startuml\s+\\(.+\\)" . 1))
;; Rendering plantuml
(defun plantuml-render-buffer ()
(interactive)
(message "PLANTUML Start rendering")
(shell-command (concat "java -jar ~/Downloads/plantuml.jar "
@573
573 / README.md
Created March 16, 2023 13:08 — forked from mankoff/README.md
Code to print out all voice commands in the knausj talon repository,

Talon Voice Commands Cheatsheet

This is a demo for how to get a cheatsheet of all Talon voice commands.

To recreate what I did:

  1. Have talon installed on your computer following the instructions at talonvoice.com
  2. Paste both the cheatsheet.py and cheatsheet.talon into the user directory of ~/talon. This makes these scripts available to talon.
  3. Open the talon repl and type
@573
573 / Beginner_talon.md
Created March 16, 2023 13:08 — forked from tararoys/Replacement.md
A cheat sheet for learning several of the most useful talon commands

user.letter

command word user.letter
air a
bat b
cap c
drum d
each e
fine f
@573
573 / flake.nix
Created December 21, 2022 11:51 — forked from oxalica/flake.nix
Rust wasm example development environment
{
inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixos-unstable;
flake-utils.url = github:numtide/flake-utils;
rust-overlay.url = github:oxalica/rust-overlay;
};
outputs = { nixpkgs, flake-utils, rust-overlay, ... }:
flake-utils.lib.eachSystem ["x86_64-linux"] (system: let
pkgs = import nixpkgs {
@573
573 / .ghci
Created October 19, 2022 15:06 — forked from rpearce/.ghci
Flake for using Haskell in nix develop
:def hoogle \x -> return $ ":!hoogle --count=15 \"" ++ x ++ "\""
:def doc \x -> return $ ":!hoogle --info \"" ++ x ++ "\""
:set -Wall
:set -fno-warn-type-defaults -ferror-spans -freverse-errors -fprint-expanded-synonyms
:set prompt "\ESC[0;32m%s\n\ESC[m[ghci]\ESC[38;5;172mΞ» \ESC[m"
:set prompt-cont " \ESC[38;5;172m> \ESC[m"
@573
573 / .xinitrc
Created September 15, 2022 10:13 — forked from miguelmota/.xinitrc
Arch linux LXDE setup instructions
exec startlxde