Piping to file doesn't work with intermediate pipe
What are the shell's control and redirection operators?
Is there any way to deserialize JSON into an object using JSON.deserialize if some of the property names in the JSON are reserved words in apex? I want to do something like this:  string jsonString = '{"currency" : "ABC"}'; public class JSONResult {     public string currency; } JSONResult res = (JSONResult) JSON.deserialize(jsonString, JSONResult.class); system.debug(res);   but of course I get an error that the identifier name is reserved. Ways to update Ubuntu (debian-based distros) offline What is the easiest way to update/upgrade an offline Ubuntu machine with the help of a Windows machine that has internet access?  This question also applies to installing new packages offline and not only updates/upgrades.  The Linux system shall remain completely cut off from the Windows machine, meaning there should be no ethernet connection or the likes between the two computers.  Update:  Please have patience, since I haven't updated this since two weeks. There are some complications getting apt-offline to work properly on Lubuntu and all other methods seem to be too old and deprecated:  AptOff - last update 2006 AptMedium - last update 2007 Keryx - last update 2011, looks like this project was discontinued  I hope I will be able to somehow update the offline machine, finally.  While I was still not able to update/upgrade the offline system due to authentication errors, I accepted an answer, because it's taking too long. Are you less likely to down-vote someone whose gravatar is a photograph of them? I know this is hard to answer since, to the extent that anyone does this, they likely don't do it consciously. In the spirit of Richard Wiseman and  I just wondered what were people's thoughts on it.  Please bear in mind that that's me in the picture, and if you down-vote this, that'll be a real person hurtin', not some abstract symbol. Why is a deductive closure an intersection of maximally consistent sets? Full Question: Show that if $\Delta(\Gamma)$ is the deductive closure of a consistent $\Gamma$ then $\Delta(\Gamma)$ is the intersection of all maximal consistent sets of formulas $\Lambda$ with $\Gamma \subseteq \Lambda$.  I'm really stuck with this question, I honestly don't know how to even start. Can someone please provide some assistance? Is the C# "explicit implementation" of the interface present in Java? In C#, if you have two base interfaces with the same method (say, F()) you can use explicit implementation to perform different impl. for F(). This alloes you to differently treat the object, corresponding to the current point of view: as IMyInterface1 or IMyInterface2. Is this possible in Java? I have a few questions regarding Named Credentials. I need to perform a SOAP based call out to an external system from Sales Force. I used the wsdl2apex function to generate the class for the call out. When I started integrating this class into my process I got to thinking about securely storing the username and password for the call out, which led me to discover Named Credentials. Question is, can Named Credentials be used in the auto-generated apex class? If so, could you please provide an example?  Thanks in advance How can I merge a guest post with a new account? I asked a question over at AskUbuntu(as a guest), and I'd like to be able to edit and comment on this new account. Is this possible? [S]he has the ears of a ...? Often, when overheard from far away, I find myself saying/thinking:     [S]he has the ears of a hawk!   Which doesn't really make sense as hawks aren't particularly well known for their sense of hearing.  Is there a common saying, equivalent to "eyes of a hawk", relating to someone's sense of hearing? Links being changed to cppreference.com Someone just edited a link in one of my answers to point to a 'better reference'.    I've no problem with links being changed in general, but this smells like part of a concerted attempt to redirect traffic.   Is this kind of activity acceptable on SO? How do I get an RSS feed of my YouTube subscriptions? The default "Subscriptions" feed on the YouTube homepage shows all of the activity of the people that I am subscribed to on YouTube or have in circles on Google+. However, I'm most interested in new videos that the people I subscribe to (either on YouTube or by circling on Google+) create and post (neglecting comments or sharing other people's videos - what you see when you check the "show uploads only" checkbox on the YouTube homepage). However, being able to bring anything off of the YouTube homepage and into Google Reader as an RSS feed would be good.  Is there a way to do this? Showing that $|N \cap Z(G)| > 1$ for normal subgroups of p-groups I have a finite $p$-group $G$ and a normal subgroup $N$ which is not the trivial subgroup. I am asked to show that $|N \cap Z(G)| &gt; 1$.  There has been a similar question on MSE here:  Unfortunately, I cannot comment on other user's questions yet, so I made my own question.  I know that the trick is to use conjugation but I can't follow the logic. Can someone elaborate? Especially on the last part of the top answer. My stance is that these websites are a great boon to the research community and they were certainly extremely helpful for my research. I think they should be applauded rather than persecuted, and while they may be illegal now, I think a way to make them legal should be found (in the same way I can download articles legally through my university's subscription to all the major publishers and journals).  Can I thank them in the acknowledgements section of my thesis? A real solution to ambiguous tags Introduction Even within a site's relatively focused range of topics (it's unlikely anybody on SO will think  refers to the solar system's star), some tags are inherently ambiguous. There are currently two unsatisfying options:  Declare that the tag is only to be used for one of the possible meanings, write a tag wiki explaining it, and link from there to the newly created tags for the other meanings, and keep cleaning up the tag whenever someone ignores the tag wiki popup explaining the tag. Use alternative tags for all meanings (e.g. cd-command and compact-disk, instead of cd), and keep removing the undesired tag whenever it pops up again. And it will. The  is not deterring users from creating unnecessary or redundant tags.  Blacklisting tags is a complicated ritual occurring once in a blue moon, at most, and involves a dragon, a team member, and sacrifices to be burnt. It also makes those other, unambiguous tags not easier to discover, if it were applied to ambiguous tags. I don't consider this to be a viable option in this case. Proposal Here's the proposed : Just like a tag can be declared a synonym of another tag, basically changing all references to the synonym to references to that other, canonical tag, it should be possible to make it a disambiguation tag (or ambiguous tag) for multiple other tags. It's a logical progression from &quot;You entered a term with the same meaning as this other term&quot; to &quot;You entered a term with the same meaning as one of these other terms, please choose the correct meaning&quot;. Use of the tag should force the user to choose one of the alternatives presented:  &quot;, did you mean  or ?&quot; &quot;, did you mean , , or ?&quot; &quot;You entered 'vm', did you mean  or ?&quot; &quot;You entered 'sas', did you mean  or ?&quot; &quot;You entered 'kvm', did you mean  or ?&quot; &quot;You entered 'mono', did you mean  or ?&quot; &quot;You entered 'dsl', did you mean  or ?&quot;  Not all of these examples might be good (I'm not sure e.g. about the first two SO examples), but that's not really the point here anyway — they should just convey how this could be used. Note how some of these tags would probably never be used if users had to type them, and yet everything shorter is ambiguous. This could probably be mostly solved by extending the synonym/tag wiki excerpt dropdowns shown when a user enters the tags, proposing the alternatives for an ambiguous tag entered by the user (like a synonym suggestion, but with multiple options). If ignored, the user could still be shown an error message like with blacklisted tags, but by designing the selection dialog well, it should be possible to prevent that in most cases.  Related topics   This topic is related, but the user seems to have accepted the inclusion of tag wiki excerpts in the tag suggestions drop-down as sufficient.   This requires extensive discussion and team involvement (i.e. the status quo)   This topic has no real solution, except manual retagging. I've read and have heard of both 'as per' and 'per' being used conversationally, both with the same connotation of either 'according to' or 'on authority of'  Examples:  "Tell Ron to start molding new rollers for the mecanum wheels, as per me"  "Per Mr. Crane, you need to start the molds for the new rollers."  They both establish the same context by setting that something should be done on the authority of someone else (or the speaker, per the first example (see what I did there?)). Or it acts as a way to cite a source of a statement, directive or fact in conversational speech.  My question is, what is, if any, the functional and syntactical difference between as per and per. If there are no differences, which is apropos to use? How to add a program as a startup application from a terminal? I am using Ubuntu 12.04 and I know the GUI way to maintain the startup program list but now I want to find out the way to add/remove startup applications using a command line interface (CLI). What is the difference between \big[ (or equivalently \big() and \bigl[? Is it always necessary to mention l (left) and r (right)? is it possible to raise the tip while raising the back and lowering the center of the tongue when making /R/ sound? Following , this is how we correctly make the r sound:   Let the throat vibrate since it is voiced. Round the lip a little. Raise the tip of the tongue towards the hard bump behind the upper front teeth,  but do not let the tip of tongue touch the bump. This also makes the center of the tongue go down. The back part of the tongue is raised because you pull it into a tight ball Fold and raise the sides of the tongue so they touch the upper side-teeth.   If we follow the above requirement, our tongue should have an s shape when we pronounce the r sound as depicted in the following sketch:    Is it possible to raise the tip while raising the back and lowering the center of the tongue when making an r sound?   How do native speakers make an r?  P.S. My tongue is very short anyway! I want LaTeX not to give warnings for overfull hboxes up to some maximum of say 2 pts. How to achieve this? I am looking for an application which can do the following:   Resize one or more images Compress images Rotate and flip images Rename multiple images using a progressive number or a prefix/suffix Convert an entire PDF file to a bunch images Extract an image from a Windows .ico file Convert images to DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, TIFF, and other formats   I am running Ubuntu GNOME 15.10 with GNOME 3.18. Create a hexadecimal colour based on a string with JavaScript