emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
- Undo -
C-/
- Redo -
C-?
- Change case: 1. Camel Case :
M-c
2. Upper Case :M-u
- Lower Case :
M-l
emacs --daemon
to run in the background.
emacsclient.emacs24 <filename/dirname>
to open in terminal
NOTE: "M-m and SPC can be used interchangeably".
C-/
C-?
M-c
2. Upper Case : M-u
M-l
#!/bin/sh | |
###################################################### | |
# Create a new SFTP user and configure their chroot | |
###################################################### | |
if [ $# -ne 2 ]; then | |
echo "Usage: add_sftp_user.sh username password" | |
exit 0 | |
fi |
I've been using this for several years now, so here are some of the ways I have set it up to be most productive.
See my taskrc
below for implementation details.
In general, I've had the most success by keeping lists of tasks short and to the point, avoiding the anxiety of seeing 100 tasks and feeling like I'm going to drown.
Download iso & signature from https://archlinux.org/download/
In my case archlinux-2021.08.01-x86_64.iso.sig
and archlinux-2021.08.01-x86_64.iso
Verify sha1 checksum (replace archlinux-2021.08.01-x86_64.iso with your image path, image can be in download directory)
cd ~/downloads # optional
sha1sum archlinux-2021.08.01-x86_64.iso
# 4904c8a6df8bac8291b7b7582c26c4da9439f1cf
#!/usr/bin/env python3 | |
# Redirect all requests to the given URL. | |
import SimpleHTTPServer | |
import SocketServer | |
class FakeRedirect(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
def do_GET(self): | |
print(self.path) | |
self.send_response(301) |