WampServer Remotely Access phpMyAdmin I know that there are scads of articles on the web regarding remotely accessing phpMyAdmin, but none of the articles I see have worked (not even ).  I would like to configure Apache to allow access to phpMyAdmin when it comes from certain IP addresses. I know that I can set it up to allow worldwide access, but that is just asking for problems.  Here is my phpmyadmin.conf file located in /alias/:  Alias /phpmyadmin "&lt;wamp_installation_root&gt;/apps/phpmyadmin3.3.9/"   # to give access to phpmyadmin from outside  # replace the lines # #        Order Deny,Allow #   Deny from all #   Allow from 127.0.0.1     &lt;-- Good idea # # by # #        Order Allow,Deny  #   Allow from all           &lt;-- IMO, really bad idea #  &lt;Directory "C:/Web Development/wamp/apps/phpmyadmin3.3.9/"&gt;     Options Indexes FollowSymLinks MultiViews     AllowOverride all     Order Deny,Allow     Allow from 127.0.0.1     Allow from &lt;my_public_static_IP_address_also_address_of_server&gt;     Deny from all &lt;/Directory&gt;   I try to access phpMyAdmin from a domain that I set up from No-Ip.com. The domain is configured to route to my development machine like so:   Make the request: example.no-ip.org:256/phpmyadmin Forwarded to: &lt;my_public_static_IP_address&gt;:256/phpmyadmin Router receives the request public request and forwards it to: &lt;internal_IP_address&gt;:80/phpmyadmin   In the end, I get a 403 Forbidden error. My server is configured for access online, as going to example.no-ip.org:256 will take you to my homepage (well, if that were actually my domain :D).  Again, just to be clear, the computer I am making the request from is also the Apache server.  Any ideas on what may be causing this?
Why not use a WAMP stack? This is a  about  the use of a *AMPP's stack.    I recently had a talk with some experienced people and they suggested to me not to use a WAMP stack, and instead install apache, mysql and php separately.  I don't understand why they have suggested this, though, so can anyone tell me?  Is there a particular disadvantage of WAMP, or a particular advantage to installing all of them separately?  Since a WAMP stack itself is composed of apache, mysql and php, then what's the difference between using the WAMP stack and installing them all separately?
Let us say we have the following Makefile  include config.mk  # Generate summary table. results.txt : $(ZIPF_SRC) isles.dat abyss.dat last.dat     $(ZIPF_EXE) *.dat &gt; $@  # Count words. .PHONY : dats dats : isles.dat abyss.dat last.dat  %.dat : books/%.txt $(COUNT_SRC)     $(COUNT_EXE) $&lt; $*.dat  .PHONY : clean clean :     rm -f *.dat     rm -f results.txt   where all the variables are defined in config.mk  LANGUAGE=python COUNT_SRC=countwords.py COUNT_EXE=$(LANGUAGE) $(COUNT_SRC) ZIPF_SRC=testzipf.py ZIPF_EXE=$(LANGUAGE) $(ZIPF_SRC)   Is there any tool available that can expand all the include lines within the makefile so as to produce a bigMakefile? If such a tool does not currently exist, can a python/perl/awk/bash script be cooked up to achieve this goal? Making Ctrl+C copy text in gnome-terminal? Is it possible for me to make Ctrl+C perform a copy command if there is highlighted text in the terminal? Otherwise, it should retain its normal behavior.  (If there is a terminal that can do this other than gnome-terminal, that's probably fine too.) If $\mathfrak p \subset R$ is a prime ideal, prove that for every nilpotent $r \in R$ it follows that $r \in \mathfrak p$.   The only hint that my tutor gave me was to use induction. Can someone explain what he means by this?  Thanks for the help! Difference between Inheritance and Composition What are weapon damage dice? Following discussion , what constitutes a weapon damage die?  Is it any damage die dealt by the weapon? For example, consider a  longsword.     While the sword is ablaze, it deals an extra 2d6 fire damage to any target it hits.   What are the weapon damage dice? Just the 1d8 from the longsword? Or do the 2d6 Fire damage also count? How does deleting work? What can cause a post to be deleted, and what does that actually mean? What are the criteria for deletion? What circumstances can cause a question or answer to be deleted, and what does that actually mean?    How can a post be deleted? When can't I delete my own post? Can I still see my post even after it's deleted? Can I see a list of my deleted posts? How can I undelete one of my posts? What does deletion mean for a post? How do votes to delete work? What are the criteria for deletion? What else should I know about deleted posts? If I flag my question with a request to delete it, what will happen?       For more information, see the articles about  and  in the . How to find collisions in a hash function knowing its coefficent? Say I have a simple hash function where $x$ is a sequence of integers:  $$h(x)=(a_1\cdot x_1+...+ a_n\cdot x_n) \bmod N=\sum_i a_i\cdot x_i \bmod N$$  where $a_1,a_2,a_3,...,a_n$ is the coefficient known to the attacker, size of $x$ can be anything smaller than $N$.   How to find 2 different inputs that hashes to the same value, i.e $0$?  I feel like this has something to do with linear combination / euclid algorithm but I'm not sure how to proceed. On my Toshiba Encore 8 Tablet I noticed that the CPU usage is very high. In Taskmgr / ProcessExplorer, I can see that OneDriveSetup.exe is hogging 1 CPU cores heavily for hours.    How an I solve this hang and finish the OneDrive Update? $$  \lim_{n\to\infty} n^{1/2} \int_{0}^{1} \frac{1}{(1+x^2)^n}\mathrm{d}x=0 $$  Is my answer correct? But I am not sure of method by which I have done. How can I execute a terminal command (like grep) from my Objective-C Cocoa application? I'm using Android 4.4.2 (on ). I've a Windows PC at home which has highspeed broadband internet connection. I don't have wireless router or access point. I just want to use PC's internet connection on my phone. I've tried multiple methods but none seems to work.  Method 1: Using native Android 4.4.2 option  In my phone when I connect my phone, in Settings &gt; Wireless &amp; networks &gt; USB Internet (sharing Windows PC internet via USB cable) checkbox, which I checked then it asked me to choose my Windows version (which is Windows 8.1 but since it didn't show that option) I chose Windows 8.  It gives me further instructions as showing in the following picture:    Here is the problem, there is no sharing tab (see the following screen shot)   Method 2: As described in   I learned on this site that it is called Reverse tethering. I read and followed the procedure mentioned in    I followed all the steps described in that answer, until executing the command.   Install USB drivers from Android SDK [DONE] Connect USB cable and activate USB Tethering (You should see on a new network interface.) [DONE] Bridge the 2 network interfaces [DONE] On your computer execute adb shell netcfg usb0 dhcp [PROBLEM]   When I execute adb shell netcfg usb0 dhcp it says: error: device not found. I tried the same thing with USB Debugging in Developer settings, ON &amp; OFF. The error remains the same.  Method 3: Rooting the device and using an app  I read here and there that there is another method, in which we can directly use an app but it requires rooting the device. My phone is a new phone and warranty becomes void if I root it.   EDIT: I've tried the method suggested in answer, at the 4th step of method 2, I'm facing this problem: I am trying to auto-mount my NFS drives, but it doesn't work too well sadly.  What does work is mounting from CLI:  me@client:/$ sudo mount 192.168.178.4:/mountdir /mnt/mountdir me@client:/$ mount -t nfs 192.168.178.4:/mountdir on /mnt/mountdir type nfs (rw,addr=192.168.178.4)   when I try to add mountdir in the fstab, I cannot mount it due to "protocol not supported" (which seems strange as I can mount it)  $ sudo mount films_d3 mount.nfs: Protocol not supported   So there might be something wrong with my fstab entry. This is my current entry:  192.168.178.4:/mountdir /mnt/mountdir  nfs auto,_netdev,noatime,nolock,bg,nfsvers=4,intr,tcp,actimeo=1800 0 0   During startup I also get this error twice: I was trying to fix the mount-from-fstab first, then worry about that, but nevertheless this might be a different problem:  init: idmapd-mounting (/mnt/kazemat/films_d3) main process (445) killed by TERM signal   This seems to be before the eth0 is initialised, while I thought the "_netdev" option would make the entry wait for the network to be up?  can anywone see the mistake in my fstab entry? What is the difference between find . and /home/user/* as an input to for command.? For example:  for var in $(find .) do echo "$var" done   or  for var in /home/user/* do echo "$var" done   In the first case for command breaks up the file with names containing spaces. While in the second case it does not. Why? How do I use the Chinese remainder theorem to find all the square roots of 11 in $\mathbb Z_{35}$? Unable to correctly install pip3 using apt-get I am using Ubuntu 16.04, and was experiencing issues with my pip3. Specifically, when I attempted to uninstall a package via  sudo pip3 uninstall   I encountered   Traceback (most recent call last):   File "/usr/bin/pip3", line 9, in &lt;module&gt;     from pip import main ImportError: cannot import name 'main'   I attempted to resolve this issue by reinstalling pip3, specifically   sudo python3 -m pip uninstall pip &amp;&amp; sudo apt install python3-pip --reinstall   which succeeded. However, I no longer have a local version of pip3 at all  bash: /home/kurt/.local/bin/pip3: No such file or directory   Using which pip3 in a new terminal I find,  $ which pip3 /usr/bin/pip3   and attempting to use pip3 at all brings me  $ pip3 Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 33, in vendored     __import__(vendored_name, globals(), locals(), level=0) ImportError: No module named 'pip._vendor.pkg_resources'  During handling of the above exception, another exception occurred:  Traceback (most recent call last): File "/usr/bin/pip3", line 9, in &lt;module&gt;     from pip import main File "/usr/lib/python3/dist-packages/pip/__init__.py", line 13, in &lt;module&gt;     from pip.exceptions import InstallationError, CommandError, PipError File "/usr/lib/python3/dist-packages/pip/exceptions.py", line 6, in &lt;module&gt;     from pip._vendor.six import iteritems File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 75, in &lt;module&gt;     vendored("pkg_resources") File "/usr/lib/python3/dist-packages/pip/_vendor/__init__.py", line 36, in vendored     __import__(modulename, globals(), locals(), level=0) File "&lt;frozen importlib._bootstrap&gt;", line 969, in _find_and_load File "&lt;frozen importlib._bootstrap&gt;", line 958, in _find_and_load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 664, in _load_unlocked File "&lt;frozen importlib._bootstrap&gt;", line 634, in _load_backward_compatible File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2927, in &lt;module&gt; File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2913, in _call_aside File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2952, in _initialize_master_working_set File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 956, in subscribe File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2952, in &lt;lambda&gt; File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2515, in activate File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2097, in declare_namespace File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2047, in _handle_ns File "/usr/share/python-wheels/pkg_resources-0.0.0-py2.py3-none-any.whl/pkg_resources/__init__.py", line 2066, in _rebuild_mod_path AttributeError: '_NamespacePath' object has no attribute 'sort'   However, I am able to execute without incident when typing sudo -H pip3 -v. Reinstalling pip3 from apt, e.g.  sudo apt-get install python3-pip --reinstall   has no effect. If anyone has any insight, or has encountered a similar problem, I would greatly appreciate any input on how to approach this problem. Additional horizontal space when the last line of an environment is full I have created an environment env which just adds a \medskip and some text (say "Blablabla") after the text inside \begin{env} ... \end{env}. The problem is that if the last line is full, then I get an additional horizontal space between the text and "Blablabla".  Here is an MWE:  \documentclass{article} \newenvironment{env}{ ENVIRONMENT:\par }{ \medskip \par\noindent Blablabla }  \begin{document}  \section*{First case: the last line is not full}  \begin{env} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla malesuada porta tortor non vestibulum. Vivamus vel tincidunt purus. Curabitur quam arcu, suscipit sed diam sed, ornare efficitur felis. Duis at arcu iaculis, viverra ligula sit amet, hendrerit eros. Proin finibus venenatis sollicitudin. Nunc ullamcorper sem ut lacinia posuere. Integer pulvinar nulla lorem, ut pulvinar ipsum egestas at. Duis quam ipsum, posuere ac pulvinar vitae, auctor non leo. \end{env}  \section*{Seconde case: the last line is full}  \begin{env} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque suscipit vitae neque eu gravida. Quisque et enim quam. Integer elementum diam a ex laoreet, ac egestas lacus volutpat. Nunc ullamcorper non urna tincidunt ultrices. Etiam eu ultricies diam. Proin mollis, nunc sit amet volutpat varius, ipsum tellus bibendum nulla, in eleifend lacus felis pellentesque nisl. Phasellus laoreet, libero quis auctor congue, nulla nulla aliquam metus, in hendrerit arcu justo quis tortor. Nunc nec nisi euismod, consectetur tellus nec, suscipit libero.  \end{env}  \end{document} Almost every time I turn my XBox on and start up Fallout 4, I am unable to use the "Continue" option because the most recent save is corrupt.  I instead use the "Load" option. Here, I can see that the last save I manually performed is perfectly fine, and load it with no problem. However, there is an additional, corrupt save with the same time stamp immediately after it.  This doesn't happen quite every time, but often enough that I'm surprised when there's no corrupt save waiting for me to delete it.  I've tried a few things to solve this, including exiting to the game's main menu before turning the XBox off, going out to the guide before turning the XBox off, turning it off immediately after saving, and waiting a while after saving.  Why do I get all these corrupt saves? Do others have this problem? How do I fix it? If we multiply 2 number and take the mod with prime this is equivalent to first taking mod with the prime of individual number and then multiplying the result and again taking mod.  $$ ab\bmod p = ((a\bmod p)(b\bmod p))\bmod p$$  does there exist any proof for this?  Does it work for composite moduli too? Then I can use the Chinese remainder Theorem to calculate the result does there any other way apart from Chinese remainder Theorem to solve the problem? Are there good alternatives to "making the best of a bad situation?" Life is full of adversity, and people facing challenging life circumstances have to find a way to cope. I'm interested in single words, phrases, or idioms that capture coping strategies. For example:     Jane's job was absurdly repetitive and oppressive, but for her family, she tried to make the best of a bad situation.   Are there good alternatives to the coping strategy of making the best of bad situation?   Clarification: I am looking for alternatives, especially idioms, that don't involve words like good and bad. "a ten years old boy" or "a ten year old boy"