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
#Based on the example at | |
#https://linuxize.com/post/using-the-ssh-config-file/ | |
#Retrieved on March 17, 2021 | |
Host surya | |
HostName 192.168.8.99 surya.example.com | |
User git | |
Port 5122 | |
IdentityFile ~/.ssh/surya |
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 file is a template of all markdown style syntax elements that can be used to test any Markdown processing system. | |
This file is adapted from the example at [markdown-it](http://markdown-it.github.io/) | |
--- | |
# h1 Heading | |
Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a> | |
## h2 Heading | |
Cum sociis natoque penatibus et magnis <a href="#">dis parturient montes</a> |
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
#Commands referenced in my VirtualBox Installation walkthrough video | |
sudo apt-get update | |
sudo apt-get dist-upgrade --assume-yes | |
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O - | sudo apt-key add - | |
echo "deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian focal contrib" | sudo tee /etc/apt/sources.list.d/virtualbox.list |
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
#!/bin/bash | |
# On Ubuntu 20.04 or equivalent | |
# Install pandoc: sudo apt-get install pandoc | |
pandoc -f mediawiki -o output-file.md input-file.mediawiki |
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" standalone='no'?><!--*-nxml-*--> | |
<!DOCTYPE service-group SYSTEM "avahi-service.dtd"> | |
<!-- See avahi.service(5) for more information about this configuration file --> | |
<!-- See https://code.google.com/archive/p/openpub/wikis/DeprecatedOPDSSpecification.wiki for OPDS spec --> | |
<service-group> | |
<name>Calibre</name> | |
<service> | |
<type>_opds._tcp</type> | |
<port>8080</port> | |
<host-name>myhostname.local</host-name> |
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
#!/bin/bash | |
### Notice and Usage information | |
echo "This script is provided only as a list of reference commands and is not intended to be executed as is." | |
echo " " | |
echo "Please open this script with a text editor, then read and execute the commands line by line as appropriate" | |
echo " " | |
echo "Exiting now" | |
exit |
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
v 20130925 2 | |
P 1100 500 1400 500 1 0 1 | |
{ | |
T 1150 550 5 8 1 1 0 0 1 | |
pinnumber=3 | |
T -50 450 5 8 0 0 0 0 1 | |
pinseq=3 | |
T 750 450 5 8 1 1 0 0 1 | |
pinlabel=OUT | |
T -50 450 5 8 0 1 0 0 1 |
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
Read this carefully and completely before you run the commands! | |
1. First, tell crontab to run the update script periodically. Run crontab -e as user (not root!) and add this line: (replace your username, naturally) | |
0 9,11,13,15 * * 1,2,3,4,5 /home/username/bin/gnucashstockupdate /path/to/gnucash-accounts/file.gnucash >> /path/to/gnucash-accounts/file/PriceUpdate.log | |
2. Copy the accompanying script gnucashstockupdate to ~/bin and make it executable | |
3. Copy the accompanying script gnucashgetquotes to ~/bin and make it executable | |
4. Done! The crontab entry I have given will attempt to fetch updates on all weekdays at 9, 11, 1, 3 o'clock - which fits the tmings of our exchange. For international quotes change as desired. |