Skip to content

Instantly share code, notes, and snippets.

@dive
dive / fix-emacs-permissions-catalina.el
Created September 29, 2019 09:55
Fix Emacs permissions on macOS Catalina
;;; package --- Fix permissions for Emacs.app on macOS Catalina
;;; Author: Artem Loenko
;;; Mail-To: <[email protected]>
;;; Commentary:
;;; Code:
(defconst _default-emacs-app-plist-path "/Applications/Emacs.app/Contents/Info.plist")
(defconst _temp-buffer-name "*fixing Emacs permissions*")
(defconst _temp-buffer (get-buffer-create _temp-buffer-name))
(with-current-buffer _temp-buffer (erase-buffer))
@rmoriz
rmoriz / script.sh
Last active September 19, 2023 02:04
build rtl8812au driver running Raspbian on Raspberry Pi 3 and Zero (both tested, should work on all)
#!/bin/sh
mkdir -p /tmp/rtl8812au
cd /tmp/rtl8812au
apt-get install -y \
git \
dkms \
raspberrypi-kernel-headers \
raspberrypi-kernel
@naholyr
naholyr / _service.md
Created December 13, 2012 09:39
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)