Site uses cookies to provide basic functionality.
Javascript rendering is set to off by default when visiting the site via .onion and .i2p domains. It can be enabled back again in user's settings section. Javascript rendering set to off means, that you can disable javascript in your browser now and the site will remain functional.
There is also IRC server now available via native IRC clients or non javascript web based one.
Fonts can be adjusted in user's settings section as well.
Check FAQ for more.

OK

1 2 3
2026-05-17-001 - srijan.ch - 2 weeks ago - bod
TIL about describe-personal-keybindings from https://mbork.pl/2026-05-09_describe-personal-keybindings and https://irreal.org/blog/?p=13799 Definitely useful to keep track of things in a central place.

2026-04-22-001 - srijan.ch - 1 month ago - bod

2026-03-18-001 - srijan.ch - 2 months ago - bod
A small #Emacs #OrgMode quality-of-life tweak. I often need to replace an org heading's title while preserving the original text in the body. The problem is that pressing enter on a heading inserts a line above the properties drawer, which breaks things. Here's a function that moves the heading title into the body (below the properties drawer and metadata), and binds it to S-RET: (defun …

2025-12-29-001 - srijan.ch - 5 months ago - bod
Faced a failing disk in my raidz2 ZFS pool today. Recovery was pretty simple: Asked the service provider to replace the disk Find new disk ID etc using: lsblk -o NAME,SIZE,MODEL,SERIAL,LABEL,FSTYPE ls -ltrh /dev/disk/by-id/ata-* Resilver using: sudo zpool replace lake Watch status using: watch zpool status -v Re-silvering is still ongoing, but hopefully …

2025-12-15-001 - srijan.ch - 5 months ago - bod
A small elisp snippet that I found useful. I often switch between terminals and #Emacs, and they have slightly different behaviors for C-w. This makes it behave the same in Emacs as it does in bash/zsh/fish etc - deletes the last word. It retains the kill-region behavior if a region is actually selected. (defun kill-region-or-backward-word () "If the region is active and non-empty, call …

2025-12-09-002 - srijan.ch - 5 months ago - bod
tramp-hlo looks interesting. Anything that can make tramp on #Emacs snappier is a good thing in my books.

2025-12-09-001 - srijan.ch - 5 months ago - bod
Reply to Make *HNComments* buffer read-only and allow "q" to dismiss. · Issue #12 · thanhvg/emacs-hnreader · GitHub I'm overriding it like this: (defun my-hnreader-comments-readonly (dom url) (view-mode 1) (org-fold-show-all) ) (advice-add 'hnreader--print-comments :after 'my-hnreader-comments-readonly )

2025-11-11-001 - srijan.ch - 6 months ago - bod

2025-07-21-001 - srijan.ch - 10 months ago - bod
gcloud_ssh A simple script that finds a google cloud compute VM by IP address across all projects of an organization and runs gcloud ssh to it. #!/bin/bash GCLOUD_SSH_FLAGS="--internal-ip" # Get organization ID dynamically get_org_id() { gcloud organizations list --format="value(name)" --limit=1 2>/dev/null | sed 's|organizations/||' } search_and_connect() { local ip_address=$1 echo "Searching …

2025-06-18-001 - srijan.ch - 11 months ago - bod

2025-06-16-001 - srijan.ch - 11 months ago - bod

2025-06-11-001 - srijan.ch - 11 months ago - bod
Quick note for me to generate #Emacs TAGS file for an #Erlang project: find {src,apps,_build/default,$(dirname $(which erl))/../lib} -name "*.[he]rl" | xargs realpath --relative-to="$(pwd)" | etags.emacs -o TAGS - The relative path ensures that this works over tramp as well.

2025-05-28-001 - srijan.ch - 1 year ago - bod
Reply to Issues · Hanno Perrey / khalel · GitLab Ability to pass options (before command) to vdirsyncer Hi. I've been using khalel + khal + vdirsyncer for the last few days, and it has been an absolute joy. I tried various ways of working with my work calendar in my org system, and this has been the best in terms of stability and simplicity. However, in my setup, vdirsyncer shows a lots of …

2025-05-02-001 - srijan.ch - 1 year ago - bod

2025-04-15-001 - srijan.ch - 1 year ago - bod
Reply to Issues · unmonoqueteclea/jira.el · GitHub Show custom fields in issues list and detail pages Is there a way to show additional custom field information in the issues list table and in the issue detail page? Note that custom fields can be of type string/datetime/user/link etc. Syndicated to: https://github.com/unmonoqueteclea/jira.el/issues/16

