Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Hello World</title>
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<!-- Don't use this in production: -->
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
sudo apt-get install mysql-common-5.6
The following NEW packages will be installed:
mysql-common{ab} mysql-common-5.6
0 packages upgraded, 2 newly installed, 0 to remove and 210 not upgraded.
Need to get 13.7 kB/89.6 kB of archives. After unpacking 308 kB will be used.
The following packages have unmet dependencies:
mysql-common : Conflicts: mysql-common-5.6 but 5.6.27-0ubuntu0.14.04.1 is to be installed.
Conflicts: mysql-common-5.6:i386 which is a virtual package.
The following actions will resolve these dependencies:
private class MyWebViewClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
String lastPathSegment = Uri.parse(url).getLastPathSegment();
if(lastPathSegment.equals("login")) {
MainActivity.this.loginFacebook();
return true;