Skip to content

Instantly share code, notes, and snippets.

View lisp-is-the-future's full-sized avatar

lisp-is-the-future

  • University of Freiburg
  • Freiburg, Germany
View GitHub Profile
@lisp-is-the-future
lisp-is-the-future / telegram-via-terminal-minimal-commands
Created August 2, 2019 15:08
How to chat via telegram using command line
###############################
# install telegram-cli in ubuntu
###############################
cd # home folder
git clone --recursive https://github.com/vysheng/tg.git && cd tg
sudo apt-get install libreadline-dev libconfig-dev libssl-dev lua5.2 liblua5.2-dev libevent-dev libjansson-dev libpython-dev
cd tg
./configure --disable-openssl
make
@lisp-is-the-future
lisp-is-the-future / install-clojure-leiningen.clj
Last active December 14, 2022 18:40
Install and run Clojure REPL without emacs
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; setting up clojure completely without emacs
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;
;; installing clojure
;; this worked for me (for both 64 bit and 32 bit computer)
;;;;;;;;;;;;;;;;;;;;;;;;
;; download clojure by git
@lisp-is-the-future
lisp-is-the-future / start-clojure.clj
Last active June 22, 2019 11:01
Set up clojure dev environment in emacs
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; set up clojure with emacs
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; following http://clojure-doc.org/articles/tutorials/emacs.html
;; install leiningen following the gist https://gist.github.com/lisp-is-the-future/4962c05d86652e7f40c0ae1a9efc2a6a
;;;;;;;;;;;;;;;;;;;;;;;;
;;;; 0. install emacs
@lisp-is-the-future
lisp-is-the-future / start-portacle.txt
Last active June 20, 2019 10:09
Get started with common lisp now! (quick set up in ubuntu; < 5 min)
;; quickest way to get started: download and extract `portacle`
;; (cave: This works ONLY for 64-bit! In 32-bit it doesn't work!)
;; portacle contains:
;; - emacs editor with slime modus for cl with slime mode *for usage see gist:
;; https://gist.github.com/lisp-is-the-future/b1cdefe877fbb5f61bbb4b020618a757
;; - sbcl most optimal lisp implementation
;; - quicklisp (package manager for lisp packages)
;; - git
@lisp-is-the-future
lisp-is-the-future / rlwrap-it.txt
Created September 10, 2018 09:08
Make naked terminal programs like sbcl nicer with rlwrap
# linux (ubuntu):
$ sudo apt install rlwrap
# use sbcl using it:
$ rlwrap sbcl
# enjoy!
@lisp-is-the-future
lisp-is-the-future / start-common-lisp-emacs.md
Last active September 8, 2018 22:45 — forked from jteneycke/gist:7947353
How to install and configure Common Lisp for Emacs. (SBCL + Slime + Emacs24)

from: Josh Teneycke for: ubuntu linux OS

In your shell

sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp
@lisp-is-the-future
lisp-is-the-future / emacs-cl-editing-intermediate.el
Created September 6, 2018 18:41
emacs/slime intermediate editing keys
#################################
# use macros for repetitive tasks
#################################
## record a macro
# begin macro C-x (
# do stuff in between
@lisp-is-the-future
lisp-is-the-future / emacs-cl-editing-keys-minimal.txt
Last active February 24, 2020 10:53
emacs/slime minimal command set to program in common lisp
One obstacle which one faces when beginning with common lisp is emacs.
It is so difficult to learn.
But actually, there exist a minimal set of commands
which one needs for programming.
I use these commands currently:
;;;;;;;;;;;;;;;;;;;
;; install emacs in conda
@lisp-is-the-future
lisp-is-the-future / install-termux-arch.md
Last active May 20, 2022 10:30
How to install TermuxArch in Termux of Android (Samsung Galaxy Tab 10.1)
#################################################################
# How to install Arch in your Android (into the App TermuxArch)
# and be able to use your Android device like a personal computer
# even running a X server to have GUI
#################################################################


###############################
# Install Termux