This file contains 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
||https://imgcache.qq.com/ptlogin/v4/style/20/images/shouQ_v2/small_24_tiny.png |
This file contains 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
{ | |
"server":"123.123.123.123", | |
"server_port":8989, | |
"local_port":1080, | |
"password":"password", | |
"timeout":300, | |
"nameserver":"8.8.4.4", | |
"method":"salsa20", | |
"mode":"tcp_and_udp", | |
"fast_open": false, |
This file contains 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
微信 | |
版本 6.7 GooglePlay版 | |
唤醒锁 | |
正则表达式 WakerLock:+[0-9]{0,26} 间隔999999 | |
SyncService | |
StnCallBack | |
定时器 | |
# 正则表达式设置Amplify链接 https://forum.xda-developers.com/showpost.php?p=64411243&postcount=6237 | |
正则表达式 ALARM_ACTION+[(0-9)]{0,26} 间隔999999 | |
com.tencent.mm/.booter/MMReceivers$AlarmReceiver 间隔60 |
This file contains 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
#include <QDataStream> | |
#include <QString> | |
#include <QDebug> | |
struct Data1 | |
{ | |
bool isOk; | |
int value; | |
QString str; | |
}; |
This file contains 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
#include <iostream> | |
#include <memory> | |
#include <utility> | |
// 源码已稍作修改,出自:https://en.cppreference.com/w/cpp/utility/forward | |
struct A | |
{ | |
A(int&& n) { std::cout << "rvalue overload, n=" << n << "\n"; } | |
A(int& n) { std::cout << "lvalue overload, n=" << n << "\n"; } | |
}; |
This file contains 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
#ifndef MYRANDOM_HPP | |
#define MYRANDOM_HPP | |
// 源码:https://evileg.com/en/post/306 | |
#include <random> | |
namespace details | |
{ | |
/// True if type T is applicable by a std::uniform_int_distribution |
This file contains 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
#include <QObject> | |
#include <QDebug> | |
class MyClass : public QObject | |
{ | |
Q_OBJECT | |
public: | |
explicit MyClass(QObject *parent = nullptr):QObject(parent){} | |
Q_INVOKABLE void printHello(const QString& text) |
This file contains 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
#include "Label.h" | |
#include "Label_p.h" | |
Label::Label(const QString& text, QWidget *parent) : QLabel(text, parent), | |
d_ptr(new LabelPrivate(this)) | |
{ | |
} | |
QString Label::myGetText() | |
{ |
This file contains 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
[user] | |
name = xxx | |
email = xxx@xx.com | |
signingkey = 37A9AD93 | |
[push] | |
default = simple | |
[alias] | |
ad = add * | |
cm = commit -am | |
cmt = commit -m |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Date: 2018-06-06 | |
# NekoSMS filters print/encode | |
import json | |
# print keyword from json | |
def print_kw(filename): |