what does 0X mean?
Why are hexadecimal numbers prefixed with 0x?
I have a script that does a number of different things, most of which do not require any special privileges. However, one specific section, which I have contained within a function, needs root privileges.  I don't wish to require the entire script to run as root, and I want to be able to call this function, with root privileges, from within the script. Prompting for a password if necessary isn't an issue since it is mostly interactive anyway. However, when I try to use sudo functionx, I get:  sudo: functionx: command not found   As I expected, export didn't make a difference. I'd like to be able to execute the function directly in the script rather than breaking it out and executing it as a separate script for a number of reasons.  Is there some way I can make my function "visible" to sudo without extracting it, finding the appropriate directory, and then executing it as a stand-alone script?  The function is about a page long itself and contains multiple strings, some double-quoted and some single-quoted. It is also dependent upon a menu function defined elsewhere in the main script.  I would only expect someone with sudo ANY to be able to run the function, as one of the things it does is change passwords. For privacy and performance reasons, I'd like to prevent my computer from ever communicating with certain Internet hosts. I'd like to do this at the OS level, not through web browser plug-ins (not broad enough), or even through my home router (my laptop travels). I'd prefer to use built-in tools.  I'm running Windows 7 Professional 64-bit. I'm all too familiar with the Windows hosts file - and its limitations. There seems to be some confusion over whether hosts supports wildcards, but my own tests confirm that it does not.  I have experimented with Windows Firewall and the IP Security Policy MMC snap-in. So far as I can tell, both require numeric addresses. I don't want to block specific IP addresses, or ranges of addresses, in part because IP-address-to-hostname mappings can and do change.  Is there any tool in Windows 7 Professional with which I can block (or route to 0.0.0.0) communication with Internet hosts by hostname mask? If not, are there any good, free, third-party tools? Assume two black holes in the most common size range, spiraling into each other until they merge. The event releases significant amounts of energy via gravitational waves, which warp the space-time.  If the distortion is powerful enough, it would get noticed in daily life, or perhaps even detected by the proprioceptors in the human body.  How close, as an order of magnitude estimate, would you have to be to the merger to perceive it like that, without any instrument? Difference between "not equal" operators  and != in PHP I want to boot Ubuntu into recovery mode but there is no grub menu entry allowing me to do so. I pressed e and now I am able to edit boot options. It looks like that:  setparams 'Ubuntu , with Linux 3.6.0-26-generic'  recordfail gfxmode $linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root &lt;uuid&gt; linux /boot/vmlinuz-3.5.0-26-generic root=&lt;uuid&gt; ro ipv6.disable=1 quirt splash $vt_handoff initrd /boot/initrd.img-3.5.0-26-generic   The  documentation says:     Boot to the recovery mode even if it is not listed on the menu:         Remove existing kernel options from the linux line and add single      But this sentence doesn't make any sense, maybe the wiki page is broken somehow. How to modify the boot menu to boot directly into recovery mode?  Note: I don't have access to grub config or anything else, only the boot menu edit page is available. Explicit construction of a finite field with $p^n$ elements How do you reset the sa password? Schengen Visa Refusal: Justification for the purpose and conditions of the intended stay was not provided Schengen refusal formulae can be difficult to understand sometimes.    When an applicant receives a refusal with "Justification for the purpose and conditions of the intended stay was not provided", what does it mean? What to do with an Ubuntu disk image that appears as a WinRAR file? File sync error (AUTH_FAILED) How do I allow long URLs to have line breaks at any point. This is in the bibliography not the main text. I am trying to save space so don't want extra spaces to be added to make it only break at slashes, for example, as it does by default.  I am using biblatex+biber. Invert colors of an image in CSS or JavaScript How can I compute the distance between two coordinates in TikZ? Given two points (defined, for instance using nodes), I want to compute the distance between them.   Is there some build in functionality in tikz to do this? If not, how can it be done using the mathematical engine?   The application I have in mind is to draw an circular arc centered at (a) and passing through some second point (b), where only (a) and (b) are known. Template Hierarchy: confused with index.php, front-page.php, home.php I'm really confused with index.php, home.php and front-page.php. In many cases even though I had an index.php, I overwrite it with front-page.php. But recently, I became aware about home.php.   What's the difference between the home.php and index.php? What's the ideal condition to use a home.php than an index.php? What's the ideal condition to use a front-page.php? When I'm using a front-page.php then what specific task an index.php is doing for me then?   I've read the  in Codex. Please don't mix my question with Page Templates, I understand 'em, alHamduLILLAH. Can there be multiple paths for which Fermat's least time principle can be obeyed? Can there be more than one path for which Fermat's least time principle is obeyed? Adding Maximum and Minimum Latitude and Longitude as features in ArcGIS for Desktop? terminal: non-english characters I used to be able to copy&amp;paste (or type if I load respective keyboard layout) any kind of characters (eg. é ö ñ ß و 好) in my console/terminal.  Now I bought a new computer and it does not work any more, only English/ASCII characters (but in other programs, e.g. firefox, it still works).  Distribution: Ubuntu. Terminals tried: gnome-terminal, xterm, konsole.  I tried  but after reboot echo $LANG still gives C. I also tried setting Character encoding to Unicode(UTF-8) in the gnome-terminal Terminal-menu - without effect.  Question: How can I get a terminal that is able to deal with non-English characters? Is spacetime flat inside a spherical shell? In a perfectly symmetrical spherical hollow shell, there is a null net gravitational force according to Newton, since in his theory the force is exactly inversely proportional to the square of the distance.  What is the result of general theory of relativity? Is the spacetime flat inside (given the fact that orbit of Mercury rotates I don't think so)? How is signal from the cavity redshifted to an observer at infinity? Prolog count the number of times a predicate is true Minor grid in pgfplot not showing when specifying ticks manualy Firstly I would like a minor tick between every major tick in my pgfplots graph (and minor grids). I wrote minor tick num=1 but it doesn't work. I am not using a logarithmic axis so it is unrelated to other questions.  Secondly, why is the tick label "1" missing for each axis? How do I get that to display?     \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}  \begin{axis}[% footnotesize, width=4in, height=4in, axis equal, scale only axis, separate axis lines, grid=both, every outer x axis line/.append style={black}, every x tick label/.append style={font=\color{black}}, xmin=0, xmax=1, xlabel={X}, every outer y axis line/.append style={black}, every y tick label/.append style={font=\color{black}}, ymin=0, ymax=1, ylabel={Y}, minor tick num=1, xtick={0,0.1,...,1}, ytick={0,0.1,...,1}, axis background/.style={fill=white}, legend style={at={(0.97,0.03)},anchor=south east,legend cell align=left,align=left,fill=white} ]  \end{axis}  \end{tikzpicture}% \end{document}