This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |