This way a Python daemon can be installed on Rasbian, Ubuntu or similar systems using systemd.
Installing:
sudo cp hello.service /lib/systemd/system/hello.service
sudo systemctl daemon-reload
sudo systemctl enable hello.service
| git clone --single-branch --depth=1 https://github.com/emacs-mirror/emacs.git | |
| cd emacs/ | |
| sudo apt install -y autoconf make gcc texinfo libxpm-dev \ | |
| libjpeg-dev libgif-dev libtiff-dev libpng-dev libgnutls28-dev \ | |
| libncurses5-dev libjansson-dev libharfbuzz-dev | |
| ./autogen.sh | |
| ./configure --with-json --with-modules --with-harfbuzz --with-compress-install \ | |
| --with-threads --with-included-regex --with-zlib --with-cairo --without-rsvg\ | |
| --without-sound --without-imagemagick --without-toolkit-scroll-bars \ | |
| --without-gpm --without-dbus --without-makeinfo --without-pop \ |
"Roswell Script" is implementation-independent Common Lisp scripting program which uses Roswell. Although Roswell itself is a unified interface to Common Lisp implementations, it also encourages writing scripts with it.
To start writing it, run ros init in your terminal:
$ ros init
Usage: ros init [template] name [options...]
| =LOWER(CONCATENATE(DEC2HEX(RANDBETWEEN(0;POWER(16;8));8);"-";DEC2HEX(RANDBETWEEN(0;POWER(16;4));4);"-";"4";DEC2HEX(RANDBETWEEN(0;POWER(16;3));3);"-";DEC2HEX(RANDBETWEEN(8;11));DEC2HEX(RANDBETWEEN(0;POWER(16;3));3);"-";DEC2HEX(RANDBETWEEN(0;POWER(16;8));8);DEC2HEX(RANDBETWEEN(0;POWER(16;4));4))) |
| ;;; ox-taskjuggler.el --- TaskJuggler Back-End for Org Export Engine | |
| ;; | |
| ;; Copyright (C) 2007-2014 Free Software Foundation, Inc. | |
| ;; | |
| ;; Emacs Lisp Archive Entry | |
| ;; Filename: ox-taskjuggler.el | |
| ;; Author: Christian Egli | |
| ;; Nicolas Goaziou <n dot goaziou at gmail dot com> | |
| ;; Maintainer: Christian Egli | |
| ;; Keywords: org, taskjuggler, project planning |
| (defun clocktable-by-tag/shift-cell (n) | |
| (let ((str "")) | |
| (dotimes (i n) | |
| (setq str (concat str "| "))) | |
| str)) | |
| (defun clocktable-by-tag/insert-tag (params) | |
| (let ((tag (plist-get params :tags))) | |
| (insert "|--\n") | |
| (insert (format "| %s | *Tag time* |\n" tag)) |
I remembered that I cannot compile it successfully before. But after I compiled the LibUV, and added the header file & libs, I can build libev successfully.
| #!/usr/bin/env ruby | |
| ## disconnect | |
| # ./disconnect.rb -u yourusername | |
| # | |
| # This is a command-line utility for the bulk-downloading of run data from | |
| # the connect.garmin.com web application, which has lackluster export | |
| # capabilities. | |
| # |
| Interested in learning eLisp for Emacs, ever thought you should? | |
| I wanted to learn eLisp but there are no decent beginners' book - so I decided to write one - and by decent I mean super-basic starting assuming you know nothing at all. | |
| It is my 'official' side-project; something to work on when I am bored or blocked in my main work. | |
| You can see how much progress I have made here: | |
| http://learn-elisp-for-emacs.org/ | |
| The book will get written quicker if other people muck in. |