Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am gl-sergei on github.
  • I am glsergei (https://keybase.io/glsergei) on keybase.
  • I have a public key ASAJjvBhHQ_8mwhQI3Hvb-6WudzzsR34U4w6xViVkdIzzAo

To claim this, I am signing this object:

@gl-sergei
gl-sergei / inbox.el
Last active December 21, 2022 21:38
Display number of unread messages in Emacs modeline (with mu and mu4e)
;;; inbox.el --- display inbox status information -*- coding: utf-8 -*-
;; Copyright (C) 2014 Sergei Glushchenko.
;; Author: Sergei Glushchenko <gl.sergei@gmail.com>
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
@gl-sergei
gl-sergei / massive-rename.sh
Created August 24, 2013 16:16
Snippet for massive rename
find . -name '*replace_what*' | awk '{print("mv "$1" "$1)}' | sed 's/replace_what/replace_with/2' | /bin/sh