160 |
openssl alpn api
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72650 | | 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);
|
159 |
Class diagram
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72653 | | Oct 08, 2013 |
http://en.wikipedia.-org/wiki/Class_diagr-am
|
158 |
vdream and snoop30 build for ubuntu
1
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72655 | | 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...
|
157 |
[etc] Markdown
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72656 | | Nov 27, 2014 |
[Markdown Basics] https://help.github.-com/articles/markdow-n-basics/ [Online Markdown Editor] http://dillinger.io/-
|
156 |
[c] snprintf test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72657 | | Oct 29, 2014 |
[code] #include <stdio.h>
#include <string.h>
static const int BUFSIZE = 4;
void dump(char* p, int size)
{
for (int i = 0; i < size; i++)
{
unsigned char ch = *p;
printf("%02X ", ch);
p++;
}
printf("\n");
}
int main()...
|
155 |
Enumeration type wrapping class in C++ (Days)
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72659 | | 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:
_...
|
154 |
How to run chrome as root user in Ubuntu
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72659 | | 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...
|
153 |
gui_option_test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72661 | | 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]...
|
152 |
Of running multiple regexp at once
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72661 | | Jan 01, 2015 |
http://fulmicoton.co-m/posts/multiregexp/-
|
151 |
[c++] integer casting test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72665 | | 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...
|
150 |
[network] nfqueue
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72666 | | Nov 08, 2014 |
Using NFQUEUE and libnetfilter_queue https://home.regit.o-rg/netfilter-en/using-nfqueue-and-libnetfilter_queue/
|
149 |
network layer protocol constants
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72671 | | 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 ...
|
148 |
[qt][android] openssl for android
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72671 | | Oct 26, 2014 |
http://wiki.openssl.-org/index.php/Androi-d 1. .bashrc 파일을 다음과 같이 설정한다. # # for android # export _ANDROID_ARCH=arch-arm export _ANDROID_EABI=arm-linux-androideabi-4.8 export _ANDROID_API=n...
|
147 |
[qt] How to Use QThread in the Right Way
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72686 | | 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/
|
146 |
[c++] console build log
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72687 | | Dec 07, 2014 |
console_build_log_te-st.zip
msvc msvc2012 qt linux mingw msvc2012
|
145 |
HTTP Strict Transport Security for Chrome
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72688 | | Mar 07, 2014 |
http://dev.chromium.-org/sts
|
144 |
How to use meta class in C++
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72696 | | 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. ...
|
143 |
QDomNodeList foreach
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72696 | | 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] ...
|
142 |
[wireshark] running wireshark as root count warning message
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72699 | | Nov 14, 2014 |
fix lua error: cd /usr/share/wireshark- nano init.lua line #29 change to: disable_lua = true
|
141 |
gettimeofday function for windows
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72703 | | 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...
|