40 |
touch for windows
|
gilgil | 70901 | | Mar 15, 2014 |
touch.zip
|
39 |
[c++] console build log
|
gilgil | 70900 | | Dec 07, 2014 |
console_build_log_te-st.zip
msvc msvc2012 qt linux mingw msvc2012
|
38 |
[c++] explicit
|
gilgil | 70894 | | Dec 22, 2014 |
explicit http://en.cppreferen-ce.com/w/cpp/languag-e/explicit
explicit type conversion http://en.cppreferen-ce.com/w/cpp/languag-e/explicit_cast
|
37 |
vdream and snoop30 build for ubuntu
1
|
gilgil | 70893 | | Sep 25, 2014 |
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 en...
|
36 |
Enumeration type wrapping class in C++ (Days)
|
gilgil | 70889 | | 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:
_...
|
35 |
[c++] integer casting test
|
gilgil | 70884 | | Dec 21, 2014 |
Guess the result of the following code. [Code] #include <iostream>
#include <limits.h>
using namespace std;
int main()
{
{
char c1 = CHAR_MAX;
char c2 = (c1 + 1) / 2;
cout << c2 << endl;
}
{
short s1 = SHRT_MAX;
sh...
|
34 |
Of running multiple regexp at once
|
gilgil | 70884 | | Jan 01, 2015 |
http://fulmicoton.co-m/posts/multiregexp/-
|
33 |
[qt] spec_test
|
gilgil | 70883 | | Nov 04, 2014 |
[pro file] #------------------------------------------------- # # Project created by QtCreator 2014-11-03T12:20:34 # #------------------------------------------------- QT += core gui greaterThan(QT_MAJOR-_VERSION, 4): QT += widgets TARGET ...
|
32 |
QDomNodeList foreach
|
gilgil | 70882 | | Oct 23, 2013 |
[define] #define xml_foreach(node, list) \
int __i = 0; \
int __count = (list).count(); \
if (__count > 0) \
for (QDomNode node = (list).at(0); __i < __count; __i++, node = (list).at(__i)) [usage 1] ...
|
31 |
gui_option_test
|
gilgil | 70882 | | Apr 11, 2013 |
[gui_option_test.pro] contains(QT, gui) {
message (gui)
} else {
message (no_gui)
}
TARGET = gui_option_test
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += main.cpp
[main.cpp]...
|
30 |
[ubuntu] how to show volume control in root account
|
gilgil | 70881 | | Sep 26, 2014 |
Launch Startup Application. Add the following item. Name : Volume Control Command : /usr/bin/pulseaudio
|
29 |
[c++] g++ exception(divide by zero)
|
gilgil | 70878 | | Dec 25, 2014 |
http://www.network54-.com/Forum/613583/me-ssage/1364726793/Usi-ng+C%2B%2B+exception-+handling+to+catch+f-loating+point+divide-+by+zero.
|
28 |
VDream option for Qt pro file
|
gilgil | 70878 | | Feb 18, 2013 |
#------------------------------------------------- # Common #------------------------------------------------- CONFIG(release, debug|release) { DEFINES += _RELEASE D = "" } CONFIG(debug, debug|release) { DEFINES += _DEBUG D = "d" } LI...
|
27 |
windivert passthru problem
1
|
gilgil | 70877 | | Mar 26, 2014 |
[Test Case 1] While calling netdump command, I can see SYN/RST packets when I try to connect to 127.0.0.1:23. netdump "tcp.SrcPort==23 tcp.DstPort==23" While calling passthru command, I can not see...
|
26 |
[network] nfqueue
|
gilgil | 70867 | | Nov 08, 2014 |
Using NFQUEUE and libnetfilter_queue https://home.regit.o-rg/netfilter-en/using-nfqueue-and-libnetfilter_queue/
|
25 |
[etc] Markdown
|
gilgil | 70860 | | Nov 27, 2014 |
[Markdown Basics] https://help.github.-com/articles/markdow-n-basics/ [Online Markdown Editor] http://dillinger.io/-
|
24 |
How to use meta class in C++
|
gilgil | 70859 | | Oct 04, 2013 |
Thers is a base class named "Shape" that has a virtual function "draw()". class Shape
{
public:
virtual void draw() = 0;
}; Circle, Triangle, Rectangle and Pentagon classes are descendent classes of Shape class. ...
|
23 |
qmake.conf for msvc2008
1
|
gilgil | 70853 | | 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...
|
22 |
How to run chrome as root user in Ubuntu
|
gilgil | 70840 | | Oct 19, 2014 |
http://computernetwo-rkingnotes.com/ubunt-u-12-04-tips-and-tricks/how-to-run-chrome-as-root-user-in-ubuntu.html 1. gedit /opt/google/chrome/g-oogle-chrome 2. At the end of the file, add "--user-data-dir $HOME" exec -a "$0" "$HER...
|
21 |
openssl alpn api
|
gilgil | 70831 | | Mar 19, 2015 |
[ssl_lib.c] int SSL_CTX_set_alpn_pro-tos(SSL_CTX *ctx, const unsigned char* protos, unsigned protos_len); int SSL_set_alpn_protos(-SSL *ssl, const unsigned char *protos, unsigned protos_len);
|