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
var realScript = | |
["function unfollow() {", | |
"console.log('start processing...');", | |
"var followList = $('.myfollow_list');", | |
"$.each(followList, function(i, follow) {", | |
" follow.click();", | |
"});", | |
"var cancelBtn = $('[action-type=cancel_follow]')[0];", | |
"cancelBtn.click();", | |
"var confirmBtn = $('[node-type=OK]')[0];", |
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
Reference: [How do I install Oracle Java JDK 7?](http://askubuntu.com/questions/55848/how-do-i-install-oracle-java-jdk-7) | |
## 1. Install JDK | |
+ [Download](http://www.oracle.com/technetwork/java/javase/downloads/index.html) from Oracle page | |
+ Uncompress it | |
tar -xvf jdk-7u2-linux-x64.tar.gz |
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 lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>jQuery demo - wikipedia suggestion</title> | |
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"> | |
</head> | |
<body> |