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
| checks () { | |
| if [[ $(ls /sys/firmware/efi/efivars) ]]; then | |
| echo "[INFO] Found EFI Boot" | |
| else | |
| echo "[WARNING] EFI boot not detected" | |
| fi | |
| if [[ $(ping -c 3 google.com | grep icmp_seq) ]]; then | |
| echo "[INFO] Found working internet" |
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
| console.log('French vocab extractor for the online holt textbook (run in the console)'); | |
| (function () { | |
| function setSelectedIndex(s, v) { | |
| for ( var i = 0; i < s.options.length; i++ ) { | |
| if ( s.options[i].text == v ) { |
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
| // turn on dark mode | |
| javascript: | |
| document.head.appendChild((function () { | |
| var a = document.createElement('style'); | |
| a.innerHTML = "html {filter:saturate(0.1) hue-rotate(180deg) invert(1) contrast(0.86) hue-rotate(70deg) saturate(25) hue-rotate(-70deg);background:#0a0a0a}html img, html image {filter: hue-rotate(180deg) invert(1) saturate(0.5)!important;}"; | |
| return a; | |
| })()); | |
| void 0; | |
| // turn off dark mode |
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
| libreoffice --headless --convert-to "txt:Text (encoded):UTF8" mydocument.doc |
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
| javascript:(function () { | |
| var addZero = function (num) { | |
| num = num.toString(); | |
| if (num.length < 2) { | |
| num = "0" + num; | |
| } | |
| if (num.length < 2) { | |
| num = "0" + num; | |
| } | |
| return num; |