List packages by section
How can I get a list of all packages in a repository section from command line?
Can we apply for a Schengen tourist visa while visiting another country on a short-stay visa? We are Indians and will be visiting UK on short-stay visas for about five months.  Can we apply for Schengen tourist visas while we are in London? Beamer: TOC only once before sections with subsections My presentation consist of multiple sections. Some sections consist of subsection and some not. I want beamer to display the TOC before every subsection and before every section which consists of no other subsection.  Currently, i write in the preamble:  \AtBeginSection[] {     \begin{frame}&lt;beamer&gt;     \frametitle{Inhalt} %     \tableofcontents[currentsection]       \end{frame} }  \AtBeginSubsection[] {     \begin{frame}&lt;beamer&gt;     \frametitle{Inhalt} %     \tableofcontents[currentsubsection]       \end{frame} }   As a result, if a section consist of subsecitons beamer displays the TOC twice before the first subsection in a section, one time for the section and one time for the subsection. That is ugly in my opinion. What can i do? Four balls with different colors in a box, how many times do I need to pick to see all four colors? I am registered on about 80 SE sites, am an "avid user"(>200 rep) on about 30, and a modest user (103-199 rep) on about 20 more.  Once when I tried to ask a question on Open Data (my "new user" site), the "systemwide" 40 minute rate limit kicked in. So I asked on meta , given that my previous post on the site was days ago. So a mod commented by telling me about the systemwide post rule and asking me if I had just come from another site. I said, yes, History (my best site, 40K rep.)  I can see why I would be rate limited on Open Data. I can understand that I would be rate limited if I had come from say, Open Source, another site where I'm a new user. But did the system "rate limit" me as a new user on one site, based on my activity on History, an "established" site?  Also, about the one day new user rate limit after a question is downvoted: Suppose a question on the previous site receives two upvotes and one downvote (net of one upvote). Is that a different situation than receiving one down downvote and no upvotes? Or does the downvote count in both cases, including the one where there were offsetting upvotes? How about if the downvoted question on the previous site was deleted?  I don't have this problem when going from one "established" (greater than 125 rep) site to another. I understand why a person would be "rate limited" going from one new site to another; SE wants people to ask questions 40 minutes apart on their new sites. In my case, I was blocked when I left an "established" site (my best) to go to a new site, which is almost the same as going to a new site de novo.  Why would this be? Or can't the system tell that my "first" site was an established site? Would I have been similarly rate limited if I went first to the "new" site, and 39 minutes later to the established site? Or does the rate limit apply only when the "destination" site is the new site?  Put another way, there are four permutations of established and new sites: 1) established to established 2) new to new 3) established to new and 4) new to established. The block doesn't apply in the first case, does apply in the second case, and apparently applies in the third. What about the fourth? And why? Because it is not "uniform" across sites in the four cases.   Edit: Unlike the other question, this one is not about the general rule. It is about the "special case" described in the paragraph above. I am having trouble with the following problem:   $f: N\times N\rightarrow N$ and $f(i,j)=2^{i-1}(2j-1)$. Prove that $f$ is a bijection thus $N\times N$ and $N$ are numerically equivalent.   Work: I am told that Euclid's Lemma will be useful to proving injection and also that for any positive integer $n$, $n$ is a product of prime numbers.   For injection, I set $f(a,b)=f(x,y)\rightarrow 2^{a-1}(2b-1)=2^{x-1}(2y-1)$.  Then I distributed across to get $2^ab-2^{a-1}=2^xy-2^{x-1} \rightarrow 2^ab-2^xy=2^{a-1}-2^{x-1} \rightarrow 2(2^{a-1}b-2^{x-1}y)=2^{a-1}-2^{x-1}$.   From here, I am unsure how to apply Euclid's Lemma to arrive at the injection result.  I am even more unsure how to prove surjection. Compute the Riemann integral  $$\int_0^{\frac\pi2}\frac{\mathrm d \theta}{\sqrt{\sin \theta}}$$  It seems very difficult, I don't know how to go ahead.  Thank you very much for your help! Hereditary properties with nested frames (mdframed and tikz) I get it after updating in Synaptic Manager  I recently did a clean install of Ubuntu 17.04 from 16.10.  error message:-  W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/samba-libs_2%3a4.5.8+dfsg-0ubuntu0.17.04.1_i386.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) Execute PowerShell Script from C# with Commandline Arguments I need to execute a PowerShell script from within C#. The script needs commandline arguments.  This is what I have done so far:  RunspaceConfiguration runspaceConfiguration = RunspaceConfiguration.Create();  Runspace runspace = RunspaceFactory.CreateRunspace(runspaceConfiguration); runspace.Open();  RunspaceInvoke scriptInvoker = new RunspaceInvoke(runspace);  Pipeline pipeline = runspace.CreatePipeline(); pipeline.Commands.Add(scriptFile);  // Execute PowerShell script results = pipeline.Invoke();   scriptFile contains something like "C:\Program Files\MyProgram\Whatever.ps1".   The script uses a commandline argument such as "-key Value" whereas Value can be something like a path that also might contain spaces.  I don't get this to work. Does anyone know how to pass commandline arguments to a PowerShell script from within C# and make sure that spaces are no problem? How to write startup script for Systemd? I have 2 graphics cards on my laptop. One is IGP and another discrete.   I've written a shell script to to turn off the discrete graphics card.  How can I convert it to systemd script to run it at start-up? "X Department" versus "Department of X" I would like to know whether these phrases "English Department" and "Department of English" have the same meaning. Thanks! How can I use the instant messenger program Kik - most commonly installed on smartphones and other mobile devices - on a laptop or desktop running Win7Pro, without a phone being involved and without needing any kind of Google account?  The two ways of using Kik from my laptop that I have so far found are both inadequate, or at least I do not how to tweak them to make them meet the requirements.  The first is to install on my laptop the Bluestacks emulator of Google's Android operating system, and then to run Kik on it. Unfortunately to run Kik on Bluestacks requires (or at least I have not found a way to avoid) having a Google Play account.  The second is to run Bluestacks on Manymo, the online emulator of Google's Android OS. Unfortunately, using Kik on Manymo similarly requires a Google Play account.  I realise Kik was made for use on a mobile OS, but it is supposed to be cross-platform where mobile OSes are concerned, and therefore not to be tied into Google's mobile OS - or, as far as I know, into any other software supplied by Google or any procedure prescribed by that company, such as giving it personal information - so I am optimistic that someone will be able to advise on what I am asking for here.  I notice that Microsoft have made a , so there might be a way to get Kik to work on this without dealing with Google. I couldn't find anything online about this, though. What are all the correct answers to the Squirrel's questions, and what is the reward when I get them all correct? I encountered The Squirrel at "A tree."              |   |                                                                         |   |                     "   Hello, I'm The                        |             |                        Squirrel. I can                        |             |                      provide you candies,                     |             |                      and lots of things.                                    |                      I know how much you                                    |        _.-'''-,      love candies. But I                                    |      .'        `\     feel alone in this                                    |     /           /          forest.       "                         |        |    /      .--^_^                                                   |        |    |     /  C ,,\                                                           |    |    |   \  _.)                           ___                            |     \   |   /  \                   ____.----'.-'                            |      '-, \./ \)\)               .-' --  __.-'                   |            \        `-/   );/           ___/  - _.-'                        |             \_________''--'-'________.-' --    /                            |              -   --        -  -     -     __.-'                                              -    --    -     --   --  /                                                 _________________________.-'                                 He asks you some questions. What are the correct answers, and what is the reward for getting them correct? What is the correct way to create a single-instance WPF application? Show that $\lim _{r \to 0} \|T_rf−f\|_{L_p} =0.$ I am having a hard time with the following real analysis qual problem.  Any help would be awesome.  Suppose that $f \in L^p(\mathbb{R})$, where $1\leq p&lt; + \infty$. Let $T_r(f)(t)=f(t−r)$. Show that $\lim_{r \to 0} \|T_rf−f\|_{L_p} =0$, that is $$ \lim_{r\to 0} \left( \int_{\mathbb R} |f(t-r) - f(t)|^p \mathrm d t\right)^{1/p} =0.$$ Using Regular Expressions to Extract a Value in Java I have several strings in the rough form:  [some text] [some number] [some more text]   I want to extract the text in [some number] using the Java Regex classes.  I know roughly what regular expression I want to use (though all suggestions are welcome). What I'm really interested in are the Java calls to take the regex string and use it on the source data to produce the value of [some number].  EDIT: I should add that I'm only interested in a single [some number] (basically, the first instance). The source strings are short and I'm not going to be looking for multiple occurrences of [some number]. AWS S3, Paperclip missing required :bucket option Looking for illustrator script to swap all objects with another I have a map with small circles for over 200 cities. I need to change all of the circles into map pins. Is there a way to do this? I think it's a script maybe.   I know how to select all objects of the same appearance and give them a new graphic style but that will only let me change the color, stroke, etc. not replace with a new shape. Edits on closed posts Should questions or answers on questions that are closed be edited, even if the question is closed and the edit does not change anything about the reason it's closed? Example:  was just edited, which I saw in the review queue. It certainly improves the answer, but since the answer doesn't really have to exist on SE at all (because the question is off-topic), should this edit be made? In my understanding, the only reason that the edit option for a closed question is not greyed out is so that it can be edited to make it comply with the SE rules. Does priority matter in Magic?