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
<?xml version="1.0" encoding="utf-8"?> | |
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity"> | |
<ImageView | |
android:id="@+id/imgLogo" |
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
<?php | |
error_reporting(E_ALL); | |
$db = new mysqli("localhost","wpdev2019","test2019","wpblog1"); | |
if ($db->connect_errno) { | |
echo "Failed to connect to MySQL: " . $db-> connect_error; | |
exit(); | |
} |
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
class Besar { | |
public static void main(String args[]){ | |
Long num1 = new Long(123456789123456L); | |
System.out.println(num1); | |
} | |
} |
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 androidx.appcompat.app.AppCompatActivity; | |
import android.os.AsyncTask; | |
import android.os.Bundle; | |
import android.text.Html; | |
import android.widget.EditText; | |
import android.widget.TextView; | |
import android.widget.Toast; | |
import org.json.JSONArray; | |
import org.json.JSONException; |
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
package com.drp.app.testapp01; | |
import androidx.appcompat.app.AppCompatActivity; | |
import androidx.fragment.app.Fragment; | |
import androidx.fragment.app.FragmentManager; | |
import androidx.fragment.app.FragmentStatePagerAdapter; | |
import androidx.viewpager.widget.ViewPager; | |
import android.content.Context; | |
import android.graphics.Color; |
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
(C:/Users/OCIN/Codes/Go/gormtest1.go:24) | |
[2019-10-30 10:48:18] duplicate column name: id | |
(C:/Users/OCIN/Codes/Go/gormtest1.go:24) | |
[2019-10-30 10:48:18] [4.33ms] CREATE TABLE "employees" ("id" integer primary key autoincrement,"created_at" datetime,"updated_at" datetime,"deleted_at" datetime,"id" integer,"name" varchar(255),"email" varchar(255),"department" varchar(255) ) | |
[0 rows affected or returned ] | |
(C:/Users/OCIN/Codes/Go/gormtest1.go:24) | |
[2019-10-30 10:48:18] [0.00ms] CREATE INDEX idx_employees_deleted_at ON "employees"(deleted_at) | |
[0 rows affected or returned ] |
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
package main | |
import ( | |
"github.com/jinzhu/gorm" | |
_ "github.com/jinzhu/gorm/dialects/sqlite" | |
) | |
type Employee struct { | |
gorm.Model | |
ID int |
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
[ | |
{ | |
"id": "9", | |
"name": "Tester 02", | |
"date": "25-09-2019", | |
"checkintime": "14:56:39", | |
"checkouttime": "15:52:22", | |
"checkindistance": { | |
"Int64": 0, | |
"Valid": true |
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
package main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" | |
"time" |
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
package main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"fmt" | |
"log" | |
"net/http" | |
"time" |