Skip to content

Instantly share code, notes, and snippets.

View manofearth's full-sized avatar

Aleksey Zemlyanskiy manofearth

View GitHub Profile
@GitMurf
GitMurf / obsidian.templater.search.backlinks.js
Last active June 10, 2023 05:00
Open a [[Link]] under your cursor in Search pane with regex that shows all Backlinks.
@sebastiencs
sebastiencs / volume.sh
Last active February 13, 2024 11:19
Script to get volume notification with dunst http://imgur.com/a/qWgAw
#!/bin/bash
# You can call this script like this:
# $./volume.sh up
# $./volume.sh down
# $./volume.sh mute
function get_volume {
amixer get Master | grep '%' | head -n 1 | cut -d '[' -f 2 | cut -d '%' -f 1
}
@ngm
ngm / packages.el
Last active November 13, 2019 21:44
Basic spacemacs org-brain layer
;; put this file in ~/.emacs.d/private/org-brain
;; then add org-brain into your dotspacemacs-configuration-layers in .spacemacs
(defconst org-brain-packages
'(org-brain)
)
;; see https://github.com/Kungsgeten/org-brain#setup-and-requirements
(defun org-brain/init-org-brain ()
(use-package org-brain
@squiter
squiter / notifications.md
Last active March 21, 2021 13:30
Adding desktop notifications to your org-mode

This script is for OSX only! ;)

First install terminal-notifier app:

brew install terminal-notifier

After that, using this awesome scritp with some customizations in your .emacs.