Timer to shutdown
How can I automatically shutdown the system after a specific time?
How do you copy a record in a SQL table but swap out the unique id of the new row? Installing node with apt-get or downloading the Linux Binaries (.tar.gz) What is the difference between installing node.js with 'sudo apt-get install nodejs' or downloading the Linux Binaries (.tar.gz) and following  instructions?  Is the outcome the same? Smooth transition between two materials Why must a field whose a group of units is cyclic be finite? Let $F$ be a field and $F^\times$ be its group of units. If $F^\times$ is cyclic, then show that $F$ is finite.  I'm a bit stuck. I know that I can represent $F^\times = \langle u \rangle$ for some $u \in F^\times$ and that we must have that $|F^\times| = o(u)$, where $o(u)$ denotes the order of $u$ in $F^\times$.  I tried assuming $o(u) = \infty$, but I'm not sure exactly where to go from there. I was wondering if I could get a hint. I was working on a tower and painted my own texture for it. I saved halfway though and took a break. When I returned to my little project, I could paint on the image and it shows up in the material view but not the render. I did everything in my power but still couldn't understand why?  I have used:   Nodes, including mapping and insert UV coordinates. Unwrap UVs Used lights Deleted and replace nodes Deleted and replace Mat Removed image and replace it Reload image Painted on mesh   Even though use blender, I am not a programmer. So I find it really helpful if someone could give me an answer. Energy conservation in General Relativity For a book cover, I want to write the title vertically (like in Japanese, but using English text):           T T        I H        T I  I  M  L S  S  Y  E   How do I do this without jumping through a host of \vbox and \hboxes? "Die from cancer" vs. "die of cancer" Is there a difference between those expressions: "Die from cancer" or "Die of cancer"? Are they both correct? Comparing $2^n$ to $n!$ Constructing primitive cell using information from ChemicalData In , they give rules so that players can make all the rolls, rather than the DM sometimes rolling for enemies. In one section, there are specifically , which the players roll against, rather than the DM. However, after doing some math, I think they've made a mistake. They say that you convert a Saving Throw into a Saving Throw Check by adding 11 to the defender's saving throw modifiers, and using that as the DC for the check.  The player then rolls against this DC, adding their spellcasing ability modifier and proficiency bonus.  However, according to the following math, this conversion does not produce the same results. In this math, I compare the chances of a player succeeding on a saving throw check, using the rules in the UA article, and of a monster failing its saving throw using the standard PHB rules. If the math is correct, both of these results should have the same chance. These are the formulas I used.  Chance to succeed Saving Throw Check = (20 - DC + 1 + proficiency + casting mod) / 20 Chance to FAIL a Saving Throw = (DC - 1 - save proficiency - save mod) / 20  Assuming a proficiency bonus of +2, +0 for all ability mods, and no save proficiency:  Monster's Saving throw Check DC = 11 + save mod = 11 Chance to succeed a saving throw check DC11: (20 - 11 + 1 + proficiency + casting mod) / 20 = 12/20 = 60% Player's Saving throw DC = 8 + proficiency + spellcasting ability mod = 10 Chance for monster to fail saving throw DC10: (10 - 1 - save proficiency - save mod) / 20 = 9/20 = 45%  If this were a valid conversion, both formulas would result in the same chance of success for the player, and failure for the monster respectively, however, they are off by 15%. This suggests that the unearthed Arcana's rules are not a valid conversion. Are the Unearthed Arcana rules wrong, or is my math wrong? Static posts page with home.php For my website, I am using a static home page page Home (template front-page.php) and for posts- page News (template home.php)  I need to show all the post titles and exceprts on that page News (templ. home.php), but also show the original title and the_content from that page News itself.  This code below while statement shows all the posts, which is good, but the top the_title also shows the title from the first post, not from the News page itself.  How to achieve what I need?  &lt;?php get_header(); ?&gt;      &lt;?php     the_title();           the_content();     ?&gt;  &lt;?php if(have_posts()) while(have_posts()) : the_post(); ?&gt;          &lt;?php         the_title();         ?&gt;          &lt;?php         the_content();         ?&gt;      &lt;?php     endwhile;     ?&gt;    &lt;?php get_footer(); ?&gt; $C(n,p)$: even or odd? Can someone please explain this weird Pygame importing convention? How can I change a cell's background color based on the cell's current value? I have a column with function values of True or False:  =IF(ISNA(A1), false, true)   from row 1 to 5000+ rows. I would like to mark all the False as red background color or text as red. Is there any function available? How can I remove Amazon search results from the dash or disable the feature? How can I disable Amazon search results in the Dash? Why does my front derailleur not work when it is cold? When it is warm outside my front derailleur works just fine. But when it gets colder (40F) the lever on the handle bar does not catch and I can move it without any resistance the whole way without the derailleur shifting.  Update: The wire is not moving and the shifter is a Shimano Deore.  Any idea what can cause that and how to fix it? Find and replace text within multiple files I want to know how I can find and replace a specific text in multiple files like in Notepad++ in the linked tutorial.  e.g.: How do I run a sudo command needing password input in the background? I have recently disabled  so that it now prompts me for a password every time.  And though this is good for security, it has caused one slight problem which I haven't been able to figure out a solution for, I am unable to run commands which go along the lines of:   sudo &lt;command&gt; &amp;   In the past I would have run a sudo command before that, it would have cached my password and allowed me to run sudo commands without prompt for the next few minutes, and thus it would allow me to run the command.  But when I run it now as there is no caching before hand and as it starts a new thread immediately and sudo doesn't even prompt me for a password, I am unable to run it in this way.  So unless I run sudo -i before it I am unable to run a command in this format which is becoming rather annoying. So I was wondering if there is any way to get around this and still run programs and commands in this way?  I am running Ubuntu GNOME 15.10 with GNOME 3.18, and specifically the program I want to run in this fashion is etherape if that makes any difference, but I would really like the solution to work for all programs and commands. Is transferring to another university an option for an unhappy PhD student? I've heard of people transferring between graduate schools because of their advisor moving to another school and taking their students with them.   Do students ever transfer for other reasons? If a student isn't happy at the school they choose, could transferring be an option? Presumably they would frame it as something positive such as "turns out I really want to work with Professor X" rather than "I hate my school", but does this ever happen? Is there a certain timeframe in which this is possible? (Assume it's a 5 year PhD program.)  If the answer varies by subject please mention the subject in your answer.  (Context: many friends have told me that if it turns out I'm not happy with my choice, I can always transfer. My impression is that this is actually difficult since many schools don't accept transfer students and in any case not being able to stick with a program looks bad -- but I don't have evidence either way so wanted to ask people who are in academia. Of course the ideal would be to pick a school one is happy with in the first place!)