2025-04-13-002 - srijan.ch - 1 year ago - bod
Reply to Mitesh: "#erlang ships with #emacs mode! Sweeeet ``` ;; e…" - Fosstodon I have this variant: (add-to-list 'load-path (car (file-expand-wildcards "/usr/lib/erlang/lib/tools-*/emacs"))) so that I don't have to hard-code the tools version.

2025-04-13-001 - srijan.ch - 1 year ago - bod

2025-04-11-002 - srijan.ch - 1 year ago - bod
Reply to Issues · jeanparpaillon/erlang-dbus · GitHub Error when introspection results have a root node element without name attribute The name attribute is optional for the root node element in introspection results. From https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format : Only the root element can omit the node name, as it's known to be the object that …

2025-04-11-001 - srijan.ch - 1 year ago - bod
Reply to Issues · jeanparpaillon/erlang-dbus · GitHub Crash when introspecting remote service object with overloaded methods From what I understand, the dbus spec does not explicitly allow or disallow overloading methods. But, there are instances of overloaded methods in different applications (specially KDE based), and erlang-dbus does not handle it gracefully - it crashes. Example …

2025-04-10-002 - srijan.ch - 1 year ago - bod

2025-04-08-002 - srijan.ch - 1 year ago - bod
Reply to mms :runbsd: + :emacs:: "@ross@rossabaker.com Yes. I use elfeed-protocol w…" - BSD.cafe Mastodon Portal I use this too, but elfeed-protocol does not have two-way sync built in (see FAQ#4 on https://github.com/fasheng/elfeed-protocol#qa). However, there are workarounds, and I use this: https://github.com/fasheng/elfeed-protocol/issues/71#issuecomment-2483697511 - I call this …

2025-04-08-001 - srijan.ch - 1 year ago - bod

2025-03-31-001 - srijan.ch - 1 year ago - bod
Liked: thetemp: "Today I learned you can in fact combine full-text search and tag-matching in the Org-agenda"

2025-03-24-002 - srijan.ch - 1 year ago - bod
Read Jeremy's post on quickly switching the default browser. I had a shell script to do this as well. Doing it from Emacs makes more sense because I can have a completion UI. So, here's my modified version for Linux: (defun sj/default-browser (&optional name) "Set the default browser based on the given NAME." (interactive (list (completing-read "Browser: " (split-string …

2025-03-24-001 - srijan.ch - 1 year ago - bod

2025-03-19-001 - srijan.ch - 1 year ago - bod

2025-03-18-001 - srijan.ch - 1 year ago - bod
Reply to Obsidian Kirby Sync Nice. Now I want to make something like this for Emacs. Also note that micropub is not just meant for publishing, it's also possible to view and edit posts and query for a list of posts, list of tags/categories (and create/edit them), and manage media (images etc). See https://indieweb.org/Micropub and https://indieweb.org/Micropub-extensions But of course, …

2025-03-13-001 - srijan.ch - 1 year ago - bod

2025-02-03-003 - srijan.ch - 1 year ago - bod

2025-02-03-002 - srijan.ch - 1 year ago - bod

2025-02-03-001 - srijan.ch - 1 year ago - bod

2025-01-30-001 - srijan.ch - 1 year ago - bod
Reply to John Hamelink: "@srijan@indieweb.social Hi there, I saw your blog…" - Functional Café Nice work. I've been running it on Mac using the python wrapper provided in the comment + an AppleScript wrapper so that I can run it as an app. Also, I've merged your PR on https://github.com/srijan/slack_org_protocol_capture and released a new version.

2025-01-20-002 - srijan.ch - 1 year ago - bod
Reply to @xenodium: "@srijan.ch Thanks for reporting this!…" - Indieweb.Social Actually looks like all 3 are fixed now. Maybe the GUID was present and I missed it - just needed updated URL.

2025-01-20-003 - srijan.ch - 1 year ago - bod
Liked: Álvaro R. #FreeVenezuela 🇻🇪: "@srijan.ch@srijan.ch 3. should be fixed also. Tha…" - Indieweb.Social

2025-01-20-001 - srijan.ch - 1 year ago - bod
Reply to xenodium.com is now hosted at lmno.lol Looks good. I noticed some issues though: The post links in your RSS feed are incorrect. The link to lmno.lol is also incorrect on your homepage. The new RSS feed does not have GUIDs (your earlier feed had). So, in my feed reader, all your posts are showing up as unread.

2025-01-15-001 - srijan.ch - 1 year ago - bod
I had been facing an issue in #Emacs on my work Mac system: C-S- was somehow being translated to C-. I tried to look into key-translation-map to figure out the issue, but could not find anything. Finally, turned out that I had bound C- to tab-line-switch-to-next-tab and C- to tab-line-switch-to-prev-tab, but the actual C-S- was …

2025-01-08-001 - srijan.ch - 1 year ago - bod
Reply to upgrade to plasma6 · Issue #44 · lipido/kargos · GitHub For me, this fork works well with plasma 6: https://github.com/sanniou/kargos6/ Syndicated to: https://github.com/lipido/kargos/issues/44#issuecomment-2578681639

2024-12-27-001 - srijan.ch - 1 year ago - bod
Reply to Seconds Since the Epoch (HN) Somewhat related: I really like Erlang's docs about handling time. They have common scenarios laid out and document which APIs to use for them. Like: retrieve system time, measure elapsed time, determine order of events, etc. https://www.erlang.org/doc/apps/erts/time_correction.html#how-to-work-with-the-new-api Syndicated to: …

2024-12-20-001 - srijan.ch - 1 year ago - bod

2024-12-06-001 - srijan.ch - 1 year ago - bod

2024-10-08-002 - srijan.ch - 1 year ago - bod
Read an interesting set of posts today: https://lethain.com/extract-the-kernel/ and https://lethain.com/executive-translation/ . The basic concept is: ... executives are generally directionally correct but specifically wrong, and it’s your job to understand the overarching direction without getting distracted by the narrow errors in their idea. This resonates well with my experience. I have been …

2024-10-08-001 - srijan.ch - 1 year ago - bod
Tried using X11 on #Linux the last few days due to some issues with Zoom screensharing in Wayland with the latest pipewire, and I already miss #Wayland. Issues I faced with X11: Smooth scrolling broken Apps work noticeably slower Screen tearing This bug in Emacs GTK build: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67654 (To be fair, this is a GTK-specific issue, not X11 specific) I will go …

2024-10-07-002 - srijan.ch - 1 year ago - bod

2024-10-07-001 - srijan.ch - 1 year ago - bod
Reply to Lloyd: "Question for #indieweb people - why do most peopl…" - Mastodon I do it because that's the way most social feeds display, so in my mind, that's how users expect it. Though I can see the benefit of maybe adding a sorting toggle or option.

1 2 3
9 visitors online