Could you give me an example of all your formatting options?
Sure! Here are some examples of formatting options that are available in most text editing programs:
#!/bin/bash | |
xinput --list | |
echo "Enter keyboard id:" | |
read kb | |
echo "Enter time to disable keyboard (sec):" | |
read sec | |
xinput set-prop $kb "Device Enabled" 0; |
// ==UserScript== | |
// @name Gradescope UCLA Login | |
// @version 1 | |
// @grant none | |
// @include https://www.gradescope.com/ | |
// ==/UserScript== | |
window.addEventListener('load', function() { | |
let button = document.getElementsByClassName("js-logInButton")[0]; | |
button.replaceWith(button.cloneNode(true)); // get rid of existing event handlers |
# Live audio broadcast over the Internet in one line of bash | |
# Currently only works for one client | |
while true; do cat <(echo -e "HTTP/1.1 200 OK\r\nContent-type: audio/mp3\r\nContent-Disposition: inline\r\n\r\n") <(arecord --format=cd | lame -r -) | nc -l 8080; done | |
# Preview a pandoc-rendered markdown document | |
# Requires installation of `inotify-tools` `pandoc`, `texlive`, `texlive-latex-extra` | |
while inotifywait document.md; do pandoc -V geometry:margin=1in document.md -o document.pdf; done |