The purpose of this post is to remove the annoying security warning while attach to process. PLEASE ALWAYS ATTACH!!
To remove the warning, all that needed to be done:
- Close all windows of Visual Studio 2013!! (the registry value won’t be set if it a window remains opened)
regedit (just type it in from Win menu)
- Set the following key to 1
- Restart computer
Hope this helps! Bye
The problem for me was when I installed resharper and opened it for the first time, I selected default to Resharper shortcut which I later found that I had to press
Ctrl + Shift + N to do the file search instead of traditional
Ctrl + T.
Below answer is retrieved from StackOverflow (Not the selected answer, but has most upvotes and works for my case)
- Go to Tools -> Options -> Environment -> Keyboard -> Press the (RESET) button
- Go to ReSharper – > Options -> Keyboard & Menus -> Select the “Visual Studio” scheme -> Press “Apply Scheme”
- Press “Save”
- Press “CTRL-T”. Since this shortcut is mapped in both VS and Resharper, you will be presented with the “Shortcut Conflict”-window. Here you select “Use ReSharper (Ultimate) command” and make sure to check the box “Apply to all ReSharper (Ultimate) shortscuts”.
Strategy Pattern (image source from Wikipedia):
I’m using Lubuntu 14.04 and I found that you will have to make sure “Power Manager” is running for the brightness fn-keys to work.
To start Power Manager, go to Menu > Preferences > Power Manager
Once this is started, you should be able to adjust screen brightness with fn-keys.
Alternatively, you can read off my other post on autostart power manager so you can adjust your screen brightness without going through all the manual-clicking.
First generate the key from the terminal:
Then, copy the key from the following command:
Finally, paste the key you have into the git service that you are using (I’m using bit bucket in this case). It should looks something like below:
This answer is taken from StackOverflow by the community wiki: http://stackoverflow.com/questions/5891802/how-do-i-change-the-root-directory-of-an-apache-server
Please note, that this only applies for Ubuntu 14.04 LTS and newer releases.
In my Ubuntu 14.04 LTS, the document root was set to
/var/www/html. It was configured in the following file:
So just do a
sudo nano /etc/apache2/sites-available/000-default.conf
and change the following line to what you want:
Also do a
sudo nano /etc/apache2/apache2.conf
and find this
Options Indexes FollowSymLinks
Require all granted
/var/www/html to your preferred directory
and save it.
After you saved your changes, just restart the apache2 webserver and you’ll be done 🙂
sudo service apache2 restart
If you prefer a graphical text editor, you can just replace the
sudo nano by a