Here is my original /etc/sudoers.d/www file:  Cmnd_Alias WWWCMDS = /home/xxx/shop/update.sh www-data ALL=(ALL) NOPASSWD: WWWCMDS   I simply want to add two additional commands so I RTFM and saw that you just have to comma-separate them.  Cmnd_Alias WWWCMDS = /home/xxx/shop/update.sh,geoipupdate,service memcached restart www-data ALL=(ALL) NOPASSWD: WWWCMDS   But it triggered a syntax error. What am I doing wrong ?
I have one script to allow for one user to run. The string calling it from the command line looks like  ./script path/to/folder -a option='value'   When I try to add it to the other commands in Cmnd_Alias line, sudo blames sudoers file for incorrect syntax. How can I set such commands properly?
Array index out of bound behavior How to perform hard / cold reboot of iPhone or iPad? SQL query that concatenates values from duplicate rows in a single table Let's say I have a table of employees, like this:  Name     Sex     Role  Bob      M       Developer Joe      M       QA   Now, I have a problem with duplicated rows in this table. I will fix it sometime but it's not the issue. What I currently need is something that queries such a table:  Name     Sex     Role  Bob      M       Developer Bob      M       Janitor Joe      M       QA Joe      M       CEO   And will output the following rows:  Name     Role  Bob      Developer, Janitor Joe      QA, CEO   It doesn't matter to me if the "Role" will be split to separate columns or be a single column with multiple values.  Using SQL Server 2008 if it matters. How to update kernel to the latest mainline version without any Distro-upgrade? How to set custom DNS server for Chrome browser? I have a local DNS server that resolves all URLs *.domain.tld to 127.0.0.1. Also, I have the production server with the same address *.domain.tld. They have the same names, because subdomains interact with each other, and I have hardcoded domain URLs. I can't change them in the production server.  The problem is to reach the production server from my developer computer without touching the DNS server and /etc/hosts.  I found some options for Chrome such as --dns-server, --host-rules, but none is working. I have Google Chrome 23.0.1271.64 and Chromium 22.0.1229.94 on Ubuntu 12.10 64-bit. Asume the following search queries: osx, cocoa, iphone, xcode, applescript, mac, carbon    Searching for osx, cocoa, iphone or xcode like:   http://stackoverflow.com/search?q=osx   Results into searching by tag:   http://stackoverflow.com/questions/tagged/osx   While searching for applescript, mac and carbon like:   http://stackoverflow.com/search?q=applescript   Results into searching by string.  Yes, I know how to search by tags using brackets: [applescript] But why are the queries above interpreted differently? All queries are valid Stack Overflow tags! Why not convert all queries into search by string or search by tag? What is the logic behind? Tag popularity? It seems rather inconsistent to me. Reoccurring Bent Axles, any reasons or upgrades? Earlier this month I had a issue with a broken axle.  It was the original that was sold with the bike and lasted around 5,000 miles.  I went to my LBS and bought a new axle (unbranded, labeled, etc, paid $13, came with cones, spacers, and hardware).  I did the install myself and had everything adjusted nicely.  The next time I rode it was on my commute to work, but I didn't get 4 miles into it when I found that I bent the axle.    I took the wheel to the shop but they wouldn't do anything about it since I didn't have them do the work.  However, I figured this was a fluke and asked them for a new axle and to true the wheel.  Once again I did the install of the axle and only got 15 miles out of it this time before bending it.  Before I got home I felt the wheel get stiff, but it stayed true.  The question is what will be a cause of bending 2 axles in 20 miles?    I think the guy at the shop said it was a cro-moly axle (while talking to another person today at the shop, these may not be), and he couldn't believe that I bent it.  If so, where would such an axle fall in the quality hierarchy?  Or is my hub toast?  While the wheel was being repaired, I swapped to a new original wheel for about 2 weeks.  I have not had any issues with it, but I wanted to keep it as new as possible.   Reading other questions I saw a comment that said not to use a hub where the bearing was catching.  I did have one in this wheel but I figured since it is a cheap wheel I would just burn it up and move on to a better one.  Besides, it has lasted 5k miles without issue to this point.  The bike in question is a 2008 Schwinn High Timber with Joytech freewheel hubs.  I do use a trailer with this bike using a Burley axle hitch.  While I had the hitch installed on both axles I bent, I did not have either trailer hooked up to them.  Something I would like to note is that when I removed the first bent axle (axle #2) that the cones on it had a wavy bearing track.  I didn't think too much of it, and I put them on axle #3.  Only having a few miles on them shouldn't have made a difference? Is it possible to interrupt spellcasting? As  suggests, there seems to be a hole in the D&amp;D Basic rules.  Maybe.  The rules for readying an action state:     When the trigger occurs, you can either take your reaction right after the trigger finishes or ignore the trigger.   This seems to imply that it is impossible to interrupt a spell in 5e.  If you set your trigger to be "I attack the Wizard when he casts a spell", then you make the attack after the spell has been cast.  Does this mean that spells can no longer be interrupted in combat like they could be in previous editions? How to insert a very large number of records into a MySql database as fast as possible Hash character in LaTeX I am trying to teleport a player to certain coordinates once they enter an area.  The idea is that they walk into a really small building, but once they turn a corner, they get teleported into a larger building.   Please refer to the adventure map named '5 Cubed', if you need help understanding what I am asking. I'm writing a math paper in LaTeX and for math formulas I'm just using $$math formula$$. Is is possible to numerate formulas? Or do I have to you use some specific commands such as align? How to reconcile the cashless human/Federation society with human traders and merchants From a variety of sources, including , we know that the Federation (or at least the humans) don't use money. This raises the problem that humans frequently visit worlds where there is currency, and, in the case of DS9, operate a station that has currency frequently in use (for example, Federation personnel frequently attend Quark's bar). Additionally, we see human traders.   My question is, how do humans get "money" (credits, latinum, etc.)? How would a human even get the resources to purchase their own merchant ship or the resources to fill its cargo holds with merchandise? If Federation personnel can simply be given money for the asking, why haven't they poured so much money down Quark's throat that he chokes on it? How to extend the text under summation symbol without making extra space Disable OS X startup sound How can I permanently disable the startup sound (or chime) in Yosemite?  (I am using a late-2014 13" macbook pro)  I already tried several options found here and there :    installed StartNinja.app => did not work installed Auto-Mute.app  => did not work tried to install the old StartupSound prefPane => did not work tried the command "sudo nvram SystemAudioVolume=%80" => volume does not change (I also tried other values than 80, such as 00, 01, or nothing)   NOTE: I know that it is possible to mute the next startup sound by turning the volume down, but this is not a permanent solution. How to derive this binomial identity? Why jquery validation is not working on appended elements? So I am on my college network which requires me to sign in to the browser before I start using the internet. I do so succesfully but on a clean install of Ubuntu, when I try to do sudo apt update, I get the following output:  $ sudo apt update Get:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease [2,847 B] Err:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease                     Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [2,854 B]     Err:2 http://security.ubuntu.com/ubuntu xenial-security InRelease              ... Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [2,855 B]    Err:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease ... Get:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease [2,857 B] Err:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) Fetched 11.4 kB in 0s (18.3 kB/s) Reading package lists... Done E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?) ... E: Some index files failed to download. They have been ignored, or old ones used instead.   But when I do wget http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease, I get this output success:  2017-04-01 05:34:57  http://in.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Resolving in.archive.ubuntu.com (in.archive.ubuntu.com)... 91.189.88.162, 91.189.88.149, 91.189.88.152, ... Connecting to in.archive.ubuntu.com (in.archive.ubuntu.com)|91.189.88.162|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 246846 (241K) Saving to: ‘InRelease.3’  InRelease.3         100%[===================&gt;] 241.06K   110KB/s    in 2.2s      2017-04-01 05:35:00 (110 KB/s) - ‘InRelease.3’ saved [246846/246846]   Clearly I have internet access from my browser and on wget but when I do sudo apt (or apt-get) update I get this error.  PS: This question is not similar to other threads as their solutions do not seem to work on mine        As I have found out, this problem is happening only to me, not others on the college network. Despite setting up the network according to instructions, this still happens. Any more help would be appreciated  EDIT: So as it turns out, 50% of us in the college are facing this issue, while 50% aren't despite having no issues with the hardware and sudo apt update before the last week. Thanks to @David Foerster for helping me throughout all this time.  As it stands, the issue has been raised to our college's networking department :) Proving $\int_0^1 \frac{(\ln(x))^5}{1+x} \mathrm{d}x = -\frac{31\pi^6}{252}$ I would like to show the following identity:     $$\boxed{ I :=  \int_0^1 \dfrac{(\ln(x))^5}{1+x} \mathrm{d}x = -\dfrac{31\pi^6}{252} }$$     Here is what I tried. The change of variables $u=1/x$ yields $$I= \int_1^{\infty} \dfrac{(\ln(x))^5}{1+1/u} \dfrac{1}{u^2} \mathrm{d}u = \int_1^{\infty} \dfrac{(\ln(x))^5}{u^2+u} \mathrm{d}u$$ Then $z=u-1$ gives $$I = \int_{0}^{\infty} \dfrac{(\ln(z+1))^5}{z^2+3z+2} \mathrm{d}z $$ with $z^2+3z+2=(z+1)(z+2)$. I wanted to use contour integration like , but I was not sure how to proceed in this case. Anyway, the computations of the residues (of which "well-chosen" function? Maybe something like ?) seem to be difficult.  I believe that we can generalize to $\frac{(\ln(x))^n}{1+x}$, or maybe even more (e.g. $\frac{(\ln(x))^n}{ax^2+bx+c}$). Related computations are: , , , .  Thank you for your detailed help. YA coming-of-age fantasy series, protagonist keeps pigs I lost a series books during a move and I'm thinking I might like to get them for my son.  They are about a teenage orphan who lives with a (sort of) wizard who's primarily known for his prize pig. There is a "bad guy" but he doesn't do much - he starts off the action in one by scaring the pig, and the boy has to chase after it. He goes on several such adventures, notably one to "find his true nature" that ends with him staring into a pool.  I suppose it could be the early books of , but I'm pretty sure I read them in the 1980s, not 90s, and title seems wrong. And unlike the Wiki description, in the series I'm thinking of, there's no real magic to speak of - its "out there" but does not seem to be part of the action that I recall.