Skip to content

Instantly share code, notes, and snippets.

View bzg's full-sized avatar
🎯
Focusing

Bastien bzg

🎯
Focusing
View GitHub Profile
@bzg
bzg / gist:2fc136b176690ee7f1e7
Created March 1, 2016 18:07
Use imagemagick to rotate pictures in a directory
#!/bin/bash
# Uses http://www.imagemagick.org
find . -name "*.jpg" | while read file; do
convert "$file" -rotate 15 "$file"_rotated.jpg
done
@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: