Skip to content

Instantly share code, notes, and snippets.

Working from home

Alexander Barbosa lxbarbosa

Working from home
Block or report user

Report or block lxbarbosa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View narrow-or-widen-dwim.el
(defun narrow-or-widen-dwim (p)
;; fixed to behave correctly in org-src buffers; taken from:
"Widen if buffer is narrowed, narrow-dwim otherwise.
Dwim means: region, org-src-block, org-subtree, or defun,
whichever applies first. Narrowing to org-src-block actually
calls `org-edit-src-code'.
With prefix P, don't widen, just narrow even if buffer is
already narrowed."
dmb2 / .stumpwmrc
Created Oct 16, 2012
My Stumpwmrc
View .stumpwmrc
;; -*-lisp-*-
;; .stumpwmrc
;; Author: David Bjergaard <>
;; License: GPL
;; Modeled off of gwern's stumpwmrc file at:
(in-package :stumpwm)
;(load "/home/dave/builds/stumpwm/contrib/surfraw.lisp")
View gist:3866870
(require 'battery)
(setq battery-mode-line-format "#%b %p %t")
(setq battery-load-critical 7)
(setq battery-load-low 25)
(display-battery-mode t)
(require 'network-speed)
(setq network-speed-update-interval 5)
You can’t perform that action at this time.