- Downloaded nixos-21.11/latest-nixos-gnome-x86_64-linux.iso__ from channels.nixos.org__.
- NixOS manual instructs to create the USB stick using
dd
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
GET http://192.168.1.81/ctrl/master.json | |
GET http://192.168.1.81/ctrl/settings.json | |
GET http://192.168.1.81/ctrl/performance.json | |
GET http://192.168.1.81/ctrl/performance.html?ver=5.02.00 | |
GET http://192.168.1.81/ctrl/getContentURL.php |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
*.pyc | |
/bin | |
/include | |
/lib |
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
#!/usr/bin/env python | |
"""Script for converting ``.coverage`` SQLite output into lint-style output | |
The output is suitable for consumption using Darker. | |
See https://github.com/akaihola/darker | |
Example usage, pointing out modified code in a feature branch not covered by | |
the test suite:: |
Out of the box, Django e-mail fields for both database models and forms only accept plain e-mail addresses. For example, joe@hacker.com
is accepted.
On the other hand, full e-mail addresses which include a human-readable name, for example the following address fails validation in Django:
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
Copyright (c) 2013, Antti Kaihola | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without modification, | |
are permitted provided that the following conditions are met: | |
1. Redistributions of source code must retain the above copyright notice, | |
this list of conditions and the following disclaimer. | |
2. Redistributions in binary form must reproduce the above copyright |
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
#cloud-config | |
# Start an Ubuntu server with this cloud-init data to run a | |
# CrewLink-server instance and update its IP for a subdomain. The | |
# domain name must be hosted at Gandi LiveDNS. | |
# | |
# Near the bottom of the page, replace these strings with your data: | |
# - your Gandi API key | |
# - your-domain.tld | |
# - your-subdomain |
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
Many-to-many formsets for Django |
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
import io | |
from typing import Tuple | |
def tee_stream_head(stream: io.IOBase, | |
head_max_lines: int=3) -> Tuple[io.RawIOBase, | |
io.RawIOBase]: | |
"""Split a stream, enable parallel reading of initial lines | |
This helper solves the use case where a limited number of initial lines |
NewerOlder