100 |
Change qmake.conf according to your MSVC 2008
|
gilgil | 85160 | | Nov 21, 2011 |
[location] C:\QtSDK\Desktop\Qt\4.7.4\msvc2008\mkspecs\win32-msvc2008\qmake.conf C:\Qt\4.7.4\mkspecs\win32-msvc2008\qmake.conf [changed] QMAKE_CC = cl QMAKE_LEX = flex QMAKE_LEXFLAGS = QMAKE_YACC = byacc QMA...
|
99 |
Write floating point variable information with sign, exponent and significand.
1
|
gilgil | 85014 | | Jul 26, 2011 |
[Source Code] #include <iostream>
#include <string>
typedef unsigned int uint32;
std::string tobin(int significand)
{
std::string res = (significand == 0) ? "1" : "1.";
int mask = 0x00400000;
while (significand ...
|
98 |
[ssl] How to install root certificate
|
gilgil | 84826 | | Aug 05, 2015 |
sudo mkdir /usr/share/ca-certificates/extra sudo cp root.crt /usr/share/ca-certificates/extra sudo dpkg-reconfigure ca-certificates
|
97 |
Compiler Directive
|
gilgil | 84734 | | Oct 17, 2011 |
/ ---------------------------------------------------------------------------- // Compiler Version // ---------------------------------------------------------------------------- /* __BORLANDC__ 0x0520 for C++Builder 1 0x0530 for C++Builder...
|
96 |
Single precision floating-point format
1
|
gilgil | 84074 | | Nov 08, 2011 |
[Source] //
// Single precision floating-point format
//
// http://en.wikipedia.-org/wiki/Single_prec-ision_floating-point_format
//
// ---------+------------------+-------------------------+--------------------------------------------------...
|
95 |
Does getsockname API return its correct local IP address during TCP connecting state?
|
gilgil | 83966 | | Apr 14, 2010 |
[Question] 1. Bind remote IP and remote Port(do not bind local IP and local Port) on TCP client socket handle. 2. Call "connect" API. 3. On the other thread after "connect" API is called,...
|
94 |
make -t
|
gilgil | 83872 | | Sep 23, 2011 |
$ g++ --version g++.exe (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANT...
|
93 |
[linux] remote packet capture
|
gilgil | 83708 | | Aug 15, 2016 |
sshpass -p toor ssh -l root 10.1.1.12 tcpdump -nn -U -s0 -w - -i tap0 'not port 22' | wireshark -k -i - http://stackoverflow-.com/questions/19597-903/how-to-capture-remote-system-network-traffic
|
92 |
[network] libnl example
|
gilgil | 83350 | | Nov 14, 2014 |
http://src.carnivore-.it/users/common/nla-ddrs/tree/nladdrs.c
|
91 |
The difference between global and static objects in run time
|
gilgil | 82647 | | Apr 21, 2010 |
I do not know the difference between global and static objects execution so far. They differ a little in run time. [Code] class Object
{
public:
char* name;
Object(char* name) { printf("Obje...
|
90 |
Virtual function call in constructor and destructor in C++
|
gilgil | 82386 | | Mar 13, 2010 |
See the following source code. Constructor, destructor and foo function contain the same codes. { foo(); // general function v_foo(); // virtual function } But they produce a little different assembly...
|
89 |
[ubuntu] How to disable checksum offload
|
gilgil | 82374 | | Oct 21, 2015 |
http://ubuntuforums.-org/showthread.php?t=2028534 sudo ethtool -K eth0 tx off rx off
|
88 |
voidrealms
|
gilgil | 81704 | | Nov 28, 2011 |
http://www.voidrealm-s.com/
|
87 |
[linux] network configuration(change device name)
|
gilgil | 80865 | | Dec 01, 2016 |
You can change the device name by defining the name manually with an udev-rule. For example: /etc/udev/rules.d/10--network.rulesSUBSYST-EM=="net", ACTION=="add", ATTR{address}=="aa:bb:cc:dd:ee:ff&qu-ot;, NAME="net1"...
|
86 |
[qt] How to run qmake in command line
|
gilgil | 80522 | | Sep 16, 2015 |
cd /usr/lib/x86_64-linux-gnu/qtchooser sudo touch default.conf sudo gedit default.conf /opt/Qt/5.7/gcc_64/b-in /opt/Qt/5.7/gcc_64/l-ib
|
85 |
[qt] .gitignore file for Qt
|
gilgil | 80204 | | Feb 22, 2016 |
[How to create .ignore file for qt] Qt Creator - File - New - Non Qt Project - Plain C++ Application - Add to version control(Git) # This file is used to ignore files which are generated...
|
84 |
How many instances of template static member exist?
|
gilgil | 80196 | | Mar 07, 2010 |
[Question]
How many instances of template static member exist? Guess the result of the following code.
(1) 3 3 3 (2) 1 2 3
#include <stdio.h>
template <class T>
class TemplateObject
{
public:
stati...
|
83 |
Wireshark 802.11 Display Filter Field Reference
|
gilgil | 80083 | | Nov 22, 2016 |
http://www.willhackf-orsushi.com/papers/8-0211_Pocket_Referenc-e_Guide.pdf 80211_Pocket_Referen-ce_Guide.pdf
|
82 |
boost library link test in mingw
|
gilgil | 79956 | | Oct 14, 2011 |
[mingw version] [g++ version] $ g++ --version g++.exe (GCC) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warran...
|
81 |
[network] how to change ip for web proxy
|
gilgil | 79435 | | Dec 02, 2016 |
sudo iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination 10.1.1.2:8080 sudo iptables -t nat -A OUTPUT -p tcp --dport 443 -j DNAT --to-destination 10.1.1.2:4433
|