Not able to see client id and client secret in the connected app
Where do I find the client id and client secret of an existing connected app?
How to add greek polytonic with setxkbmap I want to add greek polytonic keyboard layout under Lubuntu (so in LXDE). I already realized there is no easy tool to do it with the graphic interface, so I need to use setxkbmap executing something the like of:  setxkbmap pl,gr   Now, how to make setxkbmap set the greek polytonic variant? What is a reasonable sample size for correlation analysis for both overall and sub-group analyses? I am running Pearson's correlation on an overall sample of 400 respondents.   When I isolate male and female responses, my sample becomes 220 male responses and 180 female responses.   If I further isolate male and female responses by (say) age groups, some sample sizes become as low as 35 responses (for example, for females over the age of 65).  My question: How good are these sample sizes for correlation analysis? (I am looking at the relationship between income levels and overseas travel.)   (I think this has something to do with margin of error but how does this apply to inferential analysis which is based on probability. I can understand its role in descriptive statistics such as results of a political poll). Why does an environment's label have to appear after the caption? \documentclass{article} \usepackage{algorithm}  \begin{document} \setcounter{section}{54} \section{A section with no label} \begin{algorithm} \label{myalg} \caption{An algorithm with the label `myalg'.} \end{algorithm} Reference to myalg: \ref{myalg}. \end{document}   With this code, the reference givens 55 (the section number); if I move the label after the caption command, I get the correct reference (1).  Why should this be the case? I find it confusing: when thinking about an algorithm as an environment, you expect to be able to label it right after you began it. At the very least I would expect some kind of error or "??" to appear, rather than the previous environment or reference-able entity being used. The origin of the value of speed of light in vacuum Anthology series with suspended animation and a galaxy-wide empire? Arrive steering behavior Cheaper zoom lenses usually are faster at the wide end and slower at the long end (for example, the $150 Canon EF-S 18-55mm f/3.5-5.6). More expensive constant-aperture zoom lenses have the same aperture regardless (for example, $800 Canon EF 17-40mm f/4.0 L).  My question is: are these good lenses  at the wider settings, or do they have a different optic system that allows them to maintain the same aperture throughout the zoom range? Mac OS X 10.6 executable not found without full path I just installed Apache via MacPorts. It seems that my Mac was absolutely confused about which version of the Apache executables to run.  After moving the Apache executables that ship with the Mac to a directory that is not listed in the PATH variable, trying to run the httpd built by MacPorts fails even though the correct directory (/opt/local/apache2/bin) is listed in the PATH variable.  If I navigate to the directory /opt/local/apache2/bin and type the command httpd I still get the error message     -bash: httpd: command not found   If I type the command with the full path /opt/local/apache2/bin/httpd it works fine.  I've run the command alias to see if something was clashing but the only thing listed is:  alias wget='curl -O'   How do I find what is intercepting the command and preventing the executable being found in the directory, even when I'm inside the same directory?  By the way, the httpd file is executable:  -rwxr-xr-x  1 root      admin  442496  9 May  2012 httpd Why Process Builder doesn't work on Delete Scenario? Image looks embossed when converted to SVG Why the pressure of atmosphere doesn't crush you when you e.g. walk outside? Why the pressure of atmosphere doesn't crush you when you e.g. walk outside? I mean the density of air is $1.26 kg/m^3$, so with $100 km$ above us, it exerts much pressure on you when you walk outside. Can a PC with the Alert feat alert his friends? How do I change the screen resolution using Ubuntu command line? How can I filter items with a certain enchantement? How to save the render result within Blender Is it possible to render an image and have blender remember it, so that next time I open the file the render result will not be blank?  I am not talking about saving to an external file.  Specifically I would like to render an image, close blender, and come back later and be able to do some compositing on the render without having to waste a half an hour rendering it again (my GPU drivers are messed up so I have to use the CPU).  Currently the render result is blank when ever I open a file. How to avoid the wrinkle at the poles of the UV sphere? When I create a UV sphere and add the subdivision surface modifier, the following wrinkle appears.    How can I avoid it?  I've read the article  but there seems to be no clear solution.  UPDATE 1  I've used the word 'apply' in the first sentence of the initial version of this question. It's misleading since I want to preserve the modifier without 'applying' it. Rather, what I meant is 'adding' the modifier.  UPDATE 2  I followed josh sanfelici's solution, but still there is an artifact at the pole.  Here is the screen: (A rendered view with a sun lamp)    Maybe it's the limitation of the general-purpose subdivision modifier.  BTW, when the cast modifier is added after the subdivision modifier, the sphere becomes perfect (even for my original wrinkled sphere).  But since I want to edit the resulting sphere (for example, scaling X, Y, etc) while modifier is added but not applied, it's not usable. Python idiom to return first item or None I'm sure there's a simpler way of doing this that's just not occurring to me.  I'm calling a bunch of methods that return a list.  The list may be empty.  If the list is non-empty, I want to return the first item; otherwise, I want to return None.  This code works:  my_list = get_list() if len(my_list) &gt; 0: return my_list[0] return None   It seems to me that there should be a simple one-line idiom for doing this, but for the life of me I can't think of it.  Is there?  Edit:  The reason that I'm looking for a one-line expression here is not that I like incredibly terse code, but because I'm having to write a lot of code like this:  x = get_first_list() if x:     # do something with x[0]     # inevitably forget the [0] part, and have a bug to fix y = get_second_list() if y:     # do something with y[0]     # inevitably forget the [0] part AGAIN, and have another bug to fix   What I'd like to be doing can certainly be accomplished with a function (and probably will be):  def first_item(list_or_none):     if list_or_none: return list_or_none[0]  x = first_item(get_first_list()) if x:     # do something with x y = first_item(get_second_list()) if y:     # do something with y   I posted the question because I'm frequently surprised by what simple expressions in Python can do, and I thought that writing a function was a silly thing to do if there was a simple expression could do the trick.  But seeing these answers, it seems like a function is the simple solution. Where can I find out when the next kernel version will be released for my distro version? I checked the , , and  wiki pages but still cannot seem to find a complete answer to this.  When using an LTS release like 18.04, is there somewhere public that can be checked to determine what kernel versions are being tested and when they are anticipated to be released for it? I would like to use 4.19, for example, but would like to know how to check this for any anticipated kernel release.  I know I could potentially just install the 4.19 kernel myself but I would rather know when it (and future kernel releases) were in the release pipeline. Is there somewhere on Launchpad that I could check? Somewhere else? Where are the Ubuntu kernel package maintainers doing their work? What is the method to make files in a USB Flash Drive undeletable? Does these method work with USB 3.0 interface?  (I have surveyed some Flash Drive manufacturers, and I only see undeletable files for USB 2.0 drives, and not 3.0 drives. One manufacturer claimed that USB 3.0 cannot do undeletable file, so I am curious whether the claim is correct...) How do I boot into recovery mode?