#################################################################
# 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################# | |
# use macros for repetitive tasks | |
################################# | |
## record a macro | |
# begin macro C-x ( | |
# do stuff in between |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# linux (ubuntu): | |
$ sudo apt install rlwrap | |
# use sbcl using it: | |
$ rlwrap sbcl | |
# enjoy! | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; setting up clojure completely without emacs | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;;;;; | |
;; installing clojure | |
;; this worked for me (for both 64 bit and 32 bit computer) | |
;;;;;;;;;;;;;;;;;;;;;;;; | |
;; download clojure by git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################### | |
# 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 |