40 |
[ubuntu] how to show volume control in root account
|
gilgil | 70753 | | Sep 26, 2014 |
Launch Startup Application. Add the following item. Name : Volume Control Command : /usr/bin/pulseaudio
|
39 |
[c++] integer casting test
|
gilgil | 70751 | | 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...
|
38 |
[c++] explicit
|
gilgil | 70751 | | 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 |
[network] nfqueue
|
gilgil | 70749 | | Nov 08, 2014 |
Using NFQUEUE and libnetfilter_queue https://home.regit.o-rg/netfilter-en/using-nfqueue-and-libnetfilter_queue/
|
36 |
gui_option_test
|
gilgil | 70748 | | 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]...
|
35 |
[qt] spec_test
|
gilgil | 70744 | | 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 ...
|
34 |
[c++] console build log
|
gilgil | 70739 | | Dec 07, 2014 |
console_build_log_te-st.zip
msvc msvc2012 qt linux mingw msvc2012
|
33 |
vdream and snoop30 build for ubuntu
1
|
gilgil | 70735 | | 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...
|
32 |
[c++] g++ exception(divide by zero)
|
gilgil | 70734 | | 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.
|
31 |
Of running multiple regexp at once
|
gilgil | 70733 | | Jan 01, 2015 |
http://fulmicoton.co-m/posts/multiregexp/-
|
30 |
How to use meta class in C++
|
gilgil | 70732 | | 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. ...
|
29 |
url_test for qt
|
gilgil | 70730 | | Oct 05, 2013 |
[Source] // ----------------------------------------------------------------------------
//
// VDream Component Suite version 8.0
//
// http://www.gilgil.ne-t
//
// Copyright (c) Gilbert Lee All rights reserved
//
// ------------------------...
|
28 |
Enumeration type wrapping class in C++ (Days)
|
gilgil | 70729 | | 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:
_...
|
27 |
network layer protocol constants
|
gilgil | 70728 | | 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 |
How to run chrome as root user in Ubuntu
|
gilgil | 70722 | | 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...
|
25 |
[etc] Markdown
|
gilgil | 70719 | | Nov 27, 2014 |
[Markdown Basics] https://help.github.-com/articles/markdow-n-basics/ [Online Markdown Editor] http://dillinger.io/-
|
24 |
QDomNodeList foreach
|
gilgil | 70712 | | 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] ...
|
23 |
Fedora installation for Qt
|
gilgil | 70710 | | 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 ...
|
22 |
qdir_test for qt
|
gilgil | 70708 | | 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...
|
21 |
so_test
|
gilgil | 70708 | | Feb 22, 2013 |
so_test.zip
|