60 |
How to remove folders recursively
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 76368 | | 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 |
malloc_test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 75730 | | 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 ...
|
58 |
How to remove ^M from file
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 75552 | | 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".
|
57 |
cache test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 75332 | | Aug 10, 2011 |
.. cache test source code files.cache.zip
|
56 |
How to make soft AP on Windows7
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 74244 | | 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 |
[qt][android] hello_world_gui build log
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72938 | | 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...
|
54 |
[android][c] hello world project files
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72258 | | 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...
|
53 |
qmake.conf for msvc2008
1
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72130 | | 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...
|
52 |
HTTP Strict Transport Security for Chrome
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72129 | | Mar 07, 2014 |
http://dev.chromium.-org/sts
|
51 |
QDomNodeList foreach
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72127 | | 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] ...
|
50 |
[c++] integer casting test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72119 | | 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...
|
49 |
vdream and snoop30 build for ubuntu
1
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72107 | | 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...
|
48 |
gettimeofday function for windows
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72103 | | 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 |
windivert passthru problem
1
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72100 | | 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...
|
46 |
openssl alpn api
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72100 | | 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);
|
45 |
Fedora installation for Qt
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72097 | | 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 ...
|
44 |
android rooting sites
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72096 | | Sep 29, 2014 |
framaroot : http://framaroot.net-/ towerlroot : https://www.towelroo-t.com/
|
43 |
Class diagram
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72095 | | Oct 08, 2013 |
http://en.wikipedia.-org/wiki/Class_diagr-am
|
42 |
Enumeration type wrapping class in C++ (Days)
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72095 | | 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:
_...
|
41 |
[qt] spec_test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://www.gilgil.net/modules/point/icons/default/16.gif) gilgil | 72094 | | 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 ...
|