Skip to content

Instantly share code, notes, and snippets.

View hualet's full-sized avatar
🎯
Focusing

Hualet Wang hualet

🎯
Focusing
View GitHub Profile
@hualet
hualet / how-to-get-involved-as-a-developer.md
Last active December 12, 2019 00:23
如何参与开发

介绍

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

参与方式

目前,我们提供以下方式可以让开发者参与到deepin项目中来:

#include <QApplication>
#include <QWidget>
#include <QLineEdit>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWidget w;
@hualet
hualet / mapstat.py
Created July 9, 2018 07:49
Calculate /proc/*/maps statistics
#!/usr/bin/env python3
import sys
import os.path
usage = \
'''
Usage: mapstat PID
'''
@hualet
hualet / check_app_icons
Created February 27, 2017 02:32
Check whether icons of the apps in Deepin Appstore are included in deepin-icon-theme
#! /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
hualet / check_translation_comments.py
Last active April 7, 2016 10:02
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
PROJ_ROOT = "."
TX_CONFIG_FILE = os.path.join(PROJ_ROOT, ".tx/config")