Skip to content

Instantly share code, notes, and snippets.

Design the website interface as layers and people can opt in what to include for example a terminology layer where every single nicks term is linked to the glossary there's also another layer would link every single command and function reference to the function reference and so on. There could be a goof layer there you could link to my quote funny things on quote
Oct 15 10:49am
> How exactly, command by command, would nix solve the same problems? This might... | Hacker News
news.ycombinator.com
https://news.ycombinator.com/item?id=26749676
Oct 15 10:50am
https://news.ycombinator.com/item?id=26750386
Oct 15 10:52am

Had this Stackoverflow question with little activity, but have no clue why I didn't ask it here in the first place...

I think I found the best definition in [the flox documentation][1]:

Within channels, jobsets allow flox to build packages against multiple versions of dependencies simultaneously.

Here's the flox announcement on NixOS discourse, and a description of what it is.

If I understand it correctly,

question dump

  1. What is squid used for? (set up in ./lib.nix)

    Maybe to generate reports?

  2. How are tests evaluated and the matrix/table populated? (It seems like that part is manual.)

  3. Why is VirtualBox provider used? (Tom asked that in #developers then crossed it out - follow up)

@toraritte
toraritte / mxroute-add-email-subdomain.md
Last active November 22, 2024 22:52
Add email subdomains - MXROUTE email service provider and DirectAdmin control panel

The Setting up SPF and DKIM records of a subdomain thread on StackExchange goes more into the details.

1. Log in to DirectAdmin

In the [MXroute] Important Account Information email there is a section titled "Login Info:", similar to

=====
===== Login Info:
=====
0 [19:41:28] nix-shell --arg pkgs 'import (fetchTarball "https://github.com/NixOS/nixpkgs/archive
/8e78c2cfbae.tar.gz") {}' alt.nix
these derivations will be built:
/nix/store/znvsvd6jxxfwi0yijra4qqyc8vs66qxz-anki-2.1.15.drv
these paths will be fetched (261.27 MiB download, 1132.92 MiB unpacked):
/nix/store/06qvj90brnjsr6bnmpacykbcbhh4gydr-dbus-1.12.20-lib
/nix/store/0fi01047xln44vh6d6njbv6sv93x5y64-libgudev-233
/nix/store/0k16daakrccfic024mjzgb86j6vbkvzw-qtsvg-5.15.2-bin
/nix/store/1l5bj36i78md6spggh46p3j6yp6snmpf-libusb-1.0.23
/nix/store/2h1y1mnzmggp8427s56j804hdyicdaa5-hook
@toraritte
toraritte / nix-shell_-vvvvvvv_-p_docbook5
Last active June 1, 2021 00:00
Output of `nix-shell -vvvvvvv -p docbook5`
Script started on 2021-05-31 23:35:21+00:00 [TERM="screen-256color" TTY="/dev/pts/6" COLUMNS="97" LINES="50"]
$ nix-shell -p -vvvvvvvvvv docbook5
evaluating file '/nix/store/pzxsa9j0yzyxk5xx5ldipasyadwcrmf6-nix-2.3.10/share/nix/corepkgs/derivation.nix'
resolved search path element '/home/toraritte/.nix-defexpr/channels' to '/home/toraritte/.nix-defexpr/channels'
resolved search path element '/nix/var/nix/profiles/per-user/root/channels/nixos' to '/nix/var/nix/profiles/per-user/root/channels/nixos'
evaluating file '/nix/store/fz1i33vdcjnk0g3h80qplqspzk2zk6gm-nixos-20.09.3332.d303eee16ce/nixos/default.nix'
evaluating file '/nix/store/fz1i33vdcjnk0g3h80qplqspzk2zk6gm-nixos-20.09.3332.d303eee16ce/nixos/lib/minver.nix'
evaluating file '/nix/store/fz1i33vdcjnk0g3h80qplqspzk2zk6gm-nixos-20.09.3332.d303eee16ce/nixos/pkgs/top-level/impure.nix'
evaluating file '/nix/store/fz1i33vdcjnk0g3h80qplqspzk2zk6gm-nixos-20.09.3332.d303eee16ce/nixos/pkgs/top-level/default.nix'
@toraritte
toraritte / non-standard-requirements.txt
Created April 11, 2021 22:05
Non-standard `requirement.txt` for a Django application
On Ubuntu 18.0.4 run these commands to install all required packages.
sudo apt update
sudo apt-get install git
sudo apt-get install python3
sudo apt install python3-pip
sudo pip3 install Django==2.1.5
sudo pip3 install psycopg2-binary
sudo pip3 install --upgrade django-crispy-forms
sudo pip3 install django-debug-toolbar
@toraritte
toraritte / azure_storage.erl
Last active February 13, 2024 02:40
Make authorized Azure Blob Storage REST requests.
%% @author toraritte
%% @doc Make authorized Azure Storage REST requests.
-module(aaa).
-export(
[ azure_storage_request/0
, azure_storage_request/1
, azure_storage_request/4
, azure_storage_request/6
@toraritte
toraritte / snr-scrape.js
Created July 22, 2020 17:20
"scraping" Sacramento News and Review articles
// List articles on main page (https://sacramento.newsreview.com/)
let mainContent = document.getElementById("main-content");
Array.from(mainContent.querySelectorAll('a')).forEach( (e) => {console.log(e.href)})
// Print PDF out of individual articles
let article = document.querySelector('#main-content article');
let root = document.body.parentNode;
root.removeChild(document.body);
[article].forEach(elem => root.insertAdjacentElement('beforeend', elem));
document.title = "sacramento-news-and-review-" + new URL(document.URL).pathname.replace(/^\/(.*)\/$/, "$1").replace(/\//g, '-');

TO BE CONTINUED: A monthly publication from the CTEBVI

Focus: Blind Gaming

Issue: May 2020