Skip to content

Instantly share code, notes, and snippets.

dive / fix-emacs-permissions-catalina.el
Created Sep 29, 2019
Fix Emacs permissions on macOS Catalina
View fix-emacs-permissions-catalina.el
;;; package --- Fix permissions for on macOS Catalina
;;; Author: Artem Loenko
;;; Mail-To: <>
;;; Commentary:
;;; Code:
(defconst _default-emacs-app-plist-path "/Applications/")
(defconst _temp-buffer-name "*fixing Emacs permissions*")
(defconst _temp-buffer (get-buffer-create _temp-buffer-name))
(with-current-buffer _temp-buffer (erase-buffer))
bishboria /
Last active Jan 24, 2022
Springer made a bunch of books available for free, these were the direct links
tmalsburg /
Last active Jan 20, 2021
Predict vs simulate in lme4

Predict vs simulate in lme4

For this investigation we are going to use the sleepdata data set from the lme4 package. Here is the head of the data frame:

shortsightedsid / cl-tcpip.lisp
Last active Jun 15, 2021
Short guide to TCP/IP Client/Server programming in Common Lisp using usockets
View cl-tcpip.lisp
; Short guide to TCP/IP Client/Server programming in Common Lisp using usockets
; The main reason for this guide is because there are very few examples that
; explain how to get started with socket programming with Common Lisp that I
; could understand. After spending a day trying, I finally came up with a small
; bit of code that makes it easy to understand the basics. I've written this
; primarily for myself, but should help others get started as well.
; As usual, we will use quicklisp to load usocket.
rtt /
Last active Jan 21, 2022
Tinder API Documentation

Tinder API documentation

I've sniffed most of the Tinder API to see how it works. You can use this to create bots (etc) very trivially. Some example python bot code is here -> (horribly quick and dirty, you've been warned!)

Note: this was written in April/May 2014 and the API may have changed since. I have nothing to do with Tinder, nor their API, and I do not offer any support for anything you may build on top of this

API Details

jerrypnz / test_watchers.clj
Created Nov 6, 2012
Clojure wrapper for Java 7 WatchService (java.nio.files)
View test_watchers.clj
(load-file "./watch_service.clj")
(refer 'watch-service)
(defn print-ev
[ev ctx]
(println "[foo]" ev " --> " ctx)
(println "Parent Dir:" (.getParent ctx)))
(defn print-ev-2
[ev ctx]