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 | |
class Doors | |
{ | |
protected $doors = []; | |
protected $round = 0; | |
const CLOSE = "close"; | |
const HALF_CLOSE = "half_close"; | |
const OPEN = "open"; |
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
#include<stdio.h> | |
int main() { | |
int nominal[] = {100000, 50000, 20000, 10000, 5000, 2000, 1000, 500, 200, 100}; | |
size_t nominal_size = sizeof(nominal) / sizeof(nominal[0]); | |
int jumlah; | |
printf("Masukkan jumlah nominal uang : "); | |
scanf("%i", &jumlah); |
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
laki(joko). | |
laki(jono). | |
laki(joni). | |
laki(hadi). | |
laki(rudi). | |
laki(amir). | |
perempuan(jujuk). | |
perempuan(ita). | |
perempuan(dewi). | |
perempuan(tina). |
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
create table dept( | |
deptno number(2,0), | |
dname varchar2(14), | |
loc varchar2(13), | |
constraint pk_dept primary key (deptno) | |
); | |
create table emp( | |
empno number(4,0), | |
ename varchar2(10), |
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
CREATE TABLE regions | |
( region_id NUMBER | |
CONSTRAINT region_id_nn NOT NULL | |
, CONSTRAINT reg_id_pk | |
PRIMARY KEY (region_id) | |
, region_name VARCHAR2(25) | |
); | |
CREATE TABLE countries | |
( country_id CHAR(2) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
#include <cmath> | |
#include <iostream> | |
#include <cmath> | |
#include <GL/glut.h> | |
#include <algorithm> | |
#include <vector> | |
using namespace std; | |
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 | |
namespace App\Http\Routes; | |
use Jalameta\Router\BaseRoute; | |
use Laravel\Fortify\Features; | |
use Laravel\Fortify\Http\Controllers\AuthenticatedSessionController; | |
use Laravel\Fortify\Http\Controllers\ConfirmablePasswordController; | |
use Laravel\Fortify\Http\Controllers\ConfirmedPasswordStatusController; | |
use Laravel\Fortify\Http\Controllers\EmailVerificationNotificationController; |
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
reflector --latest 20 --country Indonesia --country Singapore --country Taiwan --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist |
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
echo \ | |
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
apt update | |
apt install install docker-ce docker-ce-cli containerd.io | |
OlderNewer