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
package com.example.mshodiqul.sidompet; | |
import android.content.Context; | |
import android.database.sqlite.SQLiteDatabase; | |
import android.database.sqlite.SQLiteOpenHelper; | |
/** | |
* Created by mshodiqul on 7/16/16. | |
*/ | |
public class DBHelper extends SQLiteOpenHelper { |
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
package com.example.mshodiqul.sidompet; | |
import android.content.Context; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.ViewGroup; | |
import android.widget.ArrayAdapter; | |
import android.widget.TextView; | |
import java.util.ArrayList; |
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
public class RouteDecode { | |
public static ArrayList<LatLng> decodePoly(String encoded) { | |
ArrayList<LatLng> poly = new ArrayList<LatLng>(); | |
int index = 0, len = encoded.length(); | |
int lat = 0, lng = 0; | |
while (index < len) { | |
int b, shift = 0, result = 0; | |
do { | |
b = encoded.charAt(index++) - 63; | |
result |= (b & 0x1f) << shift; |
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
package com.blantik.accountKit; | |
import android.content.Intent; | |
import android.os.Bundle; | |
import android.support.annotation.Nullable; | |
import android.util.Log; | |
import android.view.View; | |
import android.widget.Toast; | |
import com.facebook.accountkit.AccessToken; |
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
<script type="text/javascript"> | |
$(".klik").click(function() { | |
console.log("Element di klik"); | |
$(this).closest("tr").find(".sub").toggle(); | |
}) | |
</script> | |
<div class="container col-lg-12"> | |
<div class="kotak"> |
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
<?php | |
class Database { | |
private $mysqli; | |
private $host; | |
private $user; | |
private $pass; | |
private $db; | |
function __construct($host,$user,$pass,$db) { | |
$this->host = $host; |
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
<?php | |
class API { | |
function CallAPI($method, $url, $data = false, $header=false) { | |
$curl = curl_init(); | |
switch ($method) { | |
case "POST": | |
curl_setopt($curl, CURLOPT_POST, 1); | |
if ($data) { |
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
pertama request ini | |
https://drive.google.com/file/d/0B8JnOc7tqLE0c1NtWEJpX1hjQmc/view | |
setelah itu dapat cookies, cookies nya diambil | |
kemudian request get_video_info (contoh jika pakai command line) | |
curl 'https://drive.google.com/get_video_info?docid=0B8JnOc7tqLE0c1NtWEJpX1hjQmc' -H 'pragma: no-cache' -H 'accept-encoding: gzip, deflate, br' -H 'accept-language: en-US,en;q=0.8' -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36' -H 'x-chrome-uma-enabled: 1' -H 'accept: */*' -H 'cache-control: no-cache' -H 'authority: drive.google.com' -H 'cookie: __utma=1.1797675748.1499796393.1499796393.1499796393.1; __utmc=1; __utmz=1.1499796393.1.1.utmcsr=yahoo|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); DRIVE_STREAM=NovD19d3PHk; SID=6QS7rZJ-_oUhm1ts140napUTSz5KJc4BRxt-7OTykZPaTQXfMakkvOuWf0yYQhqJqJPpMg.; HSID=ACdTZiTEERjrRQuh7; SSID=AnXRrVoaXVLbUnLK-; APISID=vMog5qWo9B3bFCSb/A_zFC-28oyZlrQi3S; SAPISID=aMhNQ766 |
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
0xbc656c29B3608CF864Bf4c382b47221AD9a3cc34 |
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
import React from 'react'; | |
import { StyleSheet, Text, View, Alert, ToastAndroid, TextInput, Animated, TouchableOpacity } from 'react-native'; | |
import {StackNavigator} from 'react-navigation' | |
class App extends React.Component { | |
constructor() { | |
super() | |
this.state = { | |
animasi : { | |
title : new Animated.Value(0), |
OlderNewer