Please refer to previous revisions if you know what to do.
The patch proposed was merged into kernel in 5.8 release, but no longer working as of linux 5.11
| #!/usr/bin/env bash | |
| # To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error | |
| # Make sure that the .gnupg directory and its contents is accessibile by your user. | |
| chown -R $(whoami) ~/.gnupg/ | |
| # Also correct the permissions and access rights on the directory | |
| chmod 600 ~/.gnupg/* | |
| chmod 700 ~/.gnupg |
https://github.com/PacktPublishing free to download books code by Packet
https://github.com/EbookFoundation/free-programming-books Very immense
| // Continuous iterator | |
| function foo() { | |
| // NOTE: don't ever do crazy long-running loops like this | |
| for (let i = 0; i <= 1E10; i++) { | |
| console.log(i); | |
| } | |
| } | |
| // foo(); |
Notes by Jeremy W. Sherman, October 2013, based on:
Feathers, Michael. Working Effectively with Legacy Code. Sixth printing, July 2007.
Foreword:
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>First React App</title> | |
| <script crossorigin src="https://unpkg.com/react@16/umd/react.development.js"></script> | |
| <script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script> | |
| <script src='https://unpkg.com/babel-standalone@6/babel.min.js'></script> | |
| </head> | |
| <body> | |
| <div id='app'></div> |
| from django.db import ProgrammingError, models | |
| from django.db.models.constants import LOOKUP_SEP | |
| from django.db.models.query import normalize_prefetch_lookups | |
| from rest_framework import serializers | |
| from rest_framework.utils import model_meta | |
| class OptimizeModelViewSetMetaclass(type): | |
| """ | |
| This metaclass optimizes the REST API view queryset using `prefetch_related` and `select_related` | |
| if the `serializer_class` is an instance of `serializers.ModelSerializer`. |
| [alias] | |
| st = status | |
| br = branch | |
| co = checkout | |
| lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev | |
| [core] | |
| editor = vim | |
| pager = delta |
UNDER DEVELOPMENT HERE: https://github.com/rochacbruno/markdocs
I still think that the problem of lack of good documentation in the Python ecosystem is also related to .rst format and the use of complicated tools like Sphinx.
I'm enjoying writing functional documentation using Markdown in Rustlang, so I'll do experiments to have the same functionality in Python. Take a look at rustdoc and here an example of documentation site generated for a Rust crate using markdown comments.