SamsonWang's repos on GitHub
C++ · 428 watchers
LaunchyQt
:rocket: Launchy project reactivated. Get the familiar feeling now!
CSS · 22 watchers
qui
此项目作者为刘典武,不是我自己的原创项目,望周知。
Emacs Lisp · 2 watchers
dot-emacs
personal emacs configuration
Java · 1 watchers
CubeSolver
Cube Solver based on LEGO MINDSTROMS NXT
C++ · 1 watchers
qt-toolset
C++ · 1 watchers
SmartLaunch
Quick Launch pad based on Qt5
0 watchers
ALMRun
绿色实用,功能强大的快速启动软件,Merry和ALTRun的结合体
Python · 0 watchers
blog
Personal blog
C++ · 0 watchers
CLRS
:notebook:Solutions to Introduction to Algorithms
Vim Script · 0 watchers
dot-files
Personal Config
Vim script · 0 watchers
dot-vim
Python · 0 watchers
english_note
0 watchers
from_coder_to_expert
2020年最新总结,从程序员到CTO,从专业走向卓越,分享大牛企业内部pdf与PPT
0 watchers
HumanSystemOptimization
健康学习到150岁 - 人体系统调优不完全指南
HTML · 0 watchers
img
repo for image resources
HTML · 0 watchers
LaunchyQt-docs
Documentation for LaunchyQt
HTML · 0 watchers
LaunchyQt-homepage
launchyqt homepage
C++ · 0 watchers
libshm
shared memory cpp library for linux and windows
C · 0 watchers
libshmcache-annotated
libshmcache annotated source. libshmcache is a local cache in the share memory for multi processes. high performance due to read is lockless. libshmcache is 100+ times faster than a remote interface such as redis.
0 watchers
my-chrome
MyChrome -- Make Google Chrome portable yourself
JavaScript · 0 watchers
nikola-cerulean
A nikola theme based on cerulean.
0 watchers
OpenCV3-Intro-Book-Src
:blue_book:《OpenCV3编程入门》书本配套源码 |《Introduction to OpenCV3 Programming》Book Source Code
0 watchers
qimgv
Qt5 image viewer with optional video support
0 watchers
Qt-Frameless-Window-DarkStyle
simple MainWindow class implementation with frameless window and custom dark style. It adds also support for titlebar and buttons (minimize, maximize, close)
Batchfile · 0 watchers
reset-vassistx
A small batch script for resetting Visual Assist X's trial period.
0 watchers
Rime
Rime configuration for Squirrel (macOS) & fcitx-rime (Linux)
C++ · 0 watchers
SingleApplication
Replacement of QtSingleApplication for Qt5 with support for instance communication.
0 watchers
SmartLaunch-notes
personal notes for SmartLaunch project
CMake · 0 watchers
ToyCMake
C++ · 0 watchers
ToyCpp
0 watchers
ToyDocker
JavaScript · 0 watchers
ToyFrontEnd
playground for front-end learning
Go · 0 watchers
ToyGo
Personal playground for Golang
0 watchers
ToyLisp
Python · 0 watchers
ToyPython
A toy for personal python learning.
Lua · 0 watchers
WoWBetterDefault
World of Warcraft addon
SamsonWang

SamsonWang

V2EX member #328596, joined on 2018-07-12 10:31:03 +08:00
Today's activity rank 19192
Per SamsonWang's settings, the topics list is only visible after you sign in
Deals info, including closed deals, is not hidden
SamsonWang's recent replies
Apr 28
Replied to a topic by bearbest 情感问题 对象躺得太平了怎么办?
看了楼上回复了这么多,其实我比较好奇你是男的还是女的,你对象是男的还是女的?
你一直没有回应生孩子相关的建议,所以我猜测你俩都是男的,所以要不了孩子?

你对象和你的兴趣点不同,我觉得也不必强求有共同兴趣,你去找你感兴趣的事情做就好了。
时间长了人是会变的,感兴趣的事情也会变的。二十多岁的时候我还能从打游戏中获得快乐,现在都奔 40 的人了,再打游戏就已经玩不进去了。

珍惜两个人在一起的时间吧,陪伴才是最重要的,祝好。
Mar 26, 2025
Replied to a topic by Bssn Qt Qt5 托盘菜单右击时的异常
QMenu 的 parent 是主面板,所以会随着主面板显示出来
Mar 26, 2025
Replied to a topic by Bssn Qt Qt5 托盘菜单右击时的异常
`case QSystemTrayIcon::Context:`的时候啥都不用做,Qt 会自己把 context menu 显示出来
V 站 emacs 用户不多,见到一个真是不容易啊
```
#include <iostream>

class Person {
public:
Person(const char* name)
: m_name(name) {
std::cout << "Person constructor" << std::endl;
}
~Person() {
std::cout << "Person destructor" << std::endl;
}

const char* GetName() const {
return m_name;
}

private:
const char *m_name;
};

int main(int argc, char *argv[]) {

Person *pers = new Person[3]{"name1","name2","name3"};

for (int i = 0; i < 3; ++i) {
std::cout << pers[i].GetName() << std::endl;
}

delete[] pers;
pers = nullptr;

return 0;
}
```

gcc 4.8.5 编译命令

```
g++ -std=c++11 test.cpp
```
Jul 4, 2019
Replied to a topic by rj2 Python 请教 pyqt5 获取 exe 中的图标
fromWinHBITMAP 在 Qt5 换名字了,这个函数还是有的,放在 WinExtras 里了。
----------------------------------
https://doc.qt.io/qt-5/qtwinextras-iconextractor-main-cpp.html
官方文档里有例子,不过是 C++写的,可以参考下。
Jul 3, 2019
Replied to a topic by yuptyy 职场话题 offer 比较, 29 岁了, 该怎么打算
这个 2、3 点下班,是凌晨了么?感觉这样熬下去身体受不了啊。
试试手气
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1048 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 23:05 · PVG 07:05 · LAX 16:05 · JFK 19:05
♥ Do have faith in what you're doing.