UPDATE:
- <2023-03-21 Tue 15:00> 排版优化中……目前进度 1409/2212
- 优化工具:Emacs Org-mode with Eighty Column Rule
TODO:
- TOC
UPDATE:
TODO:
(require 'org-clock) | |
(defun clocktable-by-tag/shift-cell (n) | |
(let ((str "")) | |
(dotimes (i n) | |
(setq str (concat str "| "))) | |
str)) | |
(defun clocktable-by-tag/insert-tag (files params) | |
(let ((tag (plist-get params :tags)) |
Instructions are modified from emacs-w64 Wiki page by zklhp. Many thanks for sharing!
Download the latest MSYS2 from this download page.
Install MSYS2 to, for example, C:\msys2
(make sure no space in path to avoid unwanted problems).
Optionally prettify the MSYS2 console mintty
with ~/.minttyrc
to make it more pleasing to eyes. Thanks to this awesome theme!
#!/bin/bash | |
GIT_VERSION="2.23.0" | |
yum install -y gcc wget make curl-devel expat-devel \ | |
gettext-devel openssl-devel perl-devel zlib-devel | |
cd ~ | |
if [ ! -f git-${GIT_VERSION}.tar.gz ]; then | |
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz |
#!/bin/bash | |
BASE_DIR=$(dirname $0) | |
BUILD_SCRIPT_NAME="build-git.sh" | |
BUILD_SCRIPT="${BASE_DIR}/${BUILD_SCRIPT_NAME}" | |
if [ ! -d /share/Public/toolchain ]; then | |
mkdir /share/Public/toolchain | |
fi |
(defun +org-notes-project-p () | |
"Return non-nil if current buffer has any todo entry. | |
TODO entries marked as done are ignored, meaning the this | |
function returns nil if current buffer contains only completed | |
tasks." | |
(seq-find ; (3) | |
(lambda (type) | |
(eq type 'todo)) | |
(org-element-map ; (2) |
#!/bin/bash | |
# | |
# Convert diff output to colorized HTML. | |
# (C) Mitch Frazier, 2008-08-27 | |
# http://www.linuxjournal.com/content/convert-diff-output-colorized-html | |
# Modified by stopyoukid | |
# | |
html="<html><head><meta charset=\"utf-8\"><title>Pretty Diff</title><style>body {text-align: center;}#wrapper {display: inline-block;margin-top: 1em;min-width: 800px;text-align: left;}h2 {background: #fafafa;background: -moz-linear-gradient(#fafafa, #eaeaea);background: -webkit-linear-gradient(#fafafa, #eaeaea);-ms-filter: \"progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafafa',endColorstr='#eaeaea')\";border: 1px solid #d8d8d8;border-bottom: 0;color: #555;font: 14px sans-serif;overflow: hidden;padding: 10px 6px;text-shadow: 0 1px 0 white;margin: 0;}.file-diff {border: 1px solid #d8d8d8;margin-bottom: 1em;overflow: auto;padding: 0.5em 0;}.file-diff > div {width: 100%:}pre {margin: 0;font-family: \"Bitstream Vera Sans Mono\", Courier, monospace;font-size: 12px;line-height: 1.4em;text-indent: 0.5em;}.file {color: |
<!doctype html> | |
<html class=" webkit safari mobile iphone js"> | |
<head> | |
<meta name="viewport" content="width=device-width;"> | |
<style id="ss"></style> | |
<style> | |
body { | |
text-align: center; | |
font-size: 1em; | |
-webkit-transform: translate3d(0,0,0); |
# install Homebrew: https://wheat.at/mac/2017/12/09/homebrew.html | |
$ su ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# show brew commands | |
$ brew help | |
# check current user | |
$ echo $(whoami) | |
# grant access to the folders |
author: | |
email: | |
name: | |
url: | |
# PODCAST | |
license: CC-BY-SA | |
podcast: | |
title: | |
subtitle: |