LAN messaging with XMPP protocol (jabber) to chat or to copy and paste links and texts in rdp sessions
Here is how I satisfied my need to have a LAN messaging program, not really to chat with other users on the same LAN, which I could do, but to copy and paste links or texts between a rdp client and a rdp server when copy and paste from/to clipboard does not work in rdp sessions, for instance with some Android rdp clients.
These are the programs I used:
- Openfire 3.9.3 on the "server" (which can be a simple Windows pc): a realtime collaboration server using XMPP/Jabber
- Miranda IM 0.10.23.0: a multi-protocol instant messaging client
- Xabber 0.9.30b: an Android Jabber client
Create a VPN to connect from an Android client to a home Windows XP server
If you want to connect to your home computer using rdp when you are not home and are connected to the internet, you have to open a port on your firewall; changing the standard rdp port on both your server and your firewall increases your security (or decreases your unsecurity); configuring a Virtual Private Network (VPN) increases your security even more, and you can close the rdp port on your firewall: in fact, when you connect your remote client to your vpn, your remote client comes inside your LAN so that you can remote access your server from inside the LAN.
- Configure server to create a VPN
- Configure router firewall for VPN passthrough
- Configure VPN on Windows clients
- Configure VPN on Android devices
.htaccess: an example of the Apache per-directory configuration file
Using bloxsom as my weblog designing application, I had to provide some settings to the Apache
.htaccess configuration file to fine-tune the usage of my site:
- tell Apache to load
index.cgiin addition to the default
- rewrite the requested address adding
www.if it's omitted
- rewrite the requested address adding
index.cgiif it's omitted
- and for bandwidth reduction, forbid robots from crawling some pages
How to force Firefox to open in a new tab a link that tries to open a new window
about:config in the address bar, read the warning and confirm.
Then change the value of
browser.link.open_newwindow.restriction to 0.
See mozillazine about:config FAQ for a detailed description of the variables and values.
With my LCD monitor, a LG 1718S, the characters appear too much narrow on the screen, especially using Excel sheets: I tried all OSD settings but the characters are so much thin that they're almost invisible. I got the best results setting the ClearType effect:
Control Panel, Display, Appearance, Effects, Use the following method to smooth edges of screen fonts: Clear Type
This way the characters appear a little fatter and they're better looking too.
Yes, I use light grey background color :)
I'll try to answer these questions:
- What is AMD Cool'n'Quiet?
- Does it really work?
Remove XP Pro or Win Server 2003 bandwidth limit
Run Group Policy (gpedit.msc) and go to Computer Configuration -> Administrative Templates -> Network -> QoS Packet Scheduler and change "Limit reservable bandwidth" to "Enabled" with a value of 0%. By default it appears disabled but read the description and you'll discovered it's enabled with a value of 20%.
Seeing MySQL queries, just like MS SQL Profiler
Just execute mysqld with the
-l[=filename] command-line option.
If filename is omitted, hostname.log will be created in the mysql data directory.
log=filename line (i.e. if you use WAMP).
Then restart mysqld.
Blosxom: How to insert a fixed path for images in Blosxom
I wrote some post on my new site created with Blosxom and I wanted to insert some images that I put in a directory called
images under my website address root.
I found different solutions:
WAMP & Perl - Windows Apache, MySQL, PHP with CGI scripts written in Perl
I need Perl to run Blosxom, an open source and free CGI script to create blogs.
So I installed WAMP5 1.6.4a and ActivePerl 22.214.171.1247 with MSI installer.
I already have my site on my disk, so I told my site directory to WAMP during the setup procedure and then I pointed my browser to http://localhost/index.cgi but it displayed the cgi instead of executing it.
This is what I did to make it work:
Running PHP scripts from command-line with WAMP (Windows Apache, MySQL, PHP)
On my old pc I installed Apache, MySQL and PHP singularly, and I made some PHP scripts to be runned from command-line, like this:
c:\php\php -f myscript.phpOn my new pc I installed WAMP5 1.6.4, all was running fine (phpMyAdmin, my local website, php scripts pointed to by the browser) but php scripts launched by command-line reported
Fatal error: Call to undefined function mysql_connect() in myscript.phpObviously I changed the php path to
c:\wamp\php\phpbut with no results.
Solution: change the command to
c:\wamp\php\php -c c:\wamp\apache2\bin -f myscript.phpThe -c option tells php to search php.ini in the directory specified, and that's needed because WAMP puts php.ini in Apache bin directory, while with a PHP regular installation php.ini is located in the php.exe directory.