My laptop connects to the home wireless network successfully but a pop-up appears at the
system tray with the above title (windows xp). The problem here is because I had enabled
IEEE 802.1x but did not have a 802.1x (EAP) environment. The solution is very simple.
Select the corresponding wireless network in the laptop and on properties->authentication tab
disable this authentication. works like a charm!
This blog covers various topics from technical tweaks to latest in computational linguistics, Artificial Intelligence, Machine Learning and Wed Data Mining.
Tuesday, September 15, 2009
Saturday, July 11, 2009
basic authentication
If you want to provide basic authentication to a folder on your web server, do the following.
1. create a password file
htpasswd -c mypasswdfile username
Now enter a new password. If this file already exists then you do not need to create it by "-c".
Instead you can straight away add to the existing file a new username and a passwd.
2. Setting access.
cd to the folder that you want to protect and create a .htaccess file.
Add the following lines there.
AuthType Basic
AuthName authentication name
AuthUserFile location_of_the_mypasswd_file
AuthGroupFile ifany
Require specific_users can be given by user or set to valid-user
Thats all folks!
1. create a password file
htpasswd -c mypasswdfile username
Now enter a new password. If this file already exists then you do not need to create it by "-c".
Instead you can straight away add to the existing file a new username and a passwd.
2. Setting access.
cd to the folder that you want to protect and create a .htaccess file.
Add the following lines there.
AuthType Basic
AuthName authentication name
AuthUserFile location_of_the_mypasswd_file
AuthGroupFile ifany
Require specific_users can be given by user or set to valid-user
Thats all folks!
Sunday, June 28, 2009
firefox proxy
To connect to a remote computer and use it as a proxy do the following.
Open Tools->Options->Advanced->Network
SOCKS Host 127.0.0.1 Port 8080
select SOCKS v5
Now open a tunnel in Cygwin+Poderosa by
ssh -C2qTnN -D 8080 usernam@server
Alternatively, you can do the same using Putty.
For this set up a putty connection with details like host, auto login name etc.
Then load your private key to the server in the pagent.
Now to create the tunnel in putty,
Connection->SSH->Tunnels
In the source port type 8080
select Auto and Dynamic and hit Add.
This will add D8080
Now save those settings and open the connection.
Open Tools->Options->Advanced->Network
SOCKS Host 127.0.0.1 Port 8080
select SOCKS v5
Now open a tunnel in Cygwin+Poderosa by
ssh -C2qTnN -D 8080 usernam@server
Alternatively, you can do the same using Putty.
For this set up a putty connection with details like host, auto login name etc.
Then load your private key to the server in the pagent.
Now to create the tunnel in putty,
Connection->SSH->Tunnels
In the source port type 8080
select Auto and Dynamic and hit Add.
This will add D8080
Now save those settings and open the connection.
Sunday, June 21, 2009
Useful Links
http://www-nlp.stanford.edu/~mgalley/
Lexical Chains tool is available here.
Convert source code to pure HTML. Useful when pasting code on a blog.
http://pygments.org/
Lexical Chains tool is available here.
Convert source code to pure HTML. Useful when pasting code on a blog.
http://pygments.org/
Tuesday, May 5, 2009
Wednesday, April 29, 2009
feisty upgrade
Feisty is no longer supported, other than through old-releases
deb http://old-releases.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ feisty-security main restricted universe multiverse
Friday, December 19, 2008
installing caml on ubuntu
download source from
http://caml.inria.fr/download.en.html
Gzipped file. decompress using tar xzvf
do ./configure
test with make world and make opt
install by
sudo make install
#if you want to install/compile MEGA
edit WITHCLIBS variable in Makefile and set this to /usr/lib/ocaml/3.10.0/caml
(replace with your version of caml)
http://caml.inria.fr/download.en.html
Gzipped file. decompress using tar xzvf
do ./configure
test with make world and make opt
install by
sudo make install
#if you want to install/compile MEGA
edit WITHCLIBS variable in Makefile and set this to /usr/lib/ocaml/3.10.0/caml
(replace with your version of caml)
Subscribe to:
Posts (Atom)
Continuously monitor GPU usage
For nvidia GPUs do the follwing: nvidia-smi -l 1
-
If you used Adobe acrobat to annotate a PDF file and you had Acrobat crashed or had to restart the computer abruptly during the annotation p...
-
If you want to assign incremental ids to a list of words then you can define a defultdict as follows: wpids = defaultdict(lambda: len(wpi...
-
There is an excellent software to train/predict a range of ML algorithms including logistic regression with L1 or L2 regularization, pagasos...