Skip to content

Instantly share code, notes, and snippets.

@hongwen000
hongwen000 / check_package.py
Created July 5, 2023 23:02
check_package.py
from enum import Enum
import subprocess, sys
import pkg_resources
from distutils.version import StrictVersion
from packaging import version
PIP_INDEX_AVAIABLE_PROMPT: str = "Available versions:"
MIN_PIP_VERSION = "22.2"
import argparse
from pathlib import Path
CheckedCall: MallocSpace::MoreCore, name = main rosalloc space, increment = 2097152, new_end = 0x221b2000
Round: 17 end 1686831054946 speed 0.9507058823529412s/round
Round: 18 start 1686831054952
CheckedCall: MallocSpace::MoreCore, name = main rosalloc space, increment = 2097152, new_end = 0x223b2000
Round: 18 end 1686831055946 speed 0.9534444444444444s/round
Round: 19 start 1686831055946
android_set_abort_message Check failed: new_addr != NULL new_addr is NULL!
android_set_abort_message Check failed: new_addr != NULL new_addr is NULL!
Runtime abort entered, message: Check failed: new_addr != NULL new_addr is NULL!
android_set_abort_message Check failed: new_addr != NULL new_addr is NULL!
@hongwen000
hongwen000 / 软件安装.md
Last active December 27, 2019 03:26
软件安装

软件安装

ansible

安装ansible用于统一管理集群

$ sudo apt update
$ sudo apt install software-properties-common
$ sudo apt-add-repository --yes --update ppa:ansible/ansible
hello
@hongwen000
hongwen000 / cloudSettings
Last active October 8, 2018 21:18
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-10-08T21:17:52.320Z","extensionVersion":"v3.1.2"}