Skip to content

Instantly share code, notes, and snippets.

View fjsousa's full-sized avatar

Flávio Sousa fjsousa

View GitHub Profile
@rscircus
rscircus / emacs-pop-os-install.org
Last active June 17, 2024 07:35
Install Emacs on Pop!_OS 20.04

Emacs 27 on Pop!_OS

Install Emacs using flatpak

  • Install via Pop!_shop

Add the following to `/usr/local/bin/emacs`:

#!/usr/bin/env bash
user> (require '[tech.io :as io])
nil
user> (require '[tech.ml.dataset :as ds])
nil
user> (require '[clj-memory-meter.core :as mm])
nil
user> (def double-mapseq
(vec (repeatedly 1000
#(->> (range 100)
(map (fn [idx]
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active June 5, 2024 22:16
OS X Screencast to animated GIF

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@obrok
obrok / gist:2499900
Created April 26, 2012 14:16
Setting up fresh Ubuntu server for Rails

Setting up fresh Ubuntu server for Rails

Preparations

$ sudo -i

Set preferred editor

$ export EDITOR=vim