Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

Deni Rohimat derohimat

🏠
Working from home
View GitHub Profile
View 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
View Error Drawable not found
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)
View app_build.gradle
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 {
View strings.xml
<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>
View Extending, Inheritance
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());
View operatorcpp.cpp
#include <iostream>
class Balok {
private:
int sisi;
public:
Balok() {
sisi = 0;
}
@derohimat
derohimat / main.cpp
Created Jun 4, 2017
Dynamic Array C++
View main.cpp
#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
sort header
View main.cpp
#include <iostream>
#include "sort.h"
using namespace std;
int main() {
int dataArr[100];
int menu, lanjut, n, i, sdhInput;
menu = 0;
@derohimat
derohimat / main.cpp
Last active May 22, 2017
dynamic struct
View main.cpp
#include <iostream>
using namespace std;
struct NilaiMatKul {
char nim[11];
char nama[30];
char nilai[2];
};
View binarysearch.cpp
#include <iostream>
#include <vector>
using namespace std;
void Binary_Search(const vector<int> &numbers, int value);
int main() {
vector<int> my_numbers;