Skip to content

Instantly share code, notes, and snippets.

(defun my-helm-grab-candidates ()
(interactive)
(with-current-buffer "*helm find files*"
(clipboard-kill-ring-save (point-min) (point-max))))
(define-key helm-map (kbd "C-c C-c") 'my-helm-grab-candidates)
cabal: At least the following dependencies are missing:
parsec-numbers -any
ghc-mod: GMEProcess "readProcessStderrChan" "cabal" ["configure","--with-ghc=ghc","--flags",""] (Left 1)
(defun increase-text-scale-in-buffer-group (major-mode-name)
"Increment text scale for all buffers matching a give major mode name"
(interactive
(list (intern (completing-read
"Select major mode from the list: "
(remove-duplicates (mapcar (lambda (b)
(buffer-local-value
'major-mode (get-buffer b)))
(buffer-list)))))))
(cl-loop for buffer in (buffer-list)
library(ggplot2)
library(gridExtra)
library(dplyr)
library(readr)
library(scales)
library(lubridate)
raw <- readr::read_csv("~/Downloads/Activities.csv")
GOAL = 3500
;; As a memento, here the code I wrote for the first part
;; Not malleable enough for the second part.
(defun funky-eval (tokens)
(let ((stack nil))
(loop while (not (null tokens))
do (let ((token (pop tokens)))
(if (scan "\\)" token)
(return-from funky-eval (values (pop stack)
tokens)))
(if (scan "\\(" token)
(instr :halt 0 ()
(setf (halt cpu) t))
VIENE ESPANSO IN
(PROGN
(DEFMETHOD EXEC! ((OPCODE (EQL 0)) (CPU CPU))
(INCPC! CPU)
(LET ()
(defun-g frag-stage ((uv :vec3)
(normal :vec3))
(let* ((object-color (v! 0 1 0))
;; Ambient light
(ambient-strength 0.01)
(ambient-light-color (v! 1 1 1))
(ambient (* ambient-light-color
ambient-strength))
;; Diffuse light