- Out of all, this one works for me. I chose this because it's the most simpler out of all
- http://hacksmile.com/android-endless-scrolling-recyclerview/
This file contains hidden or 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
Tutorial: <a href="https://blog.branch.io/how-to-open-an-android-app-from-the-browser/">https://blog.branch.io/how-to-open-an-android-app-from-the-browser/</a> <br><br> | |
<script src="https://gist.github.com/aaustin/be57a482daceec621045.js"></script> | |
<script src="https://gist.github.com/aaustin/09dd849486c431da9a34.js"></script> | |
<script src="https://gist.github.com/aaustin/6da229a81fc2a6d1ece071b7b489967e.js"></script> |
- First, include these codes to your activity layout XML file.
- FrameLayout is used as it can be on top (overlay) other layout components.
- The background of the FrameLayout is set to Android default background color. You can change it to any color you want, or even transparent.
- Progress bar (circular spinner) is for showing the animation. Layout gravity set to center to make it center on the page.
<FrameLayout
android:id="@+id/loadingFrame"
android:layout_width="match_parent"
android:layout_height="match_parent"
- Bootstrap: https://getbootstrap.com/
- Materialize: http://materializecss.com/
This file contains hidden or 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
/* | |
Usage: | |
Open this page: https://www.facebook.com/friends/requests/ | |
Open console (F12), copy and paste the script and enter | |
*/ | |
var butArea = document.getElementsByClassName("ruResponseButtons"); | |
for(i=0;i<butArea.length;i++) | |
{ | |
var confirmBut = butArea[i].getElementsByTagName("button")[0]; | |
confirmBut.click(); |
This file contains hidden or 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
// i-Learn Bulk Files Downloader | |
// Usage: copy the scripts, go to the files directory page, press F12 (open console), paste the code and enter | |
console.log("i-Learn Bulk Files Downloader - Afif Zafri"); | |
var tr = document.getElementsByTagName("tr"); | |
for(i=2;i<tr.length-1;i++) | |
{ | |
var td = tr[i].getElementsByTagName("td")[5]; | |
var url = td.getElementsByTagName("a")[0]['href']; | |
window.open(url, '_blank'); |
This file contains hidden or 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
// Entrance Exit survey autofill form script | |
// Usage: copy the scripts, go to the Entrance/Exit page, press F12 (open console), paste the code and enter | |
console.log("Entrance Exit survey autofill form script - Afif Zafri"); | |
var msg = "Choose option: \n" + | |
"(1) - Entrance Survey \n" + | |
"(2) - Exit Survey \n"; | |
var opt = prompt(msg); |
This file contains hidden or 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
// SuFO autofill form script | |
// Usage: copy the scripts, go to the SuFO page, press F12 (open console), paste the code and enter | |
console.log("SuFO autofill form script - Afif Zafri"); | |
// loop all 24 questions | |
for(y=0; y<24; y++) | |
{ | |
// get all radios | |
var questionNo = document.getElementsByName('data[AnalyticSufo][answer'+y+']'); |
This file contains hidden or 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
import java.io.* ; | |
import java.util.* ; | |
class RDP // Recursive Decent Parser | |
{ | |
char inp; | |
public static void main(String[] args) throws IOException | |
{ | |
System.out.print("Please enter an input string : "); | |
InputStreamReader stdin = new InputStreamReader(System. in ); |