New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Show redirects
  • 20:49, 21 February 2024Blog: 2024-02-21 (hist | edit) ‎[430 bytes]Razzi (talk | contribs) (Created page with "Alright I was trying to do some tmux pane renaming and this is what I came up with <pre> if not string-empty $TMUX function _fish_tmux_window_title_command --on-event fish_preexec tmux rename-window (echo $argv | cut -d ' ' -f 1) end function _fish_tmux_window_title_pwd --on-event fish_postexec tmux rename-window (curdir) end end </pre> Now I'm restoring it out bc I don't care for the feature")
  • 12:08, 20 February 2024Blog: 2024-02-20 (hist | edit) ‎[599 bytes]172.69.65.37 (talk) (Created page with "Alright I created this little code pen https://codepen.io/Razzi-Abuissa/pen/oNVOqyL And I wanted to log it because to get the element to align to the bottom, I had to set the page height to 100%, otherwise it was aligned to the bottom but the whole page was a small height... have run into this before.<pre> html, body { height: 100%; } .main { height: 100%; display: flex; flex-direction: column; justify-content: space-between; } </pre>Also you need a spacer el...") Tag: Visual edit
  • 02:31, 19 February 2024Blog: 2024-02-19 (hist | edit) ‎[395 bytes]Razzi (talk | contribs) (Created page with "Realizing it's not actually trivial for a copy operator to do a whole line, and not dump the line after the current character on paste. Need p to be aware of clipboard length I guess, then paste after current line if the clipboard has its own newline... I guess the oscyank has probably been doing the right thing, it'd say the number of characters that would include a newline. Tired, bedtime.")
  • 23:06, 18 February 2024Blog: 2024-02-18 (hist | edit) ‎[564 bytes]Razzi (talk | contribs) (Created page with "cool got rid of needrestart which was posting the "need restart" messages like <pre> No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. </pre>")
  • 23:59, 15 February 2024Blog: 2024-02-15 (hist | edit) ‎[65 bytes]Razzi (talk | contribs) (Created page with "The pretty silly CVE disclosure Bad Apple!! https://m1racles.com/")
  • 00:59, 13 February 2024Blog: 2024-02-13 (hist | edit) ‎[703 bytes]Razzi (talk | contribs) (Created page with "How does this work but it doesn't seem to when you use the read and write methods on the io objects? <pre> proc = subprocess.Popen(['bc'], stdin=subprocess.PIPE, stdout=subprocess.PIPE) os.write(proc.stdin.fileno(), b'100+200\n') print(os.read(proc.stdout.fileno(), 4096)) </pre>")
  • 12:07, 12 February 2024Blog: 2024-02-12 (hist | edit) ‎[2,347 bytes]Razzi (talk | contribs) (Created page with "Started on this quest to have a scheme repl where the outputs are italicized, like the SICP book. Printing italics is pretty easy: <pre> In [1]: line = 'a' In [2]: print(f'\x1B[3m{line}\x1B[0m') a </pre> ''It's italic, trust me!'' But when it comes to spawning a scheme subprocess and interacting with its stdin and stdout, I took many turns, eventually trying nodejs since its asynchronous io model more closely fits this use case. Here's what worked (or at least is a...")
  • 11:32, 9 February 2024Blog: 2024-02-09 (hist | edit) ‎[13,346 bytes]Razzi (talk | contribs) (Created page with "Ok rather than any of the nice projects I talked about on 2/7, I now have... the idea of making a ronin alternative, that uses podman instead of qemu. Coincidentally, I can see this converging, as I dig into the implementation of podman and see qemu. <pre> $ podman system connection list Name URI Identity Default podman-machine-default ssh://[email protected]....")
  • 12:00, 7 February 2024Blog: 2024-02-07 (hist | edit) ‎[710 bytes]Razzi (talk | contribs) (Created page with "Quick repo sync! cat ~/.repos.txt | xargs -I{} -P (nproc) fish -c 'sync-repo {}'")
  • 11:44, 3 February 2024Blog: 2024-02-03 (hist | edit) ‎[547 bytes]Razzi (talk | contribs) (Created page with "Weirdly, running `man hexdump` invoked xcodebuild and lagged for a while, so I thought I'd cut out the middleman and learned how to do this: groff -mandoc /usr/share/man/man1/hexdump.1 -Tascii Then I can groff -mandoc /usr/share/man/man1/hexdump.1 -Tascii | less Makes me think about how groff is antiquated and I don't know how to write its bespoke text format, so probably a better approach for a modern os would be to write man pages in md, or maybe just html? Is it...")
  • 16:01, 2 February 2024Super google fr 2024 (hist | edit) ‎[89 bytes]172.69.64.245 (talk) (Created page with "== super google fr 2024 == super google fr 2024 http://google.fr/ http://google.fr/ u")
  • 00:49, 1 February 2024Blog: 2024-02-01 (hist | edit) ‎[1,665 bytes]Razzi (talk | contribs) (Created page with "Found this song https://freemusicarchive.org/music/Yung_Kartz/August_2018/Mars_1797 while cleaning up my old functions; I found my krui function. Still works!")
  • 13:47, 30 January 2024Blog: 2024-01-30 (hist | edit) ‎[2,985 bytes]Razzi (talk | contribs) (Created page with "After much fussing with homebrew dependencies including a 6hr llvm 17 install, I got the source of virt-manager and it's installing alpine linux: <pre> virt-manager $ ./virt-install --name='alpine1' --memory 2048 --vcpus 2 --disk size=8 --cdrom $HOME/Downloads/alpine-virt-3.19.1-x86_64.iso --os-variant alpinelinux3.19 WARNING KVM acceleration not available, using 'qemu' WARNING Unable to connect to graphical console: virt-viewer not installed. Please install the 'virt...")
  • 23:57, 26 January 2024Blog: 2024-01-26 (hist | edit) ‎[94 bytes]Razzi (talk | contribs) (Created page with "Cool looking thing https://github.com/atomiks/rehype-pretty-code for code blocks with metadata")
  • 13:48, 25 January 2024Blog: 2024-01-25 (hist | edit) ‎[1,760 bytes]Razzi (talk | contribs) (Created page with "Ok a new day, a new machine to configure for oftc certificate. Based on https://wiki.abuissa.net/wiki/Blog:_2024-01-08 Basing this on https://www.oftc.net/NickServ/CertFP/#weechat $ mkdir-cd ~/.config/weechat/certs certs $ openssl req -batch -noenc -newkey ed25519 -keyout nick.key -x509 -days 3650 -out nick.cer ----- certs $ ls nick.cer nick.key certs $ chmod 400 nick.key certs $ cat nick.cer nick.key > nick.pem certs $ chmod 400 nick.pem Back in weechat:...")
  • 21:08, 24 January 2024Blog: 2024-01-24 (hist | edit) ‎[2,152 bytes]Razzi (talk | contribs) (Created page with "Got this clip of a huge combat on twitch stream https://clips.twitch.tv/ObedientBlushingCrabYee-LXkN_6PeFZAFcKb6")
  • 19:41, 23 January 2024Blog: 2024-01-23 (hist | edit) ‎[319 bytes]Razzi (talk | contribs) (Created page with "Was able to connect to twitch over irc: https://gist.github.com/noromanba/df3d975613713f60e6ae The key: https://twitchapps.com/tmi/ then /server add twitch irc.twitch.tv/6667 -password=oauth:*** -nicks=TWITCH_NAME -username=TWITCH_NAME Thinking of trying nix on usb again: https://nixos.org/download.html#nixos-iso")
  • 01:58, 22 January 2024Blog: 2024-01-22 (hist | edit) ‎[2,059 bytes]Razzi (talk | contribs) (Created page with "Thought I'd look into cryptography some more: https://www.signal.org/docs/specifications/pqxdh/ lists as options for curve ed25519 and ed448. Seems ed448 has more bits of security. Interested in seeing how it performs. ssh doesn't even support it! There's an implementation from zx2c4: https://git.zx2c4.com/goldilocks/about/ also Cloudflare https://github.com/cloudflare/circl Also was reading about https://signal.org/blog/secure-value-recovery/ and saw "BIP39 passphrase...")
  • 00:11, 20 January 2024Blog: 2024-01-20 (hist | edit) ‎[198 bytes]Razzi (talk | contribs) (Created page with "Django is hiring for a fellow position: https://www.djangoproject.com/weblog/2024/jan/19/django-fellow-applicants-2024/")
  • 22:06, 18 January 2024Blog: 2024-01-18 (hist | edit) ‎[224 bytes]Razzi (talk | contribs) (Created page with "Noticed `fish_indent` will take the space out from echo > file.txt so it becomes echo >file.txt I like the original more, and it's consistent with https://fishshell.com/docs/current/tutorial.html#pipes-and-redirections")
  • 14:17, 17 January 2024Blog: 2024-01-17 (hist | edit) ‎[10,832 bytes]Razzi (talk | contribs) (Created page with "Had an idea of how to handle creating abbrs seamlessly: add the new abbr with "abbr -a $argv" then dump `abbr` to abbrs file. But on my ubuntu computer, I have many UVAR implemented abbrs, and have to clear them first. Here they are: <pre> SETUVAR _fish_abbr__2D_:cd\x20\x2d SETUVAR _fish_abbr__2E_c:\x2e/configure SETUVAR _fish_abbr__2E_v:\x7e/\x2evim SETUVAR _fish_abbr__2F_:search SETUVAR _fish_abbr_a:rg SETUVAR _fish_abbr_a_2F_:sudo\x20apt\x20search SETUVAR _fish_abbr...")
  • 14:58, 12 January 2024Blog: 2024-01-12 (hist | edit) ‎[641 bytes]Razzi (talk | contribs) (Created page with "Sourcehut is coming back up https://outage.sr.ht/ They are available in #sr.ht on libera Made a new function url-size and updated hub to use a regex so it works with git@ and https:// git urls Thinking about hosting git repositories using secure scuttlebutt, worth experimenting with it")
  • 10:47, 11 January 2024Blog: 2024-01-11 (hist | edit) ‎[366 bytes]Razzi (talk | contribs) (Created page with "Link roll up from mac https://media.libreplanet.org/u/libreplanet/tag/libreplanet-2023-video/ https://www.youtube.com/watch?v=byNwCHc_IIM made it 28 mins https://awesomekling.substack.com/p/ladybird-a-new-cross-platform-browser-project https://www.youtube.com/watch?v=27Iv8Jf4vZ0 Sourcehut is down huh https://status.sr.ht/issues/2023-01-10-network-outage/")
  • 16:54, 10 January 2024Blog: 2024-01-10 (hist | edit) ‎[196 bytes]Razzi (talk | contribs) (Created page with "Interestingly, creating your own operating system with private keys baked in is akin to creating a backup of your disk, which has an operating system with user data baked in including private keys")
  • 13:49, 9 January 2024Blog: 2024-01-09 (hist | edit) ‎[997 bytes]Razzi (talk | contribs) (Created page with " unmap <a-f> is how to prevent firefox vimium with alt as accelerator key from overriding search functionality. Thought I had documented this but apparently not...")
  • 12:47, 8 January 2024Blog: 2024-01-08 (hist | edit) ‎[1,149 bytes]Razzi (talk | contribs) (Created page with "https://www.oftc.net/NickServ/CertFP/ setting up certificate Ok certificate request in ~/hack/oftc-certs: <pre> oftc-certs $ openssl req -nodes -newkey ed25519 -keyout nick.key -x509 -days 3650 -out nick.cer ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there...")
  • 23:26, 4 January 2024Blog: 2024-01-04 (hist | edit) ‎[1,434 bytes]Razzi (talk | contribs) (Created page with "Ok more clarity on the oftc irc situation. It uses a custom ircd https://github.com/oftc/oftc-ircservices/ but it's on track to migrate to atheme: https://github.com/oftc/oftc2atheme")
  • 15:14, 3 January 2024Blog: 2024-01-03 (hist | edit) ‎[5,349 bytes]Razzi (talk | contribs) (Created page with "New year ya Ok looking into this issue to get deno into apt. https://github.com/denoland/deno/issues/1583 + https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961337 One thing I notice from my local clone of https://github.com/denoland/deno/ is that dependency versions keep changing. Each of these will require a new debian upload. For example we have the following diff git diff c08319262..9526520cf Cargo.lock <pre> name = "comrak" name = "deno_core" name = "deno_d...")
  • 04:46, 29 December 2023Blog: 2023-12-29 (hist | edit) ‎[3,736 bytes]Razzi (talk | contribs) (Created page with "Helix is somewhat similar to deno and here is its progress towards debian packaging: https://github.com/helix-editor/helix/issues/6824 Cat is also somewhat similar in that it is built using rust but much simpler; it has already made its way into debian. Here is its debian info: <pre> helix $ apt show bat Package: bat Version: 0.22.1-4 Built-Using: rust-ansi-colours (= 1.1.1-1), rust-onig-sys (= 69.8.0-1), rustc (= 1.63.0+dfsg1-2) Priority: optional Section: utils Sour...")
  • 04:04, 29 December 2023Technologies list 2023 (hist | edit) ‎[1,078 bytes]Razzi (talk | contribs) (Created page with "Ok technologies that come to mind as 2023 comes to a close * vim * emacs * helix * firefox * windows * wsl * firefox dev tools * powershell * fish * debian * ubuntu * pass * puppet * redis * haproxy * kafka * apt * processing * supercollider * php * python * git * awk * javascript * typescript * signal * elixir * perl * django * flask * css * html * graal * maven * ant * ripgrep * n * jekyll * clang * gcc * alpine * musl * qemu * hare * sourcehut * ssh * mastodon * bitc...")
  • 15:34, 28 December 2023Emacs rices (hist | edit) ‎[568 bytes]Razzi (talk | contribs) (Created page with "Want to make the indent function of elisp aligned like this post: https://emacs.stackexchange.com/questions/10230/how-to-indent-keywords-aligned The long answer with advice didn't work, but the code from fuco1 did. It's mit licensed; could package it up as its own package. Here it is in all its glory <pre> (eval-after-load "lisp-mode" '(defun lisp-indent-function (indent-point state) "This function is the normal value of the variable `lisp-indent-function'. The...")
  • 01:43, 28 December 2023Blog: 2023-12-28 (hist | edit) ‎[2,667 bytes]Razzi (talk | contribs) (Created page with "Back at it packaging deno. This tutorial https://wiki.debian.org/Packaging/Intro gave me the following helpful command: $ dch --create -v 1.0-1 --package hithere Always happy to have a way to write out bespoke file formats automatically.")
  • 00:50, 27 December 2023Blog: 2023-12-27 (hist | edit) ‎[1,225 bytes]Razzi (talk | contribs) (Created page with "Ok struggling with basic pid kinda stuff for a `ronin status` https://serverfault.com/questions/159334/what-permissions-are-needed-to-write-a-pid-file-in-var-run means I can't do a pid in /var/run I guess, unless I create it during the apt install... I guess...")
  • 03:12, 26 December 2023Blog: 2023-12-26 (hist | edit) ‎[1,385 bytes]Razzi (talk | contribs) (Created page with "Having some fun looking at the international math olympiad questions historically: https://www.imo-official.org/problems.aspx but dang they're hard!")
  • 01:54, 25 December 2023Blog: 2023-12-25 (hist | edit) ‎[321 bytes]Razzi (talk | contribs) (Created page with "Hehe what a funky site https://piuparts.debian.org/")
  • 06:01, 24 December 2023Blog: 2023-12-24 (hist | edit) ‎[1,032 bytes]Razzi (talk | contribs) (Created page with "Wow, got dark mode working! Mostly everything worked with sudo apt upgrade, just had to answer some prompts (not trivial bc the console was janked) then run update.php. That one worked immediately with no prompts or anything, then everything works here including a new menu option for dark mode. Woo!")
  • 02:26, 23 December 2023Blog: 2023-12-23 (hist | edit) ‎[962 bytes]Razzi (talk | contribs) (Created page with "Could publish my take about how tech layoffs follow logically from the fact that code stays at a company after employees leave, that the core technology of websites like googl...")
  • 17:04, 22 December 2023Nodes (hist | edit) ‎[11 bytes]Razzi (talk | contribs) (Created page with "45.79.9.183")
  • 02:44, 22 December 2023Blog: 2023-12-22 (hist | edit) ‎[1,027 bytes]Razzi (talk | contribs) (Created page with "And now I can see why I gave up on windows as a development environment with emacs, lack of vterm support! https://github.com/akermu/emacs-libvterm/issues/12")
  • 23:56, 21 December 2023Blog: 2023-12-21 (hist | edit) ‎[452 bytes]Razzi (talk | contribs) (Created page with "Ok so the trick is going to be, rather than getting dumb jump working in vim, getting lsp working and then using that to do the import. But maybe a really dumb dumb jump is al...")
  • 00:26, 20 December 2023Blog: 2023-12-20 (hist | edit) ‎[1,195 bytes]Razzi (talk | contribs) (Created page with "Draft of a guide to debian * it's its own operating system, less addons than ubuntu and smaller and good stuff. Wikimedia uses it * install kitty as terminal emulator, change...")
  • 01:32, 19 December 2023Blog: 2023-12-19 (hist | edit) ‎[576 bytes]Razzi (talk | contribs) (Created page with "Ok I learned any-jump.vim uses gpl-licensed data from dumb-jump.el, also this explains how it works, it's literally a copy paste of the regexes with some vim ui magic. I adde...")
  • 17:12, 18 December 2023Blog: 2023-12-18 (hist | edit) ‎[95 bytes]Razzi (talk | contribs) (Created page with "Using this article to change grub font size: https://www.baeldung.com/linux/grub-menu-font-size")
  • 14:32, 4 December 2023Blog: 2023-12-04 (hist | edit) ‎[316 bytes]Razzi (talk | contribs) (Created page with ""symlinks: the level of indirection that you need"")
  • 16:50, 2 December 2023Blog: 2023-12-02 (hist | edit) ‎[744 bytes]Razzi (talk | contribs) (Created page with "ok want to have basic vim window movements available under c-space (or maybe switch to helix editor frfr) here's the test case vim<cr> # open vim <spc>' # split into termin...")
  • 14:08, 21 November 2023Blog: 2023-11-21 (hist | edit) ‎[119 bytes]Razzi (talk | contribs) (Created page with "Django tutorial: code snippets have copy button but command lines don't (when copied, don't copy the prompt!) #favissue")
  • 11:05, 15 November 2023Blog: 2023-11-15 (hist | edit) ‎[95 bytes]Razzi (talk | contribs) (Created page with "https://www.youtube.com/watch?v=NcUJnmBqHTY cool but I'm having a hard time focusing. #bookmark")
  • 00:04, 11 November 2023Blog: 2023-11-11 (hist | edit) ‎[95 bytes]Razzi (talk | contribs) (Created page with "Looks like helix doesn't have debian packaging https://github.com/helix-editor/helix #packaging")
  • 23:28, 10 November 2023Comics I like (hist | edit) ‎[78 bytes]Razzi (talk | contribs) (Created page with "https://www.smbc-comics.com/index.php https://xkcd.com/ https://nedroid.com/") Tag: Visual edit