Parse timezone abbreviation to UTC
Parsing date/time string with timezone abbreviated name in Python?
Correct way of mounting a Windows share I mounted a Windows share to my Ubuntu 11.10 system via adding the following line to the /etc/fstab:  //serveraddr/sharedfolder /mnt/foldername/ smbfs credentials=/home/myname/.smbpasswd 0 0  using the .  But there's a problem with the permissions. The owner of the mount folder is root. I can not create any folders or files in the mounted point is I don't become the root. Even I can not change the ownership to my default user via   sudo chown -R myname .  I googled and saw that it might stem from the fact that Windows file formats (fat32/ntfs) can not save ownership. But when I connect to the same location via samba as   smb://serveraddr/sharedfolder  by providing my credentials, I have the privileges to write without being the root.  How can I make it to let me write to the mounted folder? Can Sasuke use Tsukuyomi? Why can't I join a friend's world on Minecraft PE? I'm on my tablet playing Minecraft PE. My boyfriend rang me and asked me to join his Minecraft PE world. However, I can't do it because the game doesn't show his world. What's wrong and how can I fix it? Annoying flickering in 16.04 LTS - Chrome I've upgraded from 4.4.0 to 4.4.8 and then 4.5.2 on Ubuntu 16.04 LTS 64-bit, and it's still happening.   At 4.5.2 it's even more frequent, and mainly in Chrome (haven't tried firefox or opera just yet). Every time I open a new web page. Any way to fix that, or is it a bug?  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09) 04:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Venus XTX [Radeon HD 8890M / R9 M275X/M375X] (rev 81)   Cheers. The editor asked me to use the following format.      Reference   1. Author, blah blah   Instead of      Reference   [1] Author, blah blah ...   Even though in the main text, [1] style has been used.   For example,        Smith [1] has proposed ...      Reference   1. Smith,      This is what I want.   Could you please advise how I can do the above?  Thanks in advance. Prove norm doesn't come from inner product. Please help me prove this. I'm not sure how to apply the parallelogram law to the norm. I want to  GRANT SELECT     ON ALL TABLES     TO foo;   But postgres tells me I have a syntax error at "TO". It expects a GRANT like:  GRANT SELECT     ON ALL TABLES     IN SCHEMA public     TO foo;   We have a handful of tables that have been sharded such that public, shard123, and shard124 all have a table my_table, and public.my_table is the parent of both shard123.my_table and shard124.my_table. I've GRANTed SELECT to foo for public schema, but foo doesn't have permission for any of the shard schemas.  I've also done:  ALTER DEFAULT PRIVILEGES     FOR ROLE dba     GRANT SELECT     ON TABLES     TO foo;   ...which should automatically grant for any new tables and schemas made from now on.  There are 1000 &lt; n &lt; 10000 shards/schemas, so GRANTing separately for each shard/schema is impractical.  How can I GRANT to a role for all existing tables across all existing schemas (all shards)?  Or even better, can I GRANT for all schemas LIKE 'shard%'? What are the best SEO practices when changing domain names? I'm using the Yoast SEO plugin on a WordPress site on a new, more memorable domain to replace an old static HTML site with no SEO. I've followed , set up 301 redirects from the old domain to the new one, and filed a change of address in the Google Search Console. However, after a few days, the old site still shows in search results, and is ranked higher than the new one if you google our company name.   And, if I try to set the preferred domain in the Google Search Console Site Settings for the new site, I see this in place of the options to prefer www/non-www/http/https:     Not all options are available because of a Change of Address request   related to this site.   I've read of some cases where this condition has lasted for .  Is there anything more I can do to fix this? Have I done something wrong, or do I just need to wait, and for how long? I asked a question  but, rather stupidly, added extra information after it had been answered.  My additional question is this: I have a table with varying lengths of words. I want to encircle different groups of cells, including diagonals. If possible, it would be great if the rectangles don't overlap each other where possible.  I looked at the answer , which, whilst tedious, worked except for the overlap.    This is where I've got to so far:  \documentclass[fleqn,12pt,a4paper,landscape]{article}  \usepackage{tikz} \usepackage{tabularx}  \begin{document}  % Introduce a new counter for counting the nodes needed for circling \newcounter{nodecount} % Command for making a new node and naming it according to the nodecount     counter \newcommand\tabnode[1]{\addtocounter{nodecount}{1} \tikz \node     (\arabic{nodecount}) {#1};}  % Some options common to all the nodes and paths \tikzstyle{every picture}+=[remember picture,baseline] \tikzstyle{every node}+=[inner sep=0pt,anchor=base, minimum width=1.8cm,align=center,text depth=.25ex,outer sep=1.5pt] \tikzstyle{every path}+=[thick, rounded corners]  \begin{table}[ht]   \begin{minipage}[b]{1 \linewidth}\centering    \begin{tabular}{cccccc} % Turn the cells needed for defining the circling paths into nodes with our     custom command \tabnode{Long ago}&amp; \tabnode{A few days ago}&amp; \tabnode{Day before         yesterday}&amp; \tabnode{Yesterday} &amp;  &amp;  \\      &amp; &amp; &amp;  &amp; \tabnode{Today} &amp; \tabnode{Now}\\      \tabnode{Long time in the future}&amp; \tabnode{A few days on}&amp;     \tabnode{Day after tomorrow}&amp; \tabnode{Tomorrow} &amp;  &amp; \\      \end{tabular}    \end{minipage}   \begin{tikzpicture}[overlay] % Define the circle paths \draw [blue](1.north west) -- (1.north east) -| (7.north east) |- (7.south     west) |- (1.north west); \draw [red](8.south west) -| (2.north east) -| (2.south west) |- (8.south     west); \draw [yellow](9.south west) -| (3.north east) -| (3.south west) |- (9.south     west); \draw [green](8.south west) -| (3.north east) -| (2.south west) |- (8.south     west);   \end{tikzpicture}  \end{table} \end{document}  %%% Local Variables:  %%% mode: latex %%% TeX-master: t %%% End: I observed some naive examples. Spheres, for example, when we cut out one point, can be embedded into $\mathbb{R}^n$. And if we cut out a measure zero set of a projective space, it can be embedded into the Euclidean space of the same dimension. So I wonder if all manifolds can be embedded into a same dimensional Euclidean space when we cut out a measure zero set? Can anyone prove it or disprove it by giving me some counterexamples? How can I charge my iPhone without waking up my MacBook Pro? A floor is paved with rectangular marble blocks,each of length $a$ and breadth $b$.A circular block of diameter $c(c&lt;a,b)$ is thrown on the floor at random.Show that the chance that it falls entirely on one rectangular block is $\frac{(a-c)(b-c)}{ab}$  I thought over this problem,i found total number of cases as area of rectangular marble block,but i cannot find the favorable number of cases.Favorable number of cases cannot be area of rectangular marble block$-$ area of circular block,as the answer suggests.What should be the correct logic,please help. How do you collect valuable information from regular "User Group" meetings? The scenario:   You work on a SaAS application.  Some of your users use your application heavily each day. Every 2 weeks (or month or whatever), a "User Group" of your most avid users gets together to talk shop and see how their progress is going in the context of a larger project they are working on. You can participate and potentially direct some group activities aimed at improving the application.   How do you gather valuable user information in this group setting? I need a quick algorithm to select 5 random elements from a generic list. For example, I'd like to get 5 random elements from a List&lt;string&gt;. I'm working on the question     Let $G$ be the group of invertible real matrices of the form $\left [\begin{array}{c c}a &amp; b\\ &amp; a^2\end{array}\right ]$. Determine the Lie algebra $L$ of $G$, and compute the bracket on $L$.   I'm familiar with how to derive the Lie algebra for a linear group like $U_n$, $SU_n$, etc. but I'm not sure what to do in a more explicit case like this. Analysing the "kind(s) of problem(s) are [ones]/[to be]" construction A. These kinds of problem are to be avoided. B. These kind of problems are to be avoided.  Are both A and B grammatical? If not, why not? If so, after having noticed the parallelism between A and C, and between B and D, could we say that C and D are &quot;standard&quot; English, too?  C. These kinds of problem are ones to avoid. D. These kind of problems are ones to avoid. Number of possible permutations of n1 1's, n2 2's, n3 3's, n4 4's such that no two adjacent elements are same? How can Yoda identify Darth Bane? In the final episode of season 6 of The Clone Wars, (spoilers)      The mystical priestesses conjure up an illusion of Darth Bane, the ancient Sith Lord who started the Rule of Two. Just by visual inspection, Yoda knows the ancient Sith Lord's name and that he was the one who started the Rule of Two.   Darth Bane was around roughly a century before Yoda was born. It also seems like all of the Jedi who ever encountered him did not live long enough to talk about it (for example, the duel on Typhon). By the time Darth Zannah took the mantle as Dark Lord of the the Sith, the Jedi were convinced that the Sith were extinct.   explains how the Jedi found out about the Rule of Two, but it doesn't explain how Yoda was able to learn about the identities of the members of the Order of the Sith Lords. What is the person called who always thinks negative? E.g.        Mr. X always thinks negative.   Mr. X has negative attitude.      What we can use either? Is there any particular word for this? Upon answering the telephone, the person calling asks if Joan is available. If Joan is the person who answered the phone, should she say "This is her" or "This is she"?