Skip to content

Instantly share code, notes, and snippets.

View derohimat's full-sized avatar
🏠
Working from home

Deni Rohimat derohimat

🏠
Working from home
View GitHub Profile
{
"code": 200,
"message": "Success Load Data",
"data": {
"user": {
"name": "aabdlymn",
"gender": "ikhwan",
"nip": "12200117841",
"full_phone": "",
"role": null,
@derohimat
derohimat / DisneyPosters.json
Created October 23, 2020 09:27
DisneyPosters.json
[
{
"id": 1,
"name": "Frozen II",
"release": "2019",
"playtime": "1 h 43 min",
"description": "Frozen II, also known as Frozen 2, is a 2019 American 3D computer-animated musical fantasy film produced by Walt Disney Animation Studios. The 58th animated film produced by the studio, it is the sequel to the 2013 film Frozen and features the return of directors Chris Buck and Jennifer Lee, producer Peter Del Vecho, songwriters Kristen Anderson-Lopez and Robert Lopez, and composer Christophe Beck. Lee also returns as screenwriter, penning the screenplay from a story by her, Buck, Marc E. Smith, Anderson-Lopez, and Lopez,[2] while Byron Howard executive-produced the film.[a][1] Veteran voice cast Kristen Bell, Idina Menzel, Josh Gad, Jonathan Groff, and Ciarán Hinds return as their previous characters, and they are joined by newcomers Sterling K. Brown, Evan Rachel Wood, Alfred Molina, Martha Plimpton, Jason Ritter, Rachel Matthews, and Jeremy Sisto.",
"plot": "Kin
08-09 22:13:45.686 13056-13056/com.anggastudio.sample E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.anggastudio.sample, PID: 13056
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.anggastudio.sample/com.anggastudio.sample.MainActivity}: android.view.InflateException: Binary XML file line #34: Error inflating class androidx.appcompat.widget.AppCompatImageView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
apply plugin: 'com.android.application'
apply plugin: 'jacoco'
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'io.fabric'
android {
compileSdkVersion 29
buildToolsVersion '29.0.2'
dexOptions {
@derohimat
derohimat / strings.xml
Created July 26, 2019 08:54
ella-strings-en
<resources>
<string name="app_name">Ella</string>
<string name="app_version">0.0.1</string>
<string name="dialog_action_ok">OK</string>
<string name="dialog_error_title">Sorry</string>
<string name="username_email">Username/Email</string>
<string name="password">Password</string>
public class MyClass {
public static void main(String args[]) {
Author author = new Author("Deni R", "rohimatdeni@gmail.com", 'L');
Book book = new Book("Pemrograman Android", author, 100000.0, 1000);
System.out.println("Book name : " + book.getName());
System.out.println(book.getAuthor());
System.out.println("Price : " + book.getPrice());
System.out.println("Quantity : " + book.getQty());
package net.derohimat.basemvp.ui.view;
import android.graphics.Rect;
import android.support.v7.widget.RecyclerView;
import android.view.View;
public class GridHeaderSpacingItemDecoration extends RecyclerView.ItemDecoration {
private int spanCount;
private int spacing;
private boolean includeEdge;
@derohimat
derohimat / operatorcpp.cpp
Last active April 21, 2018 10:16
Operator C++
#include <iostream>
class Balok {
private:
int sisi;
public:
Balok() {
sisi = 0;
}
@derohimat
derohimat / main.cpp
Created June 4, 2017 14:41
Dynamic Array C++
#include <iostream>
using namespace std;
struct NilaiMatKul {
char nim[11];
char nama[30];
char nilai[2];
};
@derohimat
derohimat / main.cpp
Last active May 31, 2017 07:21
sort header
#include <iostream>
#include "sort.h"
using namespace std;
int main() {
int dataArr[100];
int menu, lanjut, n, i, sdhInput;
menu = 0;