Usually, the numpydoc format is the easiest to use and read for docstrings. In order to make things Just Work, use the following in conf.py
:
This gist contains notes on what to do when needing to recover from a disk failure. A good tool to use is the SystemRescueCd live image which includes all the useful tools for performing recovery operations.
If for whatever reason you can't boot from a USB disk with the BIOS, then you can still use grub
. Simply do
set root=(hd1)
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
*~ | |
# Byte-compiled / optimized / DLL files | |
__pycache__/ | |
*.py[cod] | |
# C extensions | |
*.so | |
# Distribution / packaging |
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
"""USBTMC pipe script | |
This script is used to pipe commands and queries to and from a USBTMC | |
device and is intended to be run using the following socat command:: | |
socat tcp-listen:5025,fork,reuseaddr,crnl,tcpwrap=script\ | |
EXEC:"python usbtmc_pipe.py",su-d=pi,pty,echo=0 | |
""" |
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
"""paultrap.py - Provides a simple object for calculating stability | |
boundaries for a linear Paul trap. | |
This program is free software: you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation, either version 3 of the License, or (at | |
your option) any later version. | |
This program is distributed in the hope that it will be useful, but | |
WITHOUT ANY WARRANTY; without even the implied warranty of |
NewerOlder