60 |
How to remove folders recursively
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 76577 | | 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://gilgil.net/modules/point/icons/default/16.gif) gilgil | 75936 | | 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://gilgil.net/modules/point/icons/default/16.gif) gilgil | 75769 | | 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://gilgil.net/modules/point/icons/default/16.gif) gilgil | 75536 | | 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://gilgil.net/modules/point/icons/default/16.gif) gilgil | 74479 | | 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://gilgil.net/modules/point/icons/default/16.gif) gilgil | 73366 | | 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 |
[regex] Of running multiple regexp at once
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72739 | | May 06, 2015 |
http://fulmicoton.co-m/posts/multiregexp/-
|
53 |
[cmake] How to change install prefix
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72728 | | Mar 31, 2015 |
cmake -DCMAKE_INSTALL_PREFI-X:PATH=/home/gilgil . && make all install cmake -DCMAKE_INSTALL_PREFI-X:PATH=$PWD/usr/local . && make all install
|
52 |
[linux] copy stdout into clipboard
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72710 | | Nov 30, 2014 |
http://stackoverflow-.com/questions/51309-68/how-can-i-copy-the-output-of-a-command-directly-into-my-clipboard Install xclip sudo apt-get install xclip All alias in bashrc # # clipboard # alias c='xclip -selection clipbo...
|
51 |
qmake.conf for msvc2008
1
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72682 | | 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...
|
50 |
touch for windows
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72679 | | Mar 15, 2014 |
touch.zip
|
49 |
[c] libxml sample using sax
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72676 | | Nov 14, 2014 |
http://stackoverflow-.com/questions/39599-87/requesting-complete-compilable-libxml2-sax-example
|
48 |
HTTP Strict Transport Security for Chrome
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72676 | | Mar 07, 2014 |
http://dev.chromium.-org/sts
|
47 |
gettimeofday function for windows
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72676 | | 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...
|
46 |
[qt] obj_qvariant_conversion_test
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72673 | | 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....
|
45 |
QDomNodeList foreach
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72671 | | 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] ...
|
44 |
[ubuntu] how to show volume control in root account
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72666 | | Sep 26, 2014 |
Launch Startup Application. Add the following item. Name : Volume Control Command : /usr/bin/pulseaudio
|
43 |
[c++] g++ exception(divide by zero)
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72666 | | 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.
|
42 |
VInt class header file
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72664 | | 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...
|
41 |
20 issues of porting C++ code on the 64-bit platform
|
![Point:23265point (7%), Level:16/30 [Level:16]](http://gilgil.net/modules/point/icons/default/16.gif) gilgil | 72661 | | Oct 23, 2013 |
http://www.viva64.co-m/en/a/0004/
|