180 |
Minimal WinMain Source Code
|
gilgil | 2 | | Mar 08, 2012 |
This article is secret
|
179 |
wireshark build on windows
|
gilgil | 67533 | | May 13, 2013 |
http://www.wireshark-.org/docs/wsdg_html_-chunked/ChSetupWin32-.html
|
178 |
Talk is cheap. Show me the code.
|
gilgil | 68941 | | Mar 22, 2013 |
https://lkml.org/lkm-l/2000/8/25/132
|
177 |
qt hello world example
|
gilgil | 69693 | | Nov 16, 2013 |
|
176 |
false_sharing_test
|
gilgil | 69816 | | Oct 23, 2013 |
[Source Code] #include <iostream>
#include <boost/date_time/posi-x_time/posix_time.hp-p>
#include <boost/thread.hpp>
void run(char* p, int size, int count)
{
boost::posix_time::p-time begTick(boost::posix-_time::microsec_cloc-...
|
175 |
pipe_test
|
gilgil | 69985 | | Feb 19, 2013 |
pipe_test(2013.02.19-)-2.zip
pipe_test(2013.02.19-).zip
|
174 |
Fedora installation for Qt
|
gilgil | 69995 | | Oct 23, 2013 |
Fedora installation Change display Change root login Security Update yum install gcc yum install gcc-c++ yum install make Install Qt(4.8.1) yum install libpng-compat ( for libpng12.so file ) yum install xterm ...
|
173 |
[Qt] QByteArray::setRawData (shallow copy or deep copy?)
1
|
gilgil | 70108 | | Feb 18, 2014 |
Is QByteArray::setRawDa-ta() , are bytes copied or not? I do now know very well the difference beteen test1() and test2() function listed below. :( [source] void test1(){ char buf[] = "abcde"; QBy...
|
172 |
[linux] copy stdout into clipboard
|
gilgil | 70178 | | Nov 30, 2014 |
http://stackoverflow-.com/questions/51309-68/how-can-i-copy-the-output-of-a-command-directly-into-my-clipboard Install xclip sudo apt-get install xclip All alias in bashrc # # clipboard # alias c='xclip -selection clipbo...
|
171 |
Network Headers
|
gilgil | 70200 | | Nov 03, 2013 |
http://www.troyjessu-p.com/headers/
|
170 |
qmake.conf for msvc2008
1
|
gilgil | 70228 | | Feb 12, 2013 |
# # qmake configuration for win32-msvc2008 # # Written for Microsoft Visual C++ 2008 # MAKEFILE_GENERATOR = MSVC.NET TEMPLATE = app CONFIG += qt warn_on release incremental flat link_prl prec...
|
169 |
HTTP Strict Transport Security for Chrome
|
gilgil | 70251 | | Mar 07, 2014 |
http://dev.chromium.-org/sts
|
168 |
Fedora installation for Qt
|
gilgil | 70298 | | Oct 05, 2013 |
Fedora installation Change display Change root login Security Update yum install gcc yum install gcc-c++ yum install make Install Qt(4.8.1) yum install libpng-compat ( for libpng12.so file ) yum install xterm ...
|
167 |
touch for windows
|
gilgil | 70329 | | Mar 15, 2014 |
touch.zip
|
166 |
linux installation guide for virtual machine
|
gilgil | 70330 | | Jan 19, 2013 |
os installation install ubuntu-14.04.1-desktop-amd64.iso basic setup enable root account #sudo passwd root > <current password> > <root password> > <root password again> add the following line at the end of c...
|
165 |
C++ unmnamed class
|
gilgil | 70330 | | Oct 23, 2013 |
class
{
public:
int no;
} obj;
int main()
{
obj.no = 5;
}
|
164 |
gettimeofday function for windows
|
gilgil | 70332 | | Feb 23, 2014 |
#include <windows.h>
int gettimeofday(struct timeval* tv, struct timezone* tz)
{
static LONGLONG birthunixhnsec = 116444736000000000; /*in units of 100 ns */
FILETIME systemtime;
GetSystemTimeAsFileT-ime(&sy...
|
163 |
[wireshark] running wireshark as root count warning message
|
gilgil | 70341 | | Nov 14, 2014 |
fix lua error: cd /usr/share/wireshark- nano init.lua line #29 change to: disable_lua = true
|
162 |
qdir_test for qt
|
gilgil | 70345 | | Oct 23, 2013 |
[Source Code] #include <QDir>
#include <QDebug>
void static_test()
{
qDebug() << "separator =" << QDir::separator();
qDebug() << "currentPath =" << QDir::currentPath();
qDebug() << "homePath =" << QDir::homePath();
qD...
|
161 |
Enumeration type wrapping class in C++ (Days)
|
gilgil | 70352 | | Sep 30, 2013 |
Here is a sample code of enumeration type wrapping class in C++. [Source Code] #include <stdio.h>
class Days
{
public:
enum _Days
{
Sunday,
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday
};
protected:
_...
|