Skip to content

Instantly share code, notes, and snippets.

View keclements's full-sized avatar
:octocat:
hi

KE Clements keclements

:octocat:
hi
View GitHub Profile
# OneTab shared tabs
[![](https://www.one-tab.com/web/images/top-left-logo.png)](https://www.one-
tab.com/)
Shared: 662 tabs
![](https://www.one-tab.com/api/qrCode?pageId=SvL4cFQQQhWZk_H_l_iOdQ)
Scan this QR code using the Barcode Scanner app on your mobile or tablet
@keclements
keclements / homebrew-commands.md
Last active January 23, 2019 23:32
Homebrew Commands
COMMAND DESCRIPTION
install Install formula
uninstall / rm / remove Uninstall formula
reinstall Uninstall and then install formula
update Fetch the newest version of Homebrew and all formulae
upgrade Upgrade outdated, unpinned brews
search Display all locally available formulae for brewing
list / ls List all files in the Homebrew prefix not installed by Homebrew
import uuid # Required for unique book instances
class BookInstance(models.Model):
"""Model representing a specific copy of a book (i.e. that can be borrowed from the library)."""
id = models.UUIDField(primary_key=True, default=uuid.uuid4, help_text='Unique ID for this particular book across whole library')
book = models.ForeignKey('Book', on_delete=models.SET_NULL, null=True)
imprint = models.CharField(max_length=200)
due_back = models.DateField(null=True, blank=True)
LOAN_STATUS = (