Skip to content

Instantly share code, notes, and snippets.

View gf3's full-sized avatar
๐ŸŠ
workin' goodly

Gianni Chiappetta gf3

๐ŸŠ
workin' goodly
View GitHub Profile
@queeup
queeup / Nix_package_manager_on_Fedora_Silverblue.md
Last active October 17, 2025 21:36
Nix package manager install (single user) on Fedora Silverblue

Nix package manager on Fedora Silverblue

Warning

Disable composefs or enable root.transient before install and use nix on Fedora Silverblue 42. Do not mix both. Use just one method. I prefer enabling root.transient.

  • With composefs disabled

    sudo sed -i 's/,ro//' /etc/fstab
    
    sudo rpm-ostree kargs --append='ostree.prepare-root.composefs=0' --reboot
@rougier
rougier / nano-font-stack.org
Created February 1, 2022 16:49
Nฮ›NO Emacs font stack

Nฮ›NO Emacs font stack

  • Default font: Roboto Mono ๏‘ฅ, 14pt, Light
  • Italic font: Victor Mono ๏‘ฅ, 14pt, Semilight
  • Bold font: Roboto Mono ๏‘ฅ, 14pt, Regular
  • Unicode font: Inconsolata ๏‘ฅ, 16pt, Light
  • Icon font: Roboto Mono Nerd ๏‘ฅ, 12pt, Light

Text excerpt using a gorgeous and true italic font (Victor Mono), chosen to really stand out from the default font (Roboto Mono).

- This page is a collection of some of the Advanced queries from the [[Datalog]] channel on the [[Logseq/Discord]] server. #datalog
id:: 61db13f4-75e8-4f87-ad60-3ac3479c5fc8
- ### Resources
- [link: The first message on the datalog channel](https://discord.com/channels/725182569297215569/743139225746145311/743139795865174119)
- [link: Logseq docs - Advanced queries](https://docs.logseq.com/#/page/advanced%20queries)
- [link: Logseq datascript schema](https://gist.github.com/tiensonqin/9a40575827f8f63eec54432443ecb929)
- [link: Logseq frontend db model](https://github.com/logseq/logseq/blob/master/src/main/frontend/db/model.cljs)
- [link: How to Graph Your Data - talk by Paula Gearon](https://youtu.be/tbVwmFBnfo4)
- [link: Domain modelling with datalog - talk by Norbert Wojtowicz](https://youtu.be/oo-7mN9WXTw)
- [link: Athens Research ClojureFam](https://github.com/athensresearch/ClojureFam)
@fabiolimace
fabiolimace / ksuid.sql
Last active September 21, 2025 04:09
Functions for generating Segment's KSUIDs on PostgreSQL
/*
* MIT License
*
* Copyright (c) 2023 Fabio Lima
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@johnbeynon
johnbeynon / add_domain.rb
Last active March 20, 2025 20:16
Add custom domain to Render preview environment app
#!/usr/bin/ruby
# Script to add a custom domain to a preview environment web service. Use it via the buildCommand
#
# Resultant custom domain added to the service will be:
# <servicename>-pr-<number>.prs.mydomain.com
#
# Setup:
#
# Add a wildcard DNS entry to your domain, something like *.prs.mydomain.com pointing to 216.57.24.1
@Someguy123
Someguy123 / irc_key_gen.md
Created May 19, 2021 23:11
How to generate an ECDSA NIST256P key / certificate for use on IRC (SASL ECDSA-NIST256p-CHALLENGE) - macOS instructions using openssl, Libera (Freenode), and Textual IRC Client

1. Generating keys

1.1. Generate ECDSA key

Generate private key:

openssl ecparam -name prime256v1 -genkey -out irc_nist256.pem
@Krever
Krever / _README.md
Last active May 25, 2025 17:00
Yabai setup for i3wm users
// in @shopify/polaris-adapter
enum Action {
Replace,
Augment,
Ignore,
}
type Behavior<Props> =
| {action: Action.Ignore}
| {
@jamieweavis
jamieweavis / macos-app-icon.md
Last active April 24, 2025 07:01
How to create an .icns macOS app icon
@nicholasknight
nicholasknight / adv2notes.md
Last active March 25, 2025 16:12
Kinesis Advantage 2 notes

(NOTE: Current and future versions of this and any other Advantage 2-related things I post will be at https://github.com/nicholasknight/adv2keyboard)

I received my Advantage 2 today. There's no full manual yet, even though keyboards are apparently arriving (hint, hint, Kinesis). The quick start guide leaves out the "power user mode", and there are some other quirks.

Update: A manual has been posted at http://www.kinesis-ergo.com/advantage2-resources/

It includes a dictionary for the key maps, but I know it leaves at least one possible key undocumented: it does not list f14, but I have successfully mapped my scrollock to f14 regardless.

It also mentions a firmware version (1.0.18) that doesn't seem to be available yet, with a new feature (status report playback speed).