This file contains hidden or 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
#!/bin/bash | |
# =============================================================================== | |
# Git Author Email and Name Batch Modification Script | |
# =============================================================================== | |
# | |
# DESCRIPTION: | |
# This script allows you to retroactively modify the author email and name | |
# for a range of Git commits. It uses interactive rebase to systematically | |
# update commit author information while preserving original commit dates |
This file contains hidden or 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
{ | |
"remapKeys": { | |
"inProcess": [] | |
}, | |
"remapKeysToText": { | |
"inProcess": [] | |
}, | |
"remapShortcuts": { | |
"global": [ | |
{ |
This file contains hidden or 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
if ! type dpkg-deb >/dev/null 2>&1; then | |
echo "Please install 'dpkg-deb'." | |
fi | |
if ! type file >/dev/null 2>&1; then | |
echo "Please install 'file' from Bingner or Procursus." | |
fi | |
if ! type otool >/dev/null 2>&1; then | |
echo "Please install 'odcctools'." |
This file contains hidden or 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
#!/usr/bin/env bash | |
set -eu | |
DARWIN_VERSION=`uname -r | cut -d'.' -f1 | tr -d '\n'` | |
MIRROR='https://apt.procurs.us' | |
SUITES='big_sur' | |
COMPONENTS='main' | |
procursus_bootstrapped=`if [[ -e '/opt/procursus/.procursus_strapped' ]]; then echo 'true'; else echo 'false'; fi` |
This file contains hidden or 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
#include <iostream> | |
#include <functional> | |
#include <type_traits> | |
#include <cstddef> | |
#include <utility> | |
#include <memory> | |
namespace yuuki { | |
template<size_t> // begin with 0 here! | |
struct placeholder_template |
This file contains hidden or 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
$ platex-ng ltxtest | |
This is pTeX-ng, Version 3.14159265 (preloaded format=platex-ng) | |
entering extended mode | |
(ltxtest.tex | |
pLaTeX2e <2020-04-12u03> (based on LaTeX2e <2020-02-02> patch level 5) | |
(/usr/local/texlive/2020/texmf-dist/tex/latex/ctex/ctexart.cls | |
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3.sty | |
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/expl3-code.tex | |
(/usr/local/texlive/2020/texmf-dist/tex/latex/l3kernel/l3deprecation.def)) | |
! Undefined control sequence. |
This file contains hidden or 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
\documentclass{ctexbook} | |
\usepackage{calc} | |
% \usepackage{geometry} | |
% \geometry{showframe} | |
\usepackage{colortbl} | |
\definecolor{titlecolor}{rgb}{0.503906,0.503906,0.734375} | |
\ctexset { | |
chapter = { | |
beforeskip = 0pt, | |
fixskip = true, |
This file contains hidden or 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
\documentclass{article} | |
\usepackage{enumitem} | |
\setlist[enumerate,2]{label=\arabic*)} | |
\begin{document} | |
\begin{enumerate} | |
\item one | |
\begin{enumerate} | |
\item one | |
\item two | |
\end{enumerate} |
NewerOlder