Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
Hi there!
The docker cheat sheet has moved to a Github project under https://github.com/wsargent/docker-cheat-sheet.
Please click on the link above to go to the cheat sheet.
db.votes.aggregate([{
$lookup: {
from: "users",
localField: "createdBy",
foreignField: "_id",
# docs for more information see the official HPLIP project site here. | |
# https://developers.hp.com/hp-linux-imaging-and-printing | |
# Step 1. Update Fedora Linux | |
# Simply run dnf command: | |
$ sudo dnf upgrade | |
# Step 2. Search for HPLIP software |
import bson | |
from pymongo import MongoClient | |
def dump(collections, conn, db_name, path): | |
""" | |
MongoDB Dump |
from django.template import Library | |
register = Library() | |
@register.filter(is_safe=True) | |
def intdivide(value, separator=','): | |
""" | |
Convert an integer to a string containing specific separator every three digits. |
Georgian Script Casing in Python 3.7 and Unicode 11
The problem is in all versions starting with python 3.7, let's go back a little and follow what happened. So with the new version of Unicode 11 (June 5, 2018) we have some major changes for the Georgian script. Georgian was considered a monocameral (non-casing) script. Therefore, Georgian letters were gc=Lo (Letter, Other) and starting from the version Unicode 11.0, those Georgian letters are now gc=Ll (Letter, Lowercase). In python 3.7 first release (June 27, 2018), we have implementation of Unicode 11 and manipulation on the Georgian scripts (capitalize, titlecasing, uppercase) gives us strange symbols on the output.
ex. shown below
Python 3.7.5 (default, Oct 17 2019, 12:21:00)
I hereby claim:
To claim this, I am signing this object:
from multiprocessing.managers import BaseManager | |
class QueueManager(BaseManager): | |
pass |
.cm-green { | |
background-image: linear-gradient(30deg,#16d6d9,#96cc29); | |
} | |
.cm-blue { | |
background-image: linear-gradient(30deg,#009cf3,#16d6d9); | |
} | |
.cm-pink { | |
background-image: linear-gradient(30deg,#ff2277,#7a288c); |