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
| " 'up' and 'down' make more sense to me in this context | |
| " than which key is on the left or the right. | |
| map J nextTab | |
| map K previousTab | |
| " YouTube | |
| site '*://www.youtube.com/*' { | |
| unmap f | |
| } |
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
| convert -density 600 +antialias input.pdf output.pdf |
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
| ansible-playbook 2.9.6 | |
| config file = /home/mbroe/.ansible.cfg | |
| configured module search path = ['/home/mbroe/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
| ansible python module location = /usr/lib/python3.7/site-packages/ansible | |
| executable location = /usr/bin/ansible-playbook | |
| python version = 3.7.6 (default, Jan 30 2020, 10:29:04) [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)] | |
| Using /home/mbroe/.ansible.cfg as config file | |
| host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method | |
| script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method | |
| auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method |
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
| --- | |
| # copy-symlink-mwe.yml | |
| - hosts: localhost | |
| tasks: | |
| - name: make a source directory | |
| file: | |
| path: src_dir | |
| state: directory |
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
| package main | |
| // Code copied from linuxacademy.com. Stored here for reference. | |
| import ( | |
| "encoding/csv" | |
| "encoding/json" | |
| "flag" | |
| "fmt" | |
| "io" |
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
| ;; Change the window decoration to the dark theme | |
| (start-process-shell-command | |
| "set emacs colors" "*Messages*" | |
| (concat | |
| "xprop -f _GTK_THEME_VARIANT 8u" | |
| " -set _GTK_THEME_VARIANT 'dark'" | |
| " -name 'emacs@" system-name "'")) |
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
| # Useful when you're trying to process filenames with spaces in them. | |
| # Thanks to http://www.cyberciti.biz/tips/handling-filenames-with-spaces-in-bash.html | |
| # for this useful bit of code. | |
| SAVEDIFS=$IFS | |
| IFS=$(echo -en "\n\b") | |
| for f in * | |
| do | |
| echo "$f" |