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
#!/usr/bin/env bash | |
set -x # echo on | |
sudo dnf remove -y aajohan-comfortaa-fonts | |
sudo dnf remove -y google-droid-sans-fonts | |
sudo dnf remove -y jomolhari-fonts | |
sudo dnf remove -y khmer-os-system-fonts | |
sudo dnf remove -y lohit-assamese-fonts | |
sudo dnf remove -y lohit-bengali-fonts | |
sudo dnf remove -y lohit-devanagari-fonts |
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
#!/usr/bin/env bash | |
set -x # echo on | |
sudo dnf remove -y abrt | |
sudo dnf remove -y akregator | |
sudo dnf remove -y artikulate | |
sudo dnf remove -y blinken | |
sudo dnf remove -y bomber | |
sudo dnf remove -y cantata | |
sudo dnf remove -y cantor | |
sudo dnf remove -y clementine |
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
;;; mylisp/myauctex.el -*- lexical-binding: t; -*- | |
(use-package auctex | |
:straight t | |
:defer t | |
:mode | |
("\\.tex\\'" . latex-mode) | |
("\\.ltx\\'" . latex-mode) | |
:commands | |
(latex-mode |
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
%this tex file was auto produced from TEI by lbp-print-xslt 1.0.0 critical stylesheets on 2022-08-10T19:39:07.443717Z using the file:/usr/src/app/annotations.xslt | |
\documentclass[twoside, openright]{report} | |
%imakeidx must be loaded beore eledmac | |
\usepackage{imakeidx} |
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
import pyperclip | |
from titlecase import titlecase | |
inputtext = pyperclip.paste() | |
outputtext = titlecase(inputtext) | |
pyperclip.copy(outputtext) |
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
function _prompt_char() { | |
if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then | |
echo ' ' | |
fi | |
} | |
PROMPT='%F{red}[%B%F{220}%n%F{green}@%F{39}%m %F{5}%1~%F{red}$(_prompt_char)$(git_prompt_info)%F{red}%b]%f | |
%# ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" |
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
#!/usr/bin/env bash | |
# set -x # echo on | |
_isInstalled() { | |
package="$1"; | |
check="$(sudo pacman -Qs --color always "${package}" | grep "local" | grep "${package} ")"; | |
if [ -n "${check}" ] ; then | |
echo 0; #'0' means 'true' in Bash | |
return; #true | |
fi; |
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
#!/usr/bin/env python3 | |
# This script does the following: | |
# 1. If Emacs is already running, it loads the files given as arguments, | |
# or simply activates (focuses) the main window if no files are given. | |
# 2. If Emacs is not running, it runs it and | |
# loads the files given as arguments, if any. | |
# Requires psutil and xdotool: | |
# yay -S python-psutil xdotool |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<serialized version="22.1" xml:space="preserve"> | |
<serializableOrderedMap> | |
<entry> | |
<String>annotation.highlight.color</String> | |
<String>71,89,76</String> | |
</entry> | |
<entry> | |
<String>author.background-color</String> | |
<String>64,69,82</String> |