This file contains hidden or 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
Disable csrutils: | |
Startup -> Cmd + R -> terminal -> `csrutil disable;reboot` | |
Download and install mobile partner: | |
http://download-c1.huawei.com/download/downloadCenter?downloadId=90143&version=352019&siteCode=worldwide | |
Create profile and connect. |
This file contains hidden or 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
docker ps -aqf status=exited | xargs docker rm | |
docker images -q | xargs docker rmi |
This file contains hidden or 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
# -*- coding: utf-8 -*- | |
from random import shuffle, choice, randint | |
from abc import abstractmethod, abstractproperty, ABCMeta | |
class Card(object): | |
suits = ('пики', 'трефы', 'червы', 'бубны') | |
suits_icons = ('♠', '♣', '♥', '♦') |