sudo apt-get install sbcl
curl -O http://beta.quicklisp.org/quicklisp.lisp
sbcl --load quicklisp.lisp
This file contains 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
; 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. |
emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
M-m
and SPC
can be used interchangeably. I've used Ldr
(for "leader") as a compromise.
- Undo -
C-/
- Redo -
C-?
- Change case: 1. Camel Case :
M-c
2. Upper Case :M-u
- Lower Case :
M-l
There's a couple of ways, one way is
- Get search results
- Do
SPC /
and type in your search string - or
SPC x S
and search string - where x is your scope indicator (p for project, d for directory, etc..)
- Do
- Once you have the occurences you want, hit
C-c C-e
inside the helm buffer to put all your match occurences and puts them into a special buffer called the edit buffer or something like that - in that buffer you can use any commands you'd normally use on a buffer
- the
C-c C-c
to commit your changes.
This file contains 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
project(cmake-install) | |
cmake_minimum_required(VERSION 3.12) | |
add_library(MyLibrary main.cpp) | |
target_include_directories(MyLibrary | |
PRIVATE | |
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src> | |
PUBLIC |
WSL2 requires Windows 10 version 2004 or higher (see the official documentation. Part of this guide is adapted and expanded from hubsian's guide on Emacs under WSL.
If you do not have WSL enabled already, follow the official installation instructions for WSL2. Once installed, make sure to have WSL2 installed with Ubuntu 20.04 by running the PowerShell as administrator and typing.
wsl -l -v
This file contains 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
$win_user = "ipc" | |
$linux_user = "ipc" | |
$package = "CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc" | |
$base_path = "C:\Users\" + $win_user + "\AppData\Local\Packages\" + $package + "\LocalState\rootfs" | |
$dirs = @("\bin", "\sbin", "\usr\bin", "\usr\sbin", "\home\" + $linux_user + "\.cargo\bin") | |
$dirs | ForEach { Add-MpPreference -ExclusionProcess ($base_path + $_ + "\*") } | |
Add-MpPreference -ExclusionPath $base_path |