- Al Viro on
struct file
refcounts - Peter Z. and Linus on scopes in C
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Plug updated, reloading index from _plug/index.plug.js client_system.ts:140:18 | |
Booting up worker for index worker_sandbox.ts:33:12 | |
GET | |
http://silverbullet.local:12345/_plug/index.plug.js | |
[HTTP/1.1 304 Not Modified 43ms] | |
Activated plug index system.ts:161:12 | |
[sync] New file created on secondary, copying from secondary to primary _plug/plug-manager.plug.js sync.ts:157:14 | |
Plug updated, reloading plug-manager from _plug/plug-manager.plug.js client_system.ts:140:18 | |
Booting up worker for plug-manager worker_sandbox.ts:33:12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Function formatNumber - Simple number formatter | |
-- Copyright (C) 2025 Matous Jan Fialka, <https://mjf.cz/> | |
-- Released under the terms of the "MIT" license | |
local function formatNumber(format, ...) | |
local args = { ... } | |
local argind = 1 | |
local res = '' | |
local i = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local function from_radix(digits, base) | |
local ip = 0 | |
local fp = 0 | |
local dp = nil | |
for i, v in ipairs(digits) do | |
if v == "." then | |
dp = i | |
break | |
end | |
if type(v) ~= "number" then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Get your profile from about:support page. | |
* Create ~/.mozilla/firefox/<profile>/chrome directory. | |
* Place to ~/.mozilla/firefox/<profile>/chrome/userContent.css file. | |
* Run restorecon -R -F ~/.mozilla/firefox/<profile>/chrome on SELinux-enabled distros. | |
* Set toolkit.legacyUserProfileCustomizations.stylesheets to true in about:config page. | |
* Restart Firefox and it should be working. | |
*/ | |
@-moz-document domain("www.example.com") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# KVM/QEMU/LibVirt HMP/QMP shell functions | |
# Copyright (C) 2024 Matous Jan Fialka, <https://mjf.cz/> | |
# Released under the terms of the "MIT" license | |
# Usage: qmp [DOMAIN [COMMAND]] | |
qmp() { | |
case "$#" in |
- The Rust Programming Language (official website)
- The Rust Programming Language (the "Book")
- Comprehensive Rust 🦀 (by Google)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -g status-style 'bg=green fg=black' | |
set -g status-position top | |
set -g message-style 'bg=yellow fg=black' | |
set -g pane-border-status bottom | |
set -g pane-border-style 'bg=black fg=white dim' | |
set -g pane-active-border-style 'bg=black fg=cyan' | |
set -g pane-border-format "#{?pane_active,#[reverse],#[default]} #{pane_title} (#{pane_index}) " |
NewerOlder