Skip to content

Instantly share code, notes, and snippets.


Hualet Wang hualet

Block or report user

Report or block hualet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View qt-codereview-236219-use-case.cpp
#include <QApplication>
#include <QWidget>
#include <QLineEdit>
int main(int argc, char *argv[])
QApplication a(argc, argv);
QWidget w;
hualet /
Created Jul 9, 2018
Calculate /proc/*/maps statistics
#!/usr/bin/env python3
import sys
import os.path
usage = \
Usage: mapstat PID


deepin作为一个年轻、充满活力的发行版,越来越受到中国以及世界各地的用户以及开发者的喜爱。秉承着“让用户开箱即用”的原则, 我们不仅独立开发出轻量而又美观的深度桌面环境(DDE),而且推出了众多广受用户喜爱的深度原创应用。 在此基础之上,我们的开发者平台也在慢慢完善,希望越来越多的开发者可以参与到我们的开发过程中,把好的产品提供给所有用户。



hualet / check_app_icons
Created Feb 27, 2017
Check whether icons of the apps in Deepin Appstore are included in deepin-icon-theme
View check_app_icons
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2014 Deepin Technology Co., Ltd.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
hualet /
Last active Apr 7, 2016
Check translation comments on code review.
#!/usr/bin/env python3
import os
import sys
import polib
from xml.dom import minidom
from configparser import ConfigParser
TX_CONFIG_FILE = os.path.join(PROJ_ROOT, ".tx/config")
You can’t perform that action at this time.