I have misplaced my iPhone 6s password and it is saying it's disabled due to too many tries.
I forgot my iPhone 5 passcode when I was changing the code. A window appeared on the device screen saying that iPhone is disabled.  I have Apple ID and password for it. After signing in to iCloud I have erased the device in order to remove the passcode from my iPhone but it still says that device will be erased when device will connect to internet. What would i have to do?
Listing, zebra effect and broken lines In , I've found one solution to produce a zebra effect for listing. Unfortunately, this only works if the lines are not broken. Is there a way to fix this?  Here is a code with an example showing the problem:  \documentclass[10pt,a4paper]{article}     \usepackage[utf8x]{inputenc}     \usepackage{ucs}     \usepackage[T1]{fontenc}     \usepackage{lmodern}     \usepackage[frenchb]{babel}     \usepackage[x11names, svgnames]{xcolor}     \usepackage{graphicx}     \usepackage{listings}     \usepackage{amsfonts}     \usepackage{amssymb}      \makeatletter         % Patch line number key to call line background macro         \lst@Key{numbers}{none}{%             \def\lst@PlaceNumber{\lst@linebgrd}%             \lstKV@SwitchCases{#1}%             {none&amp;\\%              left&amp;\def\lst@PlaceNumber{\llap{\normalfont                         \lst@numberstyle{\thelstnumber}\kern\lst@numbersep}\lst@linebgrd}\\%              right&amp;\def\lst@PlaceNumber{\rlap{\normalfont                         \kern\linewidth \kern\lst@numbersep                         \lst@numberstyle{\thelstnumber}}\lst@linebgrd}%             }{\PackageError{Listings}{Numbers #1 unknown}\@ehc}}          % New keys         \lst@Key{linebackgroundcolor}{}{%             \def\lst@linebgrdcolor{#1}%         }         \lst@Key{linebackgroundsep}{0pt}{%             \def\lst@linebgrdsep{#1}%         }         \lst@Key{linebackgroundwidth}{\linewidth}{%             \def\lst@linebgrdwidth{#1}%         }         \lst@Key{linebackgroundheight}{\ht\strutbox}{%             \def\lst@linebgrdheight{#1}%         }         \lst@Key{linebackgrounddepth}{\dp\strutbox}{%             \def\lst@linebgrddepth{#1}%         }         \lst@Key{linebackgroundcmd}{\color@block}{%             \def\lst@linebgrdcmd{#1}%         }           % Line Background macro         \newcommand{\lst@linebgrd}{%             \ifx\lst@linebgrdcolor\empty\else             \rlap{%                 \lst@basicstyle                 \color{-.}% By default use the opposite (`-`) of the current color (`.`) as background                 \lst@linebgrdcolor{%                 \kern-\dimexpr\lst@linebgrdsep\relax%                 \lst@linebgrdcmd{\lst@linebgrdwidth}{\lst@linebgrdheight}{\lst@linebgrddepth}%                 }%             }%             \fi         }     \makeatother      \lstset{ %    * Number for lines         numbers=left,                   % Where to put the line-numbers         numberstyle=\footnotesize,      % Size of the fonts used for the line-numbers         stepnumber=1,                   % Step between two numbers         numbersep=5pt,                  % How far the line-numbers are from the code % %    * Back returns for long lines         breaklines=true,                % Sets automatic line breaking         breakatwhitespace=false,        % Automatic breaks only happen at whitespace ?         breakindent=0pt,                % Space before the text of a break         postbreak=\mbox{                % Character used at the begining of a break             \rotatebox[y=0.9ex]{180}{\color{Red} $\Lsh$}%         },     }  \begin{document}  \begin{lstlisting}[language=Python,linebackgroundcolor={\ifodd\value{lstnumber}\color{gray}\fi}] for i in range(5): for i in range(5): for i in range(5): for i in range(5): for i in range(5): for i in range(5):     sum += i**3 print sum  print('Fin de la boucle...') \end{lstlisting}  \end{document} Installing debian package through Synaptic I want to install a .deb file. After going through various questions, I came across these three options: dpkg, GDebi and Ubuntu Software Center. However, I want to install the. Deb file via Synaptic Package Manager only. Is there any method by which I can install. Deb file as well as all it's dependencies via Synaptic Package Manager? Two Answers, One Question Sometimes, when I answer a question on Stack Overflow, I have two different answers that are equally valid. This happens most when answering architectural questions where there are many valid ways to solve a problem.  Is it better to put each alternative into a single answer, or put each alternative in its own answer?  Posted each alternative separately will allow the voting system to float the best answer to the top, but I don't want to be accused of rep whoring by "flooding" a question with answers.  What's your opinion? One or two answers? I have some auto-generated T-SQL, which is probably valid, but I don't really understand.  ALTER TABLE [dbo].[MyTable] WITH CHECK CHECK CONSTRAINT [My_FORIEGN_KEY];   I know what a foreign key constraint is, but what's the CHECK CHECK? Does this exist: software for noise cancellation I am trying to think of what the name of the word/phrase is for when: An important task (not a difficult one, but a mission critical one) is at hand and instead of one person being assigned to it, a group takes on the responsibility to mitigate any consequences happening to one person in case something goes wrong and also to prevent a mistake or malicious intent occurring from one persons doing. (NOT because the task is big and needs to be divided in a group.) E.g.   Two different people needing to turn a key each in a device simultaneously to launch a missile.  Group of people tallying up votes for an election in case one of them were bridged to rig the outcome. Winforms issue - Error creating window handle We are seeing this error in a Winform application.  Can anyone help on why you would see this error, and more importantly how to fix it or avoid it from happening.   System.ComponentModel.Win32Exception: Error creating window handle.    at System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)    at System.Windows.Forms.Control.CreateHandle()    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)    at System.Windows.Forms.Control.CreateControl()    at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)    at System.Windows.Forms.ButtonBase.OnVisibleChanged(EventArgs e) Detecting the onload event of a window opened with window.open Evaluate $\lim\limits_{x \to a} \frac{x^m-a^m} {x-a}$ Double value returns 0 Here's an example:  Double d = (1/3); System.out.println(d);   This returns 0, not 0.33333... as it should.  Does anyone know? What is the scope of variables in JavaScript? What is the scope of variables in javascript? Do they have the same scope inside as opposed to outside a function? Or does it even matter? Also, where are the variables stored if they are defined globally? how to get line spacing greater than one and half spacing and less than double space Does anyone know how to get line spacing in a paragraph to be greater than one and half spacing and less than double spacing? I tried \renewcommand{\baselinestretch}{value} but it did not work. Delegate OpenID to Google (NOT Google Apps) I noticed that $f(x) = x\phi(x)$ seems to be one-to-one, where $\phi(x)$ is Euler's Phi function.  In particular, I'm writing some numerical python code and the line I have looks something like  sorted([n*phi(n) for n in range(1,1000)])   and there are no duplicates in the list.  First, is it one-to-one?  Second, if it is, is there a simple proof sketch? multisite: allow only specific users to update sites Why do we not use the definite article in "Where can I find the room 401?" Last week in college, a student [with a thick South Asian accent] asked me:     "Excuse me, where can I find the room 401?".   I realized that to my native English ears, the word "the" sounded non-native. This had me realize that we sometimes use no article.  I am learning French; in French, we seem to always use some kind of article before nouns. It surprised me, at that moment, to realize that English doesn't always do the same! (That, and using the definite article in "the room 401" seems to make sense if I think about when definite articles are used).  Is there a grammatical name or concept for this "no article" aspect of our language? Are there any websites that can explain this to me? How do the likely/unlikely macros in the Linux kernel work and what is their benefit? So a couple of weeks ago my network manager icon stopped appearing; I still get automatically connected to my saved networks and the internet works fine, etc. If I go into System Settings and look at the Network settings I can still see all the networks, only the icon that's normal in the top bar is missing.  I have no idea what caused this, I don't remember installing anything. I think it just happened after a regular update.  I tried these commands to make sure I was properly up-to-date, (which I found on another forum post):  sudo apt-get -f install sudo apt-get update sudo apt-get upgrade   That didn't do it so I found this post:  and I followed the instructions in those answers:  sudo apt-get purge network-manager-gnome &amp;&amp; \ sudo apt-get install network-manager-gnome   And, quoted from an answer there:     Add nm-applet to the Startup Applications (which may be found by   entering "Startup Applications" in the Dash).   I restarted and then saw no Unity interface at all! So I tried those 3 commands above to update again and thankfully that fixed Unity but I still don't have my network manager.  If I try the command nm-applet in a terminal it says:  nm-applet-Message: using fallback from indicator to GtkStatusIcon   So.... I'm pretty much stumped. Any help would be appreciated. Probability of two uniform random numbers being more than $\frac{1}{2}$ apart Two numbers are chosen randomly and independently from the unit interval $(0,1)$.  What is the probability that they differ by more than $\frac{1}{2}$? Hint: Think of the $2$ numbers chosen as coordinates in the Cartesian plane. Draw a square with vertices at $(0,0)$,$(1,0)$,$(1,1)$, and $(0,1)$. Allowable choices for the $2$ points lie below the line $y=x-\frac{1}{2}$ or the above $y=x+\frac{1}{2}$. Find the combined area of these regions.  I need help on this. I know what $y=x-\frac{1}{2}$ and $y=x+\frac{1}{2}$ looks like but I am not understanding the problem as a whole Regular expression to match balanced parentheses I need a regular expression to select all the text between two outer brackets.  Example: some text(text here(possible text)text(possible text(more text)))end text  Result: (text here(possible text)text(possible text(more text)))