Notes by voodoo
Displaying notes 91 - 100
Created by voodoo on September 21, 2010 03:51:14
Last update: September 21, 2010 03:51:14
Update:
I followed the advice from CamStudio Support Forum and selected Stereo Mix . That fixed the no-audio problem!
Double click Speaker icon in System Tray > Options > Properties > Adjust Volume For Recording > Select Stereo Mix, Mono Mix, What-U-Hear, etc.
Created by voodoo on September 21, 2010 03:12:52
Last update: September 21, 2010 03:13:58
Select "Capture AVI..." from File menu
Set capture file
Change size of captured frame
Update screen capture settings
Start capture
Note: I wasn't able to capture sound from speaker!
Created by voodoo on September 18, 2010 20:56:22
Last update: September 18, 2010 20:57:25
The screen resolution of my laptop is less than that of the remote computer I'm accessing with vnc viewer. I'm not able to see the whole screen and I have to scroll a lot. TightVNC viewer offers the ability to scale the remote desktop size to fit my local screen.
RealVNC viewer (free edition) doesn't seem to have this feature.
Created by voodoo on July 01, 2010 18:54:08
Last update: August 31, 2010 22:40:41
Problem: cannot connect to PostgreSQL server because of above error.
Solution: add the host entries to the /usr/local/pgsql/data/pg_hba.conf file:
# TYPE DATABASE USER CIDR-ADDRESS ...
Reference for CIDR address: http://oav.net/mirrors/cidr.html
Created by voodoo on August 31, 2010 15:36:55
Last update: August 31, 2010 15:38:24
This works for OpenSSH .
Steps:
Start SSH tunnel:
ssh -D 8088 user@remote.host.running.sshd
Set socks proxy to "localhost:8088" in your browser.
Result:
Communication link between your computer and the remote host running sshd is encrypted.
Why?
You might want to do this when you are on a untrusted network, e.g., accessing your Yahoo! mail via wifi at Starbucks or a hotel.
Created by voodoo on August 12, 2010 22:50:41
Last update: August 12, 2010 22:50:41
To see if the current user has execute permission on crypt :
select has_function_privilege('crypt(text, tex...
Created by voodoo on August 12, 2010 22:46:28
Last update: August 12, 2010 22:46:28
To display information about the function crypt :
select * from pg_proc where proname = 'crypt';
...
Created by voodoo on July 30, 2010 14:53:33
Last update: July 30, 2010 14:54:52
The -d switch for cURL sends HTTP POST with data from the command line. To verify the data being posted, this is a CGI script that echos the data back:
#!C:/perl/bin/perl.exe ## ## echo -- echos ... Examples: POST data from command line: C:\>curl -d input1=value1^&input1=value2 http://lo... POST data from stdin (with @ before the - symbol): C:\>curl -d @- http://localhost/cgi-bin/echo.pl ... POST data from a file (with @ before the - symbol and input redirect): C:\tmp>cat data.txt abcd 1234 xyz ... For some reason, @ with file name didn't work as expected: C:\tmp>curl -d @data.txt http://localhost/cgi-bin/... One thing to notice is that cURL removes the new line characters when posting (thus the echo back is only one line instead of three). This can...
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 July 22, 2010 17:00:54
Last update: July 22, 2010 17:01:44
Use:
yum install gcc-c++
" yum install g++ " does not work.