W: Problem unlinking the file lists - Clean (21: Is a directory) Error when running 'sudo apt-get update'
apt-get update, unlinking
Secure an Ubuntu OpenSSH server from Brute force attacks but without a firewall or SSH key pair? I use Ubuntu 16.04 and seek to harden my SSH authentication in a special manner.  The current situation:  I have a machine with a minimal Ubuntu server I use mainly to transfer files to via its local OpenSSH server. Now, I don't have a firewall on that machine from a few reasons and I also avoid using a key pair hence I use only a password. One of the only ways I have left to defend from brute force attacks, and the one I most desire at the moment, is using a mechanism that blocks a user for X amount of hours, after Y amount of connection tries.  The desired situation:  I wish to have a standalone mechanism (that is, not as part of a firewall) that blocks a user for X amount of hours, after Y amount of connection tries as a way to defend from brute force attacks.  My Question:  Do you know a utility (and specific configuration) that will let me achieve the desired situation? Which registry keys are impacted with Xerox Printer driver installation? I am implementing a driver deployment with Samba.  Every possible model of printer found an easy solution, except for Xerox Workcenter.    After browsing the Internet, I found that Xerox printer driver has to change some registry keys in order to work, keys which are changed by the executable downloadable on the manufacturer website.  Do you know which key are impacted by the Xerox Workcenter GPD driver?  This corresponds to the error message I get while uploading to Samba, which asks the position of a file named as a registry key.  I browse Samba bug tracker and they did not specify which registry key are impacted.  I contacted Xerox itself, but despite that fact that we have a support contract and really a huge number of workstations, it seems that Xerox is not willing to help us. As you may know, Facebook allows users to choose a "vanity URL," allowing easy linking to one's profile. However, once set, this URL cannot be changed and this was done for security reasons, understandably.  I have a friend whose now ex-partner set the URL to be "herfirstname.hislastname" without her permission. She tried to change it after this, but to no avail.  Has anyone successfully contacted Facebook and got them to either disable the name and revert back to an ID or change the name to another? How to set a proxy for terminal? I am looking to set a proxy for terminal. What I need is I want to send all terminal communications to the internet through a proxy, say tor.   I tried to set a system wide proxy set up. But Terminal doesn't obey the system wide proxy configuration.  Is there any other way to do this? How to handle fragmentation of auto_increment ID column in MySQL Is there a way to enable the JavaScript Error/Debug Console for Safari within Android? What are some efficient ways to combine two structures in MATLAB? I want to combine two structures with differing fields names.  For example, starting with:  A.field1 = 1; A.field2 = 'a';  B.field3 = 2; B.field4 = 'b';   I would like to have:  C.field1 = 1; C.field2 = 'a'; C.field3 = 2; C.field4 = 'b';   Is there a more efficient way than using "fieldnames" and a for loop?  EDIT: Let's assume that in the case of field name conflicts we give preference to A. $f:I=[\pi,2\pi]\to \mathbb{R}^2$ be given by $f(t)=(\cos t,\sin t)$  which of the following are necessarily correct?  $1$. $\exists t_0\in I$ such that $f'(t_0)=\frac{1}{\pi}(f(2\pi)-f(\pi))$  $2$. $\nexists t_0\in I$ such that $f'(t_0)=\frac{1}{\pi}(f(2\pi)-f(\pi))$  $3$.$\exists t_0\in I$ such that $\pi||f'(t_0)||\ge ||(f(2\pi)-f(\pi)||$  $4$. $f'(t)=(-\sin t,\cos t)\forall t$  $4$ is clearly true, $1$ is true by Mean Value Theorem as $f$  satisfies all the conditions of MVT? have no idea of $2$ and $3$, Thank you for help Uniformly convergent implies equicontinuous I'm trying to prove that if I have a sequence of continuously differentiable functions $f_n$ that converge uniformly on $[a,b]$, then $\{f_n\}$ is equicontinuous for all $x_0 \in [a, b]$. My idea is to use uniform convergence to deal with the &quot;tail&quot; and then use continuity to deal with the finitely many $f_n$'s left. But I'm having trouble writing it down. How to extract the n-th elements from a list of tuples? Assigning point IDs to respective start and end attributes of polyline? I have two shapefiles, Point and Polyline. I'm trying to populate my polyline layer with the point data ID (systemID) where the lines start to where they end; eg. create two columns (from and to). The lines already have flow direction assigned to them. I am using ArcHydro tools but Arcpy is also fine.  In ArcHydro I have tried using Attribute Tools > Generate From/To Nodes for lines but it creates values for To and From that are not from my point data. My other alternative was using Feature to Vertices and joining the result to my point data table to get the systemID. But then I would have to update the polyline layer as well. I am sure there is a easier way of doing it.  Note: not all the lines have points at the vertices, blank values are fine for them. I have read the thread regarding , but it does not answer my question.  I am confused about the notation for change in Physics. In Mathematics, $\delta$ and $\Delta$ essentially refer to the same thing, i.e., change. This means that $\Delta x = x_1 - x_2 = \delta x$. The difference between $\delta$ and $d$ is also clear and distinct in differential calculus. We know that $\frac{dy}{dx}$ is always an operator and not a fraction, whereas $\frac{\delta y}{\delta x}$ is an infinitesimal change.   In Physics, however, the distinction is not as clear. Can anyone offer a clearer picture? Proving that if $|f''(x)| \le A$ then $|f'(x)| \le A/2$ Suppose that $f(x)$ is differentiable on $[0,1]$ and $f(0) = f(1) = 0$. It is also   known that $|f''(x)| \le A$ for every $x \in (0,1)$. Prove that   $|f'(x)| \le A/2$ for every $x \in [0,1]$.   I'll explain what I did so far. First using Rolle's theorem, there is some point $c \in [0,1]$ so $f'(c) = 0$.  EDIT: My first preliminary solution was wrong so I tried something else. EDIT2: Another revision :\  I define a Taylor series of a second order around the point $1$: $$ f(x) = f(1) + f'(1)(x-1) + \frac12 f''(d_1)(x-1)^2 $$ $$ f(0) = f(1) + f'(1)(-1) + \frac12 f''(d_1)(-1)^2 $$ $$ |f'(1)| = \frac12 |f''(d_1)| &lt;= \frac12 A $$  Now I develop a Taylor series of a first order for $f'(x)$ around $1$: $$ f'(x) = f'(1) + f''(d_2)(x-1) $$ $$ |f'(x)| = |f'(1)| + x*|f''(d_2)|-|f''(d_2)| \leq \frac{A}{2} + A - A = \frac{A}{2} $$  It looks correct to me, what do you guys think?  Note: I cannot use integrals, because we have not covered them yet. "It looks straightforward, but actually it isn't" Connect iPhone to Mac Without Charging I am developing iOS apps and I hate, that always when I connect my iPhone to my Mac to install and test an app, the iPhone gets charged. Is there any possibility to connect my iPhone to my Mac without charging the phone?    My Environment: -  iPhone 4S (No Jailbreak) -  MacBook Air3,2 (Late 2010) QGIS apply style to shapefile How do I calculate standard errors for sums of OLS coefficients? It looks as if the 10k-tools flagged post list is b0rken.  Next to the review link in the toolbar there is a flag counter showing there are 10 flags to be reviewed:    Clicking on that flag counter leads to an empty page:        The moment I visit that page (through clicking on the flags counter, or by going to the review queue first then clicking on Tools, selecting the flags tab if not already selected), the flags counter disappears from the toolbar:    but after a while (half an hour, an hour?) the flag count re-appears in the toolbar.  Either the counter is wrong (presumably taken from a Redis cache somewhere) or the 10k flag review page is falling over every time someone tries to load it.  This at first appeared to happen only on Meta, on Stack Overflow the flags page has plenty to review. However, there are now  on Stack Overflow. Reflection to Identify Extension Methods In C# is there a technique using reflection to determine if a method has been added to a class as an extension method?  Given an extension method such as the one shown below is it possible to determine that Reverse() has been added to the string class?  public static class StringExtensions {     public static string Reverse(this string value)     {         char[] cArray = value.ToCharArray();         Array.Reverse(cArray);         return new string(cArray);     } }   We're looking for a mechanism to determine in unit testing that the extension method was appropriately added by the developer.  One reason to attempt this is that it is possible that a similar method would be added to the actual class by the developer and, if it was, the compiler will pick that method up. So this is a question with which I have been stuck for a while and it all revolves around the concept of volt.  I have posted a LOT of questions on physics forums while trying to understand the concept of volt and potential difference. This is hopefully going to be the last one.  What do you exactly mean when you say that a battery is 2.5 V. I know that it says that the potential difference between the 2 terminals of the battery is 2.5 V  but then what is the potential of the 2 ends of the battery? Is there a unit of potential and not just potential difference?  Also volt = work/charge but how can work/charge express the difference of potentials across the 2 terminals?