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
# Default application configuration that all configurations inherit from. | |
scss_files: "**/*.scss" | |
plugin_directories: ['.scss-linters'] | |
# List of gem names to load custom linters from (make sure they are already | |
# installed) | |
plugin_gems: [] | |
linters: |
#!/bin/sh | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
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 |
<!DOCTYPE html> | |
<html lang="en" > | |
<head> | |
<meta charset="UTF-8"> | |
<title>ЦИТАТЫ ЖИРОБИЛДЕРА</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> | |
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.1/css/all.min.css'> |
based on https://emacs.cafe/emacs/orgmode/gtd/2017/06/30/orgmode-gtd.html checked 10% of this (need update)
You can quickly initialize this files in shell:
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.
<header class="header"> | |
<h1 class="header-title"> | |
<a href="/"> | |
<pre> | |
██╗███╗░░██╗░█████╗░███╗░░░███╗░█████╗░███████╗ | |
██║████╗░██║██╔══██╗████╗░████║██╔══██╗╚════██║ | |
██║██╔██╗██║██║░░██║██╔████╔██║██║░░██║░░███╔═╝ | |
██║██║╚████║██║░░██║██║╚██╔╝██║██║░░██║██╔══╝░░ | |
██║██║░╚███║╚█████╔╝██║░╚═╝░██║╚█████╔╝███████╗ | |
╚═╝╚═╝░░╚══╝░╚════╝░╚═╝░░░░░╚═╝░╚════╝░╚══════╝</pre> |
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