Pages

Showing posts with label work. Show all posts
Showing posts with label work. Show all posts

Saturday, July 29, 2017

Diablo II Getting The Scrollwheel To Work In The Game FIX

Diablo II Getting The Scrollwheel To Work In The Game FIX


I was having a lot of fun playing in the 2014 Ladder Season in Diablo2, but ran across a problem where the scroll wheel of the mouse wasnt working in the game. For the skills/spells in D2, I prefer to assign the right side (right mouse button) skills to Function Keys, and then use the scrollwheel to quickly change/choose the skill I want to use at the time. At first, this didnt work in the game at all (it was like it wasnt detecting my mouses wheel), but I quickly figured out this easy fix to get it working in the game. Here is a short tutorial for it, with screenshots for each step:

Simply right-click the Shortcut for DiabloII on the desktop/background and choose Properties. 
(Click to see Full Size)

Then, just place checkmarks in the Checkboxes for (1) "Run this program in compatibility mode" under the Compatibility Mode category, and (2) "Run this program as an administrator" under the Privilege Level area, and click OK (there is no need to adjust what compatibility mode to use (what Service Pack version, etc.)).
(Click to see Full Size)

Then, in the game, hit Escape and choose to go into the Options Menu.
(Click to see Full Size)

In the Options area, go into the Configure Controls section.
(Click to see Full Size)

You should now find you can scroll this list up and down, if the game has properly detected your mouse/wheel. Go down to the "Select Previous/Next Skill" functions and you can now assign Mouse Wheel Up and Mouse Wheel Down to whichever direction you prefer to select your skills (click on one of the Key/Button categories in line with Select Previous/Next Skill, and then use the mouse wheel, spinning it up or down).
(Click to see Full Size)

Thats it! Now you can use your mouses scrollwheel to quickly choose the skill you want your character to use. 

[Although I was utilizing Windows7 at the time here, 
I have recently tested it in Windows 8.1 and it worked there as well] 

I hope that gets it working for you - and See You In The Game!


Read more »

Saturday, May 27, 2017

Disable Directory Listing in Apache on Ubuntu 14 04 but should work in other versions as well

Disable Directory Listing in Apache on Ubuntu 14 04 but should work in other versions as well


If you are a newbie to setting up a web server on Ubuntu by yourself, you might have encountered this as I do:

This is called Directory Listing in Apache server settings. And this is turned on by default.

To check if you have this problem, try to visit a directory in your apache server location with a browser, such as :  localhost/someFolder

If you see something similar to the above photo, you got this problem as well.

While it might not be a huge security problem to your site, it certainly makes you not comfortable, and it is also not a very pleasant experience for users to crash into your directory like this.

However, it is actually very easy to turn it off in Ubuntu, here is how.

1. Open Nautilus (Ubuntus default file explorer,) as root in terminal using this command:

    sudo nautilus

2. Then, navigate to /etc/apache2 

3. From there, you will find a file named :

   apache2.conf

4.  Open apache2.conf with your favorite text editor.

5. Find this line: ( there are actually two lines of these, ones under <Directory /var/www/>, and another one is under <Directory /srv/>, for now, we will work on the former one since thats where our website is in.)

    Options Indexes FollowSymLinks

6. Remove Indexes from this line, so that it will look like this

    Options FollowSymLinks

7. Save the file, open a terminal then restart apache.

    sudo service apache2 restart

And we are done, try to visit a directory under your web var/www in a browser, and you will get a 403 forbidden error.
Read more »