Replace a value in a random position with specific with restriction
Random place change in row with restrictions
Grammar-checking tool for use with LaTeX? I am looking for a grammar-checking tool, i.e., something that checks for mistakes such as "two dog" or "a books".  It has to work on Linux (Ubuntu).  Also, since I use macros to generate some of the prose, it has to somehow work with LaTeX.  I don't think that such checkers are LaTeX-aware, so it has to work with some compilation product of LaTeX: DVI or PDF.    If you suggest a grammar checker that checks plain text, please explain how to you extract the text.  catdvi does a nice job, but it leaves some garbage like page numbers. Getting Windows 7 admin account password? What Is the Real Name of the #? I want to make an arena where mobs will fight each other and a player can bet on one side or the other. For example: There are 2 skeletons in dyed armor; red and blue. Each color representing a team. When they spawn I want them to fight each and then when one dies I want it to announce which team is the winner and give the player the "money" due. I'm just not sure how to get the skeletons to attack each other without a player instigating it. I need to grant select permission for all tables owned by a specific user to another user.  Can I do this with a single command along the lines of:  Grant Select on OwningUser.* to ReceivingUser   Or do I have to generate the sql for each table with something along the lines of:   Select 'GRANT SELECT ON OwningUser.'||Table_Name||'TO ReceivingUser'   From All_Tables Where Owner='OWNINGUSER' Do the glowing pillars in The Storm Halls do anything? I've noticed that occasionally if I shoot at (or near) the glowing red pillars they will kind of explode a bit for a second and then reform. Does this affect my attacks in any way? What about nearby enemies? Is this purely cosmetic (like pillars in other dungeons crashing down)? Trailing Sum Query How do you reindex an array in PHP but with indexes starting from 1? I have the following array, which I would like to reindex so the keys are reversed (ideally starting at 1):  Current array (edit: the array actually looks like this):  Array (  [2] =&gt; Object     (         [title] =&gt; Section         [linked] =&gt; 1     )  [1] =&gt; Object     (         [title] =&gt; Sub-Section         [linked] =&gt; 1     )  [0] =&gt; Object     (         [title] =&gt; Sub-Sub-Section         [linked] =&gt;      )  )   How it should be:  Array (  [1] =&gt; Object     (         [title] =&gt; Section         [linked] =&gt; 1     )  [2] =&gt; Object     (         [title] =&gt; Sub-Section         [linked] =&gt; 1     )  [3] =&gt; Object     (         [title] =&gt; Sub-Sub-Section         [linked] =&gt;      )  ) Why doesn't Doctor Strange remove the Infinity Gauntlet from Thanos? Doctor Strange seemingly has the ability to open portals wherever he wants. We see at the beginning of Infinity War what happens when he closes a portal and someone isn't fully through it.  Is there any reason why he can't open a portal around the left-elbow of Thanos, and then close it?  I realize that Thanos probably wouldn't allow this to happen normally,      but when he is mostly asleep, and Tony and Spider-Man are pulling on the gauntlet, Doctor Strange has ample opportunity, and plenty of space to just sever Thanos' arm.   Why doesn't he? importing a multipage PDF file into InDesign CC When I place a multipage pdf file into InDesign CC, the pages go outside of my document settings, making this function useless.  What do I have to do to make the placed  pdf pages go within my document settings, which in this case is 11 in. Length X 8.5 in. width, .5 in. margins on all sides, with two columns per page. I would greatly appreciate an answer to this, Thank you. How can I know the default PGF line width? Is there some macro that will tell me what the default PGF line width is? I have tried creating my own macro by cloning \pgflinewidth before it has been modified, i.e.  \let\defaultlinewidth\pgflinewidth   but \defaultlinewidth seems to be affected by \pgfsetlinewidth anyway, and change to whatever \pgflinewidth is. So, the problem is that after I have called \pgfsetlinewidth, I don't know what the default pgf line width is anymore. Is there some way to get around this? How can I prevent my Wi-Fi connection from glitching? Composition of a harmonic function with a holomorphic function is still harmonic If $f$ is a harmonic function in a domain $D \subset \mathbb{C}$, and $g$ is a conformal mapping of a domain $D_0$ onto $D$, is $f \circ g$ harmonic in $D_0$?   I noticed this question while reading several pdf of lecture notes, and I'm having trouble figuring it out. Can anyone help?  Thank you so much! Changing internal URL path for SEO I have a site where Google has already indexed about 1 million pages, and I want to change all the URL paths for SEO purposes, ensuring that we always have our keywords in the path.  Technically I know how to complete it (301 redirects, new canonical URL, update sitemap, etc.) but I'm wondering if Google will penalize the site because of it, or if links will disappear from search results until they are re-crawled? Every once in a while, someone comes to Meta to report a bug about something not working and it turns out that person is visiting one of the network sites over HTTPS/SSL. The problem has been growing since browsers started to outright block mixed content instead of showing a warning.  The usual answer is that HTTPS is not yet fully supported, and the person should try again using HTTP. Sometimes things get fixed, improving the situation a bit.  Is there a roadmap for full support? Partial support has been there for  now.  Is this actively being worked on? If not, what are the reasons to partially support it instead of disabling it completely to avoid these problems? Android: How to draw route directions google maps API V2 from current location to destination Opening Careers notification crashes app I am used to see timestamp everywhere by it's color. The recent timestamps are a little bit reddish everywhere. E.g. in Meta Stack Overflow:  Last edit:        Last seen:        But in Meta Stack Exchange they have same color everywhere even for recent time:  Last edit:        Last seen:         Please make it something like this: Why does the Community user approve and reject edits? Does standard c library provides linked list etc. data structures?