Notes by voodoo
Displaying keyword search results 1 - 9
Created by voodoo on August 12, 2011 14:43:57
Last update: August 14, 2011 15:19:21
#include <stdio.h>
#include <stdlib.h>
i...
Created by voodoo on August 12, 2011 14:44:45
Last update: August 12, 2011 14:44:45
#include <fstream>
#include <iostream>
i...
Created by voodoo on August 12, 2011 13:32:13
Last update: August 12, 2011 13:32:13
To get rid of this compilation warning, add:
#include <stdlib.h>
Created by voodoo on August 12, 2011 12:47:50
Last update: August 12, 2011 13:03:00
Use fstream and seekg :
#include <iostream>
#include <fstream>
i...
With stat :
#include <iostream>
#include <sys/stat.h>
...
Created by voodoo on August 08, 2011 13:03:53
Last update: August 08, 2011 13:04:12
This error was caused my a missing include ( snprintf was defined in cstdio ). To fix, just add:
#include <cstdio>
Created by voodoo on January 20, 2011 13:17:25
Last update: January 20, 2011 13:18:36
The rsync include/exclude syntax seemed a bit funky. So here are some examples as a reminder.
On my remote server I have some log files: server*.log , boot*.log , and access*.log
I only want to bring the access*.log files over.
So I did:
rsync -ave "ssh -i ~/.ssh/identity -l remoteUser" ...
It brought everything over.
Then I changed to:
rsync -ave "ssh -i ~/.ssh/identity -l remoteUser" ...
It brought nothing over.
Finally, I tried (reverse the order of exclude and include):
rsync -ave "ssh -i ~/.ssh/identity -l remoteUser" ...
and that worked.
Created by voodoo on July 11, 2009 15:14:55
Last update: July 29, 2010 22:45:48
cURL is a command line tool for transferring files with URL syntax. The main purpose and use for cURL is to automate unattended file transfers or sequences of operations.
It's really easy to see HTTP headers with curl:
C:\>curl --head http://www.google.com
HTTP/1.0 ...
or, headers and page together (dump headers to stdout):
$ curl --dump-header - http://www.google.com HTTP/...
Download openssl from openssl.org:
curl http://www.openssl.org/source/openssl-0.9.6m....
C:\>curl --help
Usage: curl [options...] <url>
...
Created by voodoo on February 07, 2010 05:48:55
Last update: February 07, 2010 05:48:55
Error Message:
Error activating XKB configuration
Probably int...
Answer from RealVNC :
Hi,
VNC Free Edition 4.1.2 doesn't provide the XKB extension. The fact that
that causes parts of Gnome to crash or report errors seems to be a bug in
Gnome - X applications should not in general assume the presence of X
extensions unless they are incapable of operating without them.
Regards,
Wez @ RealVNC Ltd.
Created by voodoo on November 28, 2009 17:27:16
Last update: January 26, 2010 03:46:20
Nothing describes this utility better than the utility's authors:
This utility, which has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. These programs include ones in your startup folder, Run, RunOnce, and other Registry keys. You can configure Autoruns to show other locations, including Explorer shell extensions, toolbars, browser helper objects, Winlogon notifications, auto-start services, and much more. Autoruns goes way beyond the MSConfig utility bundled with Windows Me and XP.
http://technet.microsoft.com/en-us/sysinternals/bb963902.aspx