- maim
- xclip
Set this on your i3 config file ~/.i3/config
# Screenshots
| # ---------------------------------------------------------------------------------------------------------------- | |
| # Add this to your i3 config to take a screenshot (selection) and save it to the clipboard just by pressing PrtSc! | |
| # The resulting file will have this format: screenshot_02-Dec-2021_13-24-21.png | |
| # | |
| # NOTE: This assumes you have a directory ~/screenshots and you have installed: | |
| # - maim | |
| # - xclip | |
| # ---------------------------------------------------------------------------------------------------------------- | |
| # screenshot (saves to clipboard and a file in ~/screenshots) |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| % this code was copied from https://tex.stackexchange.com/a/516102 | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| \usepackage[bigfiles]{pdfbase} | |
| \ExplSyntaxOn | |
| \NewDocumentCommand\embedvideo{smm}{ | |
| \group_begin: | |
| \leavevmode | |
| \tl_if_exist:cTF{file_\file_mdfive_hash:n{#3}}{ |
| %%----------------------------------------------------------------------- | |
| %% Make your own quadrille, graph, hex, etc paper! | |
| %% Uses the pgf/TikZ package for LaTeX, which should be part of | |
| %% any modern TeX installation. | |
| %% | |
| %% All the values here are hardcoded for letter size paper. | |
| %% | |
| %% This is the original standalone .tex file. The project is in the | |
| %% process of being converted to a LaTeX package. | |
| %% |
| Process for setting up github pages with namecheap domain. | |
| 1. Go to namecheap.com, select and buy domain name. | |
| 2. Login to namecheap, go to username drop down and select dashboard. | |
| 3. Go to DomainList | |
| 4. Click manage button | |
| 5. Click Advanced DNS tab | |
| 6. Click add record and add three records: | |
| Type: A Record | Host: @ | Value: 192.30.252.153 | TTL: Automatic |
| ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 data/output.mp4 |
| /** | |
| * This Google Sheets script keeps data in the specified column sorted any time | |
| * the data changes. | |
| * | |
| * After much research, there wasn't an easy way to automatically keep a column | |
| * sorted in Google Sheets, and creating a second sheet to act as a "view" to | |
| * my primary one in order to achieve that was not an option. Instead, I | |
| * created a script that watches for when a cell is edited and triggers | |
| * an auto sort. | |
| * |
| *.acn | |
| *.acr | |
| *.alg | |
| *.aux | |
| *.bak | |
| *.bbl | |
| *.bcf | |
| *.blg | |
| *.brf | |
| *.bst |