40 |
openssl alpn api
|
gilgil | 71856 | | 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);
|
39 |
Fedora installation for Qt
|
gilgil | 71855 | | 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 ...
|
38 |
vdream and snoop30 build for ubuntu
1
|
gilgil | 71854 | | 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...
|
37 |
[c] libxml sample using sax
|
gilgil | 71849 | | Nov 14, 2014 |
http://stackoverflow-.com/questions/39599-87/requesting-complete-compilable-libxml2-sax-example
|
36 |
url_test for qt
|
gilgil | 71838 | | Oct 05, 2013 |
[Source] // ----------------------------------------------------------------------------
//
// VDream Component Suite version 8.0
//
// http://www.gilgil.ne-t
//
// Copyright (c) Gilbert Lee All rights reserved
//
// ------------------------...
|
35 |
How to run chrome as root user in Ubuntu
|
gilgil | 71832 | | 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...
|
34 |
How to use meta class in C++
|
gilgil | 71828 | | 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. ...
|
33 |
[qt] How to Use QThread in the Right Way
|
gilgil | 71827 | | Dec 31, 2014 |
http://blog.debao.me-/2013/08/how-to-use-qthread-in-the-right-way-part-1/ http://blog.debao.me-/2013/08/how-to-use-qthread-in-the-right-way-part-2/
|
32 |
touch for windows
|
gilgil | 71821 | | Mar 15, 2014 |
touch.zip
|
31 |
VDream option for Qt pro file
|
gilgil | 71821 | | Feb 18, 2013 |
#------------------------------------------------- # Common #------------------------------------------------- CONFIG(release, debug|release) { DEFINES += _RELEASE D = "" } CONFIG(debug, debug|release) { DEFINES += _DEBUG D = "d" } LI...
|
30 |
[c++] g++ exception(divide by zero)
|
gilgil | 71818 | | 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.
|
29 |
[c++] integer casting test
|
gilgil | 71817 | | 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...
|
|
20 issues of porting C++ code on the 64-bit platform
|
gilgil | 71808 | | Oct 23, 2013 |
http://www.viva64.co-m/en/a/0004/
|
27 |
network layer protocol constants
|
gilgil | 71800 | | Feb 21, 2013 |
[DataLink Type] : bpf.h #define DLT_NULL 0 /* BSD loopback encapsulation */
#define DLT_EN10MB 1 /* Ethernet (10Mb) */
#define DLT_EN3MB 2 /* Experimental Ethernet (3Mb) */
#define DLT_AX25 3 /* Amateur Radio ...
|
26 |
Of running multiple regexp at once
|
gilgil | 71799 | | Jan 01, 2015 |
http://fulmicoton.co-m/posts/multiregexp/-
|
25 |
qdir_test for qt
|
gilgil | 71794 | | 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...
|
24 |
gui_option_test
|
gilgil | 71790 | | 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]...
|
23 |
[network] nfqueue
|
gilgil | 71788 | | Nov 08, 2014 |
Using NFQUEUE and libnetfilter_queue https://home.regit.o-rg/netfilter-en/using-nfqueue-and-libnetfilter_queue/
|
22 |
C++ unmnamed class
|
gilgil | 71788 | | Oct 23, 2013 |
class
{
public:
int no;
} obj;
int main()
{
obj.no = 5;
}
|
21 |
[etc] Markdown
|
gilgil | 71782 | | Nov 27, 2014 |
[Markdown Basics] https://help.github.-com/articles/markdow-n-basics/ [Online Markdown Editor] http://dillinger.io/-
|