How to create file using shell script?
How to create an empty file from command line
Specifying spaces between words How to show hidden folders in File Manager (Nautilus) on Ubuntu? How do you show a hidden folder (whose name starts with .) in File Manager a.k.a. Nautilus on Ubuntu?  I am somewhat new to Ubuntu and can't seem to find the "view" menu. Prevent malicious bots from posting spam How should one maintain and update a MiKTeX installation? Every once in a while after updating MiKTeX, the installation gets into an inconsistent state. This might be a problem with the packages (an example is described in ), but sometimes packages are split or renamed. The cases I remember are when  and when miktex-etex-base-2,9 was renamed to miktex-etex-base-2.9 (if I recall correctly; I am sure it was either that or something very similar). In each case the MiKTeX Update process suggested to remove the "old" packages but it didn't give the user any hints about him having to manually add the respective replacement packages back in the package manager to get one's MiKTeX installation back into a usable state.  What are best practices for keeping MiKTeX up to date? Note that I'm not asking about installing new packages or fonts in general; there are other questions covering this area.   In which order should one execute the Update process and the Synchronization of the repository? , it is recommended to check the MiKTeX homepage before updating. What else should one do? When and in which order (and why) should one execute the "Refresh FNDB" and "Update Formats" processes within the MiKTeX Options menu? What else can happen? Other advice? I am in the process of completing some homework and have come across a question that says: "What is the steady-state current?" It is asking in reference to a circuit that includes two capacitors in parrallel and a DC source of 24V and an AC source given by $\epsilon = 20 \cos(120 \pi t)\ \text{V}$, where $t$ is in seconds. I assume that it is asking when the current is constant. Because naturally the current is not constant due to the AC source, would I just consider the DC source for this? How can I get id,class or name attr an element with jquery What potions actually grant fame or glory, or put a stopper in death? Are there any? ‘You are here to learn the subtle science and exact art of potionmaking,’ [Snape] began. He spoke in barely more than a whisper, but they caught every word – like Professor McGonagall, Snape had the gift of keeping a class silent without effort. ‘As there is little foolish wand-waving here, many of you will hardly believe this is magic. I don’t expect you will really understand the beauty of the softly simmering cauldron with its shimmering fumes, the delicate power of liquids that creep through human veins, bewitching the mind, ensnaring the senses ... I can teach you how to bottle fame, brew glory, even stopper death – if you aren’t as big a bunch of dunderheads as I usually have to teach.’&#185;   Philosopher's Stone - page 102 - Bloomsbury - chapter 8, The Potions Master   Are there any canon potions that actually grant fame or glory, or stopper death? I'm looking for specific canon-based answers from sources such as the Harry Potter books, interviews with J.K. Rowling, or information from Pottermore. Maybe because it's early I'm overlooking the obvious, but offhand I can't think of any canon potions that fit this criteria exactly.   &#185;I edited in the entire paragraph that I can teach you how to bottle fame, brew glory, even stopper death comes from for clarity. Hopefully this will be helpful and provide a better context for the comment in question. The origin of the value of speed of light in vacuum If I run  export TEST=foo echo $TEST   It outputs foo.  If I run  TEST=foo echo $TEST   It does not. How can I get this functionality without using export or a script? Print programs with its proper syntax I have defined my own language whose syntax is very close to the one of Pascal. I would like to type the following program for instance. Many people use the packages algorithmicx or algorithm2e to print programs, but it seems that we have to use their specific keywords of its syntax like procedure, end while.  I just want to indent spaces when needed, and bold some words when I want (sorry that I could not bold letters in the following figure). Do I have to use  texttt for each line? Also, with verbatim, I could not bold words...  Also, as the program is not large, I would need to put it on the left side of the page, and leave space for some explanasion text on its right hand side. So I  guss I need to get them all together, and use multicols.  Could anyone help?  program test                                      some text here var   i : integer;                                    ...    b : boolean; begin    i := 1;                                        ...    b := true;    while i &lt; 15 do       i := i  + 1;       b := not b                                  some text here    od end   Edit1: Following @Werner's tabbing solution, I have made the code a minipage:  \begin{minipage}[t]{0.48\linewidth}% \begin{tabbing} Werner's solution \end{tabbing} \end{minipage}\hfill \begin{minipage}[t]{0.48\linewidth} a paragraph \end{minipage}   Actually as the code shows, I want the texts to be another separated minipage on the right hand side of the code. I have then 2 questions:   is it reasonable to make 0.48\linewidth instead of 0.5\linewidth? 0.48\linewidth is a conventional choice? is it possible to make a frame around the code, and use \caption and \label to make it a reference (I prefer figures)? I use the highlight mode in vim to copy a few characters.  I then want to paste more than once.  My current technique does not work well.  Sample text: Linux Solaris Irix HP-UX  Suppose I want to copy the word Linux, then paste over Solaris and Irix.   Place cursor at L in Linux Command v (for visual hilite), then e (for end-of-word), then y (for yank/copy) Now Linux is on my "vim clipboard" Move cursor to S in Solaris (first instance) Command v (for visual hilite), then e (for end-of-word), then p (for paste) Text is now: Linux Linux Irix HP-UX, but now Solaris is on my "vim clipboard" Move cursor to I in Irix (second instance) Command v (for visual hilite), then e (for end-of-word), then p (for paste) Text is now: Linux Linux Solaris HP-UX which is not what I expected.   I resort to using highlite/paste with the mouse (via X Terminal).  Surely, I can do this better.  How? I would like to set my monitor's scale under 100%, but Win10 only lets me set it to 100% or higher. Why won't Windows let me do that? Is there any workaround to do that? I am aware of the fact that scaling below 100% will result in merged pixels. When using an Int- or FloatProperty, is there any way of changing their min and max values dynamically?  I'm currently loading images on the fly and would like to limit a frame property to run from 0 to len(loaded_images) every time I call the loading operator. However, the property seems to be read-only and re-assigning gives the following error:  bpy.context.scene.project_props.bl_rna.properties['myIntProp'] = bpy.props.IntProperty(...) TypeError: bpy_prop_collection[key] = value: invalid, expected a StructRNA type or None, not a tuple   I understand the bpy.props constructor uses an intermediary tuple, but I'm not sure how to proceed. Is there any way around this? Is the vector cross product only defined for 3D? Triangle inequality for L2 norm I am posed with a problem as below.  Let $X$ be the collection of real valued functions that are measurable on $[0,1]$. For a given number $p\geq 1$ define the $L^p$ norm by $(\int_0^1|f(x)|^p)^\frac{1}{p}$.  I need to show for $p=1,2$ that this defines a semi norm on $X$. $p=1$ was simple as was all of $p=2$ except for the triangle inequality. I am having trouble proving the triangle inequality for this. Could anybody nudge me into the right direction or am I simply over thinking it? I think I can prove it for vectors but I'm not sure how to tackle it with integrals. Right now I can only use relatively basic results because this in for an introductory measure theory course.  Thanks! I noticed that I can only perform certain actions such as commenting a finite number of times in a given period of time. Obviously, rate limiting is in place to prevent accidental misuse or intentional abuse of certain features.  Where else is rate limiting applied on Stack Exchange sites, and what are the limits? I have a table with a varchar(max) column that stores text ~4-10KB in size. Data is just being added - never modified, it is a log. My problem is that a table grows too large in size - I would like to keep about 1000000 rows in this table.   I am limited to SQL Server Express and hit the limit on database size. Compression is not available in SQL Server Express and I afraid that Filestream may not be appropriate and the number of files would be too big.   What is the best solution in this case? How to edit a file in vi editor (arrow keys prints letters)? I am open a file in vi:  vi index.php   Here the problem is: when I press the down arrow and it prints 'B'. Why it prints 'B'? Recent feature changes to Stack Exchange Ubuntu in VirtualBox wants to install on every boot I have installed Ubuntu 11.10 using Virtual Box in my Windows XP. I have use Ubuntu 11.10 iso to install it. First time when I installed every thing was fine but when I shutdown the VirtualBox and start Ubuntu again, it asks me to install Ubuntu and try Ubuntu without installing.  Do I need to do some extra settings?