Skip to content

Instantly share code, notes, and snippets.

View geekmover's full-sized avatar
:octocat:
I Will Create a Dream to Realize

Geek Mover geekmover

:octocat:
I Will Create a Dream to Realize
  • Haurgeulis, Indramayu, Indonesia
View GitHub Profile
Soal :
Membuat Program menghitung diskon dengan Java dari hasil pembelanjaan. Dengan ketentuan sebagai berikut :
a. Total Belanja >=100.000 mendapatkan Diskon 10%
b. Total Belanja >=50.000 mendapatkan Diskon 5%
c. Total Belanja < 50.000 tidak mendapatkan Diskon
Rumus : Bayar = Belanja - diskon
Carilah :
a. Total Belanja
b. Diskon Belanja
c. Total Bayar
C:\Users\Narasepta\Downloads\Compressed\SharedPreferences>git init
Reinitialized existing Git repository in C:/Users/Narasepta/Downloads/Compressed/SharedPreferences/.git/
. . . . .
C:\Users\Narasepta\Downloads\Compressed\SharedPreferences>git add .
warning: LF will be replaced by CRLF in .gradle/2.10/taskArtifacts/cache.properties.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .gradle/2.4/taskArtifacts/cache.properties.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in .idea/compiler.xml.
Microsoft Windows [Version 10.0.17763.437]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\Narasepta>powershell
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\Narasepta> iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
PowerShell requires an execution policy of 'RemoteSigned' to run Scoop.
To make this change please run:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="20dp">
<TextView android:id="@+id/dialog_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
package id.code.notesapp.view;
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.design.widget.CoordinatorLayout;
import android.support.design.widget.FloatingActionButton;
import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
@geekmover
geekmover / last_log_pts_ii_x.txt
Created March 2, 2019 15:33
Project PTS Semester 1 X RPL
C:\Users\fight>mysql -u root -p
Enter password: ********
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 246
Server version: 10.1.36-MariaDB mariadb.org binary distribution
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
This file has been truncated, but you can view the full file.
-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Waktu pembuatan: 02 Mar 2019 pada 03.25
-- Versi server: 10.1.36-MariaDB
-- Versi PHP: 7.2.11
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
Stelah clone VM, kita Atur Adapter Network dari NAT
ke Bridge Adapter dan Permisious mode jadi Allow All
dan Re-fresh Mac Address pada icon re-freshnya, kem-
udian Jalankan VM dan login ke dalam VM dengan Username
dan Password
setelah masuk ke dalam VM, pastikan VM sudah 1
subnet dimana contoh: VM: 192.168.1.12 dan Komputer
Utama: 192.168.1.6 maka itu sudah disebut 1 subnet
atau 1 jaringan network, lakukan ping jika dirasa sudah
fightercode@CODE-DADU MINGW64 ~/Documents/Server Web/Web Development/assessment.io (master)
$ git pull origin master
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From https://github.com/codedadu/Project_ToUp
* branch master -> FETCH_HEAD
b9b8cae..ad501bd master -> origin/master
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa
$ git init
Initialized empty Git repository in C:/xampp/htdocs/crud.datasiswa/.git/
fightercode@CODE-DADU MINGW64 /c/xampp/htdocs/crud.datasiswa (master)
$ git add .
warning: LF will be replaced by CRLF in configuration.php.
The file will have its original line endings in your working directory
warning: LF will be replaced by CRLF in database_PMB.sql.
The file will have its original line endings in your working directory