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”.
Take me hours to figure this crap out. Anyways, here’s the short story:
Open apache configuration file:
sudo nano /etc/apache2/apache2.conf
Scroll down to the
<Directory /var/www/>. Add
Options -Index and comment
Option Indexes FollowSymLinks like so:
# Options Indexes FollowSymLinks
Require all granted
That’s all you have to do to hide the directory list. Happy Programming! DX
sudo apt-get install apache2-mpm-prefork
sudo a2enmod userdir
sudo a2enmod expires
sudo /etc/init.d/apache2 restart
sudo service apache2 restart
sudo apt-get install mysql-server mysql-client
Create DB user in MySQL
CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';
CREATE DATABASE db_name;
GRANT ALL ON db_name.* TO 'username'@'localhost';
sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
sudo apt-get install libapache2-mod-php5
Remove directory and all the files/folders in it:
rm -rf <folder_name>
Copy a directory and all its contents:
cp -a /source/. /dest/
Stage only modified files and not untracked ones
git add -u
git commit -m 'your_message'
I haven’t been using Windows for too long that I really couldn’t retreive the admin password back to the brain. Since I have a dual boot system (Lubuntu & Win7 Ultimate), I thought I had to wipe everything and redo the whole setup again, but fortunately Linux system can actually be preserved. We only need to redo the Windows setup and reset Linux grub.
- Insert Windows Installtion disk
- Format the partition that is labelled Primary
- Install Windows on the Primary partition
After clean installing Windows, grub is gone from the startup and jump straight into Win7 system. To restore the option for choosing OS, we need to get the grub back.
Recover grub (Lubuntu 14.04)
- Insert Linux disk / usb and select the option “Try without installing Lubuntu”
- Alt + Shift + T to open terminal
sudo fdisk -l to display a list of partitions on the hard drive
sudo mount /dev/sdaX /mnt where X is the number labeled with Linux
sudo grub-install --root-directory=/mnt /dev/sda to install grub
*Note: if you get an error that say “Can’t find /dev/sdaX in /etc/fstab or /etc/mtab” from Step 4, you should double check to make sure that there are no whitespaces missing from the command.
Menu -> Preferences -> Monitor Settings