Communities

Total Articles 180
No.
Subject
Author
100 Change qmake.conf according to your MSVC 2008
[Level:16]gilgil
85161   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 file
[Level:16]gilgil
85020   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
[Level:16]gilgil
84838   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
[Level:16]gilgil
84736   Oct 17, 2011
/ ---------------------------------------------------------------------------- // Compiler Version // ---------------------------------------------------------------------------- /* __BORLANDC__ 0x0520 for C++Builder 1 0x0530 for C++Builder...  
96 Single precision floating-point format 1 file
[Level:16]gilgil
84076   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? file
[Level:16]gilgil
83968   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 file
[Level:16]gilgil
83873   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
[Level:16]gilgil
83717   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
[Level:16]gilgil
83352   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 file
[Level:16]gilgil
82649   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 [ubuntu] How to disable checksum offload
[Level:16]gilgil
82392   Oct 21, 2015
http://ubuntuforums.-org/showthread.php?t=2028534 sudo ethtool -K eth0 tx off rx off  
89 Virtual function call in constructor and destructor in C++ file
[Level:16]gilgil
82390   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...  
88 voidrealms
[Level:16]gilgil
81706   Nov 28, 2011
http://www.voidrealm-s.com/  
87 [linux] network configuration(change device name)
[Level:16]gilgil
80879   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
[Level:16]gilgil
80534   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 file
[Level:16]gilgil
80216   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? file
[Level:16]gilgil
80203   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 file
[Level:16]gilgil
80100   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 file
[Level:16]gilgil
79960   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
[Level:16]gilgil
79446   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  


XE Login