Adding a rectangular box with tikz to table (beamer)
Rectangles around cells in table
Is black a color or absence of color? I have to maintain a large number of classic ASP pages, many of which have tabular data with no sort capabilities at all. Whatever order the original developer used in the database query is what you're stuck with.  I want to to tack on some basic sorting to a bunch of these pages, and I'm doing it all client side with javascript. I already have the basic script done to sort a given table on a given column in a given direction, and it works well as long as the table is limited by certain conventions we follow here.    What I want to do for the UI is just indicate sort direction with the caret character ( ^ ) and ... what?  Is there a special character that is the direct opposite of a caret?  The letter v won't quite cut it.  Alternatively, is there another character pairing I can use? How can I take pictures through a skyscraper, airplane, or train window? Pagination go to first page if i'm on last post I have a custom post type and used get_next_post() and get_previous_post() to create a simple pagination. However i need to create a pagination loop (if that is the correct term). If i'm on the first post i need to browse back to the last post and if i'm on the last post i need to browse to the first post. Is there a simple way to do this that i haven't seen but Google, this site and the codex has not been very helpfull :/  The current code i have is. I've tried to use wp_list_pages and other functions but with little luck.  $next_post = get_next_post(); $prev_post = get_previous_post(); $nav = array(     "next_post" =&gt; array(         "url"       =&gt; get_permalink($next_post-&gt;ID),         "id"        =&gt; $next_post-&gt;ID,         "titill"    =&gt; get_field("vinstri_titill", $next_post-&gt;ID)." - ".get_field("vinstri_undirtitill", $next_post-&gt;ID)     ),     "prev_post" =&gt; array(         "url"       =&gt; get_permalink($prev_post-&gt;ID),         "id"        =&gt; $prev_post-&gt;ID,         "titill"    =&gt; get_field("vinstri_titill", $prev_post-&gt;ID)." - ".get_field("vinstri_undirtitill", $prev_post-&gt;ID)     ), ); Unmet dependencies unable to fix I'm running ubuntu 14.04. I cannot use software center to install anything, even a local deb package so I have to rely on Terminal.  Recently I was trying to install mysql-server which generated error which I could pin-point was the required version of libstdc++6 . My system had 4.8.x while mysql 5.6 required >=4.9. Trying the usual upgrading process and unsuccessful, I consulted my sys admin, who tried installing the 4.9 package manually(using a local .deb package), which failed as well citing unmet dependencies.   At present, what I have is a system with error saying no new software can be installed.  The sudo apt-get install -f gives following output:  Reading package lists... Done Building dependency tree        Reading state information... Done Correcting dependencies... failed. The following packages have unmet dependencies:  libstdc++6 : Depends: gcc-4.9-base (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed  libstdc++6:i386 : Depends: gcc-4.9-base:i386 (= 4.9.2-10) but 4.9.1-0ubuntu1 is installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I checked for held packages using  dpkg -l | grep ^h dpkg -l | grep hold   Result: nothing.  Also tried to find the broken package, if any but the file  /var/log/dist-upgrade/apt.log doesn't exist.  So, what should/can I do now. Downgrading from OS X 10.9.2 to 10.9 How to use an existing database with an Android application As we know, whenever school ends, Harry is sent back to live with the Dursleys, where he suffers from abuse. He would much prefer to live with the Weasleys, and often visits there before returning to school. It stands to reason that they probably don't live that far from each other, since:   Both Harry and the Weasleys use Platform 9&frac34; to get to school Ron was able to take Harry to the Burrow in a flying car within a reasonable amount of time   It's heavily hinted at that the Weasleys are poor. However, it's not like Harry would live there permanently. Three months isn't that bad, not to mention he's pretty well-off from his parents' money. There would be little to no extra expense on the Weasleys.  The only explanation is that Dumbledore goes out of his way to ensure Harry lives with the Dursleys. If so, why is this? This is one thing that keeps bugging me, and maybe there's a direct answer. Grammatically, which one is more correct of these two?  Does it make a difference?  I tried not to do that. I tried to not do that. Commandline shortcut for current directory similar to ~ for home directory? When i use the cp or move command in a terminal window, i'm currently with bash in a certain folder like this.  NES@server:~/Desktop/dir1$   And now i wanna copy a file from here ~/anotherdir/dir2 into the current chosen folder in bash (dir1) i would use the command  cp ~/anotherdir/dir2/file ~/Desktop/dir1   does a shortcut string exist to refer to the current chosen directory? So that in this example i don't have to provide the full path to the target dir, but the command knows it should use the current chosen directory in bash? i.e. as ~ stands for the home directory? How do I get the title of a .pdf document to appear as the page title? Debugging a custom-bib bst file that crashes on book items I created my own bibliography file with custom-bib (makebst), but when I run it with a reference to a book I get:  $ bibtex PhD [...normal output] Database file #1: PhD.bib You can't pop an empty literal stack for entry oecd2001brc while executing---line 1504 of file wdsphd.bst   The only thing on that line is a high-level ITERATE call.   The style was created with these options:  %% merlin.mbs  (with options: `head,exlang,annote,seq-no,nm-rvvc,dt-beg,yr-par,xmth,tit-qq,qx,bt-qq,vol-bf,volp-sp,num-xser,pub-date,isbn,issn,doi,english,pp,ord,url,url-nl,nfss,,{}') %% english.mbs  (with options: `exlang,annote,seq-no,nm-rvvc,dt-beg,yr-par,xmth,tit-qq,qx,bt-qq,vol-bf,volp-sp,num-xser,pub-date,isbn,issn,doi,english,pp,ord,url,url-nl,nfss,,{}') %% merlin.mbs  (with options: `tail,exlang,annote,seq-no,nm-rvvc,dt-beg,yr-par,xmth,tit-qq,qx,bt-qq,vol-bf,volp-sp,num-xser,pub-date,isbn,issn,doi,english,pp,ord,url,url-nl,nfss,,{}')   The code for book items looks like:  FUNCTION {book} { output.bibitem   author empty$     { format.editors "author and editor" output.check     }     { format.authors output.nonnull       crossref missing$         { "author and editor" editor either.or.check }         'skip$       if$     }   if$   format.btitle "title" output.check   crossref missing$     { format.bvolume output       new.block       format.number.series output       new.sentence       format.publisher.address output     }     {       new.block       format.book.crossref output.nonnull     }   if$   format.edition output   format.isbn output   format.doi output   new.block   format.note output   fin.entry   write.url }   And this is the entry:  @book{oecd2001brc,  author = {OECD},  doi = {10.1787/9789264193550-en},  isbn = {9789264186903},  publisher = {OECD Publishing},  title = {{Biological Resource Centres: Underpinning the future of life sciences and biotechnology}},  url = {http://www.oecd-ilibrary.org/science-and-technology/biological-resource-centres\_9789264193550-en},  year = {2001} }   Is there a way to get a better stacktrace from bibtex? What I have now doesn 't really tell me what is going on. If it can be fixed simply, help would also be appreciated. Suppose you want to ask someone to do something, say to tell you the way to a station. Which is more polite, "Would you tell me the way to the station?" or "Could you tell me the way to the station?"? Java String split is not working Random piece of plastic How to remove a partition on a hard disk? Prove that $\mathbb Z^n$ is not isomorphic to $\mathbb Z^m$ for $m\neq n$ Prove that $\mathbb Z^n$ is not isomorphic to $\mathbb Z^m$ for $m\neq n$.   My try:  Let $\mathbb Z^n\cong \mathbb Z^m $. To show that $m=n$.  Case 1: Let $m&gt;n$. Now that $\mathbb Z^m$ has $m$ generators whereas $\mathbb Z^n$ has $n$  generators and an isomorphism takes a generator to generator ; that is the contradiction.  Please correct me if I am wrong.  The case  $m&lt;n$ also follows similarly. What is the trajectory of a photon moving through a vacuum? Since electromagnetic energy is carried by photons and moves in forms of waves, does it mean that a single photon when propagating through space doesn't follow the straight path but instead always moves up and down, up and down like a wave. If so another question arises the speed of propagation of light in vacuum is fixed meaning that it will always take the same amount of time for it to travel from point A to point B, but if a photon always moves up and down it will also mean that it travels longer distance than the distance between A and B and so it ill travel faster than light propagates, is it even possible, could you please clarify these concepts for me? Incompatible Software for next OSX? I understand the move past Snow Leopard meant losing Rosetta, and compatibility with any PPC apps.   Since there are some apps that can't be replaced (for example, old years of TurboTax that I might need to reference) I have a drive to boot Snow Leopard, and one for Yosemite. I was considering the jump to El Capitan, when I saw the question  which got me wondering the question -     Before installing a next generation OS, is there any way to find, in   advance, which apps I have that would be orphaned by the move?   Edit, the answer below from Jean Valjean was what I needed. One app concerning me appeared as follows:    It might be tedious to search many apps, but at least this gives me a chance to view the top ones that will cause me grief. Floating sidebar clash with footer in team page Here is a screenshot from  page, with the floating sidebar: (all good so far)        After I scroll down to footer it just combines both:        Can it please be fixed?