Skip to content

Instantly share code, notes, and snippets.

View leavesofgrass's full-sized avatar

Jon Pielaet leavesofgrass

View GitHub Profile
@leavesofgrass
leavesofgrass / .emacs
Last active August 24, 2017 06:39
my emacs init file
;; hide pesky warnings (the lazy way of supressing the pop-up debugger on init )
;; (setq warning-minimum-level :emergency)
;; the palette...
(deftheme wizard-flat "A flat, dark theme that plays nice with ample.")
(let ((wizard/green "#a9df90")
@bzg
bzg / emacs-strip.el
Last active January 2, 2023 21:22
Emacs, naked
;; Prevent the cursor from blinking
(blink-cursor-mode 0)
;; Don't use messages that you don't read
(setq initial-scratch-message "")
(setq inhibit-startup-message t)
;; Don't let Emacs hurt your ears
(setq visible-bell t)
;; You need to set `inhibit-startup-echo-area-message' from the
;; customization interface:
@dimitri
dimitri / fizzbuzz.el
Created March 4, 2012 21:17
FizzBuzz, in Emacs Lisp
;;; fizzbuzz.el --- FizzBuzz in Emacs Lisp
;;;
;;; Copyright 2012 Dimitri Fontaine
;;
;; This is using a simple trick: we build a list of entries then print them as-is,
;; so that we can manually add \n when necessary and append "fizz" and "buzz" on the
;; same line.
;;
;; This file has two implementations of fizzbuzz then a main routine (interactive) to
;; call to fill in a buffer. Try loading the file then M-x fizzbuzz.