I tried to post this exact answer on Stack Overflow, however it refuses to let me do so.  I tried searching around a bit, and found some people suggesting adding extra line breaks before code blocks. This didn't work.     You need to create a loop that goes through each possible value.   Often, you'd just use a for loop.  for($i = 0; $i &lt; count($cars); $i++) {     if($cars[$i]['brand'] == "BMW")         echo $cars[$i]['color']; }       However, using a foreach loop is also an option, and it looks neater.  foreach($cars as $v) {     if($v['brand'] == "BMW")         echo $v['color']; }       See the array, for loop and foreach loop documentation for more   information      (link)   (link)   (link)   (Note that the (link)s down the bottom are links on Stack Overflow using the [text](link) method; I just couldn't post them here because of having under 10 reputation.)        I have almost no doubt that this is happening because I've done something wrong, but for the life of me I can't spot what it is.  Edit: Updates based on questions in the comments I receive this message exactly in a red box to the side of my answer:     Your post appears to contain code that is not properly formatted as code. Please indent all code by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, click the [?] toolbar icon.   I'm on Chrome version 34.0.1847.116 m, Windows 7 64-bit.  Edit 2: As per Mat's suggestion, I tried putting all the links in an unordered list, with one blank line between them. This worked perfectly and the message was submitted.  I believe this question should remain as a bug report, as this sounds like a bug to me.
Here's a pickle: reference style links in markdown are fantastic. Numbered footnotes, however, can be a pain. Named references are a beautiful solution, but the editor seems to choke on them in certain contexts, throwing an error:  your post appears to contain code that is not properly formatted as code...  I've looked at a  and tested it out quite a bit and I'm pretty sure line breaking isn't the problem, named references are valid , and I can get multi-word named references to work basically every time (in this post, even). Is there a reason for named references to be seen as improperly formatted code in certain contexts? At the risk of being verbose (but for the sake of completeness), here's the source of the specific question I was trying to post when I encountered the problem: I'm trying to build a [Google Apps Script] that integrates with [Trello], the idea being to use it to push information from spreadsheets and forms into the [Trello API] and create cards on a `pending` list on a certain board.  I found this [question] on here that pointed me in the right direction, and added in OAuth based on the [GAS OAuth Documentation]. The problem is I can't post the the board. I run the script, the OAuth prompt fires, and the script completes with no errors. I can also `GET` data from the private board, so I assume the authorization is working properly.  So, what am I doing wrong that prevents my script from `POST`ing to Trello?  Here's the code I'm working with:      var trelloKey = [Trello API key];     var trelloSecret = [Trello API key secret];     var trelloList = [the id of the list we're posting to];      var oauthConfig = UrlFetchApp.addOAuthService('trello');         oauthConfig.setAccessTokenUrl('https://trello.com/1/OAuthGetAccessToken');         oauthConfig.setRequestTokenUrl('https://trello.com/1/OAuthGetRequestToken');         oauthConfig.setAuthorizationUrl('https://trello.com/1/OAuthAuthorizeToken');         oauthConfig.setConsumerKey(trelloKey);         oauthConfig.setConsumerSecret(trelloSecret);      function createTrelloCard() {        //POST [/1/cards], Required permissions: write       var payload = {'name': 'apiUploadedCard',                       'desc': 'description',                       'pos': 'top',                       'due': '',                       'idList': trelloList};        var url = 'https://api.trello.com/1/cards'       var options = {'method' : 'post',                      'payload' : payload,                      'oAuthServiceName' : 'trello',                      'oAuthUseToken' : 'always'};        UrlFetchApp.fetch(url, options);     }  [Trello]: http://trello.com [Google Apps Script]: https://developers.google.com/apps-script/ [Trello API]: https://trello.com/docs/ [other question]: http://stackoverflow.com/questions/18710641/trello-api-how-to-post-a-card-from-google-apps-script-gas [GAS OAuth Documentation]: https://developers.google.com/apps-script/guides/services/external#making_requests_to_services_with_oauth  If I'm being a complete dunce, please let me know. It seems like one of those errors where it's either a hardcore backend bug or a really stupid user mistake and I'm ready to admit to the latter.
How many physical degrees of freedom does the $\mathrm{SU(N)}$ Yang-Mills theory have? How do you unpin and move the form in the Visual Studio designer? Electronic visa having Old Passport number How to disable gedit side panel? How do i disable this stupid side panel of gedit, that somehow appeared? There is nothing in the settings or plugins. Tried rm -r -f ~/.config/gedit as well, with no success. I don't have big screen and i find it totally useless and eating up what little free space for editing documents i have. See Screenshot Accessing laptop's hard drive when OS won't boot MWE:  \documentclass[a4paper,12pt,twoside]{memoir} \usepackage{DejaVuSerifCondensed} \usepackage[T1]{fontenc} \begin{document} \noindent\scshape{Hello World}\\ \textsc{Hello World} \end{document}   Explanation and question:  As you can see, I am working with a memoir document class and I've load a font DejaVuSerifCondensed, I am trying to obtain small caps for my header (which I did not place in the MWE as unnecessary). However I can't obtain the desire effect with the \scshape command nor with the \textsc{}.  I've seen other questions like     .   But either they do not adapt to my problem (for what I can see) or they do not solve the problem (following the instructions there and "inserting" the piece of code in mine).  Question here is: is there a general method (piece of code or something) to obtain small caps from a custom font (even if that is one I upload with a ttf)?, if not, what would be the piece of code to select the standard small caps font? I just watched Planet Hulk. At the end the Hulk ends up with someone seemingly almost as powerful as he is. Are the Hulks (Green, Red, and She-Hulk) able to have children? Upgrade SQL Server 2000 database to 2008 R2 and enable new features In the Monster Manual, gargoyles, golems, helmed horrors, and xorns all enjoy either immunity or resistance to:     bludgeoning, piercing, and slashing damage from nonmagical weapons that aren't adamantine   Is it actually possible to obtain a nonmagical adamantine weapon?   Although the Dungeon Master's Guide describes adamantine armor (p.150) and Daern's instant fortress (p.160) as being made of this metal, and provides an AC for destructible adamantine objects (p.246), there's no mention of adamantine weapons. The creation spell (PH p.229) can produce an adamantine weapon that lasts for a single minute. The true polymorph spell (PH p.283) can't turn a regular weapon into adamantine, but it might be able to  for an hour. The only way to obtain a (somewhat) permanent adamantine weapon in the game seems to be to loot one from drow elves (MM p.127). A PC (perhaps even a drow) with proficiency in smith's tools could presumably craft a nonmagical adamantine sword during downtime at 5gp per day (PH p.187), except that unlike silvered weapons, there's no pricing for adamantine.   It's seeming like mugging an NPC drow is the only by-the-book way to tool up against gargoyles. Does a card have a keyword if it has the same effect as said keyword? I was looking at  and found the effect surprisingly similar to the keyword Surveil. To compare, first the wording of Contingency Plan and then the wording of the Surveil keyword:       Look at the top five cards of your library. Put any number of them into your graveyard and the rest back on top of your library in any order.     And       701.41a To "surveil N" means to look at the top N cards of your library, then put any number of them into your graveyard and the rest on top of your library in any order.     They quite clearly are the same, so can I assume the card states "Surveil 5" instead? And if so, does it trigger abilities which state "Whenever you surveil ..."? Were any of the Elves in Tolkien twins? Thinking about the idea of Elves having low numbers overall, got me to wondering: as far as Tolkien's writing, could elves ever have twins?  As a "yes" answer, I need an example of twins (any of JRRT work). They must be full on Elves, not half-Men. As a "no" answer, has to be an explicit statement in his work stating Elves ALWAYS had one child at a time. Anything else is a "maybe, we don't know". How is being able to break into any Linux machine through grub2 secure? How is the ability of a person who gained physical access to your computer to get root with those steps in any way secure?   When grub2 menu opens press  e  to edit the Linux start options Change:   "linux   /vmlinuz-2.6.35-23-generic root=UUID=e7f1e48d-0015-485f-be7d-836217a31312 ro   quiet splash"    to:  "linux   /vmlinuz-2.6.35-23-generic root=UUID=e7f1e48d-0015-485f-be7d-836217a31312 ro init=/bin/bash"  Now you have root access just do:   mount -o remount,rw / passwd user mount -o remount,ro /  sync  reboot the computer and you win.   My question is, how is being able to break into any Linux machine through grub2 secure? I don't understand that fact about Linux, thank you for your answers. Converting Linux into a Router- Traffic from eth0:0 to eth0 So I have been trying to convert my linux box which is running Mint into an router. eth0 has a public address that has 71.xx.xx.xx for an IP addr. I created an eth0:0 and set it an IP address , 10.0.0.100. I started a DHCP server that is on eth0 ( because it wont use eth0:0) and that's giving out addresses between 10.0.0.101 and 10.0.0.200. I can ping between eth0 and eth0:0 on the same machine. I have a another laptop connected to the linux via a switch and its able to receive an ip addr via the DHCP server. Problem is how do I route traffic from and to eth0:0 to eth0 and vice versa so that computers on the private network that is 10.0.0.x can access internet via the static IP on eth0. When a person lifts a book while standing on the earth's surface. Why is his force considered external to the book-earth system? Isn't his force internal like the case of the forces that cause the exploson of a bomb. I think the forces the person exerts on both the book and the earth are internal since they are equal but opposite therefore resulting in the position of the centre of mass of the system being maintained and if i'm right is the mechanical energy of the system constant?  Am i wrong? Please correct me. Inequality $(1+\frac1k)^k \leq 3$ The diagonalizable matrices are not dense in the square real matrices Diff is a great tool to display the changes between two files. But how to display the similarities of two text files (while ignoring the differences)?  I.e. sample input:  a: Foo Bar X Hello World 42  b: Foo Baz Hello World 23   Pseudo output (something like this):  @@ 2,3 =Hello World   Just sorting both files and using comm is not enough, because in that case the line information is lost. How does Java's serialization work and when it should be used instead of some other persistence technique? I've been lately trying to learn more and generally test Java's serialization for both work and personal projects and I must say that the more I know about it, the less I like it. This may be caused by misinformation though so that's why I'm asking these two things from you all:  1: On byte level, how does serialization know how to match serialized values with some class?  One of my problems right here is that I made a small test with ArrayList containing values "one", "two", "three". After serialization the byte array took 78 bytes which seems awfully lot for such low amount of information(19+3+3+4 bytes). Granted there's bound to be some overhead but this leads to my second question:  2: Can serialization be considered a good method for persisting objects at all? Now obviously if I'd use some homemade XML format the persistence data would be something like this  &lt;object&gt;     &lt;class="java.util.ArrayList"&gt;     &lt;!-- Object array inside Arraylist is called elementData --&gt;     &lt;field name="elementData"&gt;         &lt;value&gt;One&lt;/value&gt;         &lt;value&gt;Two&lt;/value&gt;         &lt;value&gt;Three&lt;/value&gt;     &lt;/field&gt; &lt;/object&gt;   which, like XML in general, is a bit bloated and takes 138 bytes(without whitespaces, that is). The same in JSON could be   {     "java.util.ArrayList": {         "elementData": [             "one",             "two",             "three"         ]     } }   which is 75 bytes so already slightly  smaller than Java's serialization. With these text-based formats it's of course obvious that there has to be a way to represent your basic data as text, numbers or any combination of both.  So to recap, how does serialization work on byte/bit level, when it should be used and when it shouldn't be used and what are real benefits of serialization besides that it comes standard in Java? Question: Suppose that $R$ is a commutative ring without zero-divisors.   Show that the characteristic of $R$ is either $0$ or prime.   I have established that every element in a commutative ring $R$ without zero divisors have the same additive order $n$.   Now, if no such additive order n exists, then the characteristic of $R$ is $0$.  Obviously, if a finite additive order exists, Char of $R$ is finite.  How do I show that Char of $R$ is prime? It probably involves lagrange's theorem and the order of the element in $R$.  Hint is appreciated.  Thanks in advance. Two blue arrows at top right of icons