start new:
tmux
start new with session name:
tmux new -s myname
| ;; | |
| ;; NS CHEATSHEET | |
| ;; | |
| ;; * :require makes functions available with a namespace prefix | |
| ;; and optionally can refer functions to the current ns. | |
| ;; | |
| ;; * :import refers Java classes to the current namespace. | |
| ;; | |
| ;; * :refer-clojure affects availability of built-in (clojure.core) | |
| ;; functions. |
| ; A REPL-based, annotated Seesaw tutorial | |
| ; Please visit https://github.com/daveray/seesaw for more info | |
| ; | |
| ; This is a very basic intro to Seesaw, a Clojure UI toolkit. It covers | |
| ; Seesaw's basic features and philosophy, but only scratches the surface | |
| ; of what's available. It only assumes knowledge of Clojure. No Swing or | |
| ; Java experience is needed. | |
| ; | |
| ; This material was first presented in a talk at @CraftsmanGuild in | |
| ; Ann Arbor, MI. |
| <?xml version="1.0" encoding="utf-8"?> | |
| <project> | |
| <!-- <meta /> | |
| Use meta nodes to set metadata for your application. The description is ignored | |
| on most targets, but is useful for packaging like Chrome Apps or Opera Widgets. | |
| For compatibility with Android and webOS, the package name must include at least |
| ;;; auto-rsync-mode -- minor mode for auto rsync | |
| ;; | |
| ;; Author: @l3msh0 | |
| ;; | |
| ;;; Example | |
| ;; | |
| ;; (require 'auto-rsync) | |
| ;; (auto-rsync-mode t) | |
| ;; (setq auto-rsync-dir-alist |
xv6を学ぶ上での準備
起動処理を読む(main.c の main() が呼ばれるまで)
main() からmpmain()が呼ばれるまで
| (require 'google-translate) | |
| (defvar helm-multilingual-source-language "ja") | |
| (defvar helm-multilingual-target-language-alist | |
| '( | |
| ("Japanese" . "ja") | |
| ("Arabic" . "ar") | |
| ("Chinese Simplified" . "zh-CN") | |
| ("Dutch" . "nl") | |
| ("English" . "en") |
| ;; zone-pgm-rainbow | |
| (require 'zone) | |
| (defvar zone-programs) | |
| (defvar zpr-hue-factor 50) | |
| (defvar zpr-sat 1.0) | |
| (defvar zpr-light 0.5) | |
| (defun zone-pgm-rainbow () | |
| (require 'color nil) |
| ;; Assume you have already installed Font Awesome on the system | |
| ;; http://fortawesome.github.io/Font-Awesome/ | |
| (require 'ov) | |
| ;; Overlay Library | |
| ;; https://github.com/ShingoFukuyama/ov.el | |
| ;; Example 1: Insert all fonts at the cursor position | |
| (defun font-awesome-insert-all () |
Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.