60 |
How to remove folders recursively
|
gilgil | 75923 | | Aug 27, 2011 |
[Linux] find . -name .svn -exec rm -rf {} \; [Windows] for /d /r . %d in (.svn) do @if exist "%d" rd /s/q "%d" However, you can use my tool "rm_folder". http://www.gilgil.ne-t/9075
|
59 |
How to remove ^M from file
|
gilgil | 75174 | | Aug 29, 2011 |
In vi editor, do the following: :g/^M/s/// ^M has to be entered with the key strokes "ctrl-v followed by ctrl-m".
|
58 |
malloc_test
|
gilgil | 75133 | | Aug 15, 2011 |
[Source code] #include <list>
#include <stdlib.h>
#include <stdio.h>
void usage()
{
printf("malloc test made by gilgil\n");
printf("syntax : malloc_test <count> <size1> <size2> ... \n");
printf("example : malloc_test 10 ...
|
57 |
cache test
|
gilgil | 74948 | | Aug 10, 2011 |
.. cache test source code files.cache.zip
|
56 |
How to make soft AP on Windows7
|
gilgil | 73719 | | May 07, 2011 |
[install] netsh wlan set hostednetwork mode=allow "ssid=gilgil" "key=1234567890" keyUsage=persistent [uninstall] netsh wlan set hostednetwork mode=disallow [start] netsh wlan start hostednetwork [stop] netsh ...
|
55 |
[android][c] hello world project files
|
gilgil | 71587 | | Nov 01, 2014 |
[Makefile] _ANDROID_ARCH=arch-arm
_ANDROID_API=android-9
_ANDROID_EABI=arm-linux-androideabi-4.8
ANDROID_NDK_ROOT=/android/ndk
ANDROID_SDK_ROOT=/android/adt/sdk
ANDROID_SYSROOT=$ANDROID_NDK_ROOT/pl-atf...
|
54 |
[qt] obj_qvariant_conversion_test
|
gilgil | 71044 | | Dec 22, 2014 |
obj_qvariant_convers-ion_test.tar.gz obj_qvariant_convers-ion_test(2014.12.22 2143).tar.gz
V_QVARIANT_CONVERSIO-N(TYPE) and V_TYPE_CONVERSION(TY-PE, NEWTYPE, MEMBER) added. obj_qvariant_convers-ion_test(2014....
|
53 |
VInt class header file
|
gilgil | 70644 | | Apr 17, 2012 |
When you 1. use C++ STL library(list, vector, map, and so on). 2. make your own template library 3. use their objects as global or static you want to know when the object is created, accessed, deleted...
|
52 |
|
qt static build
1
|
gilgil | 70629 | | Nov 27, 2013 |
[Environment] Microsoft Windows 7 Microsoft Visual Studio 2012 64bit compiler(or 32bit compiler) Qt 5.1.1 [Required] Download and install ActivePerl (version 5.16.3 or higher) and check system path ...
|
51 |
[qt][android] hello_world_gui build log
|
gilgil | 70232 | | Oct 26, 2014 |
[ubuntu debug] 00:35:10: Running steps for project hello_world_gui... 00:35:10: Starting: "/opt/Qt/5.3/gcc_64/b-in/qmake" /root/temp/qt/hello_-world_gui/hello_worl-d_gui.pro -r -spec linux-g++ CONFIG+=debug 00:35:10: The p...
|
50 |
[regex] Of running multiple regexp at once
|
gilgil | 69868 | | May 06, 2015 |
http://fulmicoton.co-m/posts/multiregexp/-
|
49 |
[qt] spec_test
|
gilgil | 69822 | | 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 ...
|
48 |
gettimeofday function for windows
|
gilgil | 69807 | | 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...
|
47 |
qdir_test for qt
|
gilgil | 69797 | | 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...
|
46 |
How to run chrome as root user in Ubuntu
|
gilgil | 69783 | | 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...
|
45 |
url_test for qt
|
gilgil | 69772 | | Oct 05, 2013 |
[Source] // ----------------------------------------------------------------------------
//
// VDream Component Suite version 8.0
//
// http://www.gilgil.ne-t
//
// Copyright (c) Gilbert Lee All rights reserved
//
// ------------------------...
|
44 |
QDomNodeList foreach
|
gilgil | 69765 | | 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] ...
|
43 |
gui_option_test
|
gilgil | 69762 | | 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]...
|
42 |
20 issues of porting C++ code on the 64-bit platform
|
gilgil | 69751 | | Oct 23, 2013 |
http://www.viva64.co-m/en/a/0004/
|
41 |
Enumeration type wrapping class in C++ (Days)
|
gilgil | 69745 | | 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:
_...
|