Perubahan kecil pada cara penulisan Commit yang menjadikan kalian seorang developer yang lebih baik.
Format: <type>(<scope>): <subject>
<scope>
bersifat optional
<?php | |
class Articles extends CI_Controller { | |
var $session_user; | |
function __construct() { | |
parent::__construct(); | |
Utils::no_cache(); | |
if (!$this->session->userdata('logged_in')) { |
<?php | |
function update(){ | |
$data['title'] = "Update Artikel"; | |
$data['session_user'] = $this->session_user; | |
if(empty($this->uri->segment('3'))){ redirect('articles');} | |
$id = $this->uri->segment('3'); | |
$data['articles'] = $this->articlesModel->getArticleWhere($id); | |
$this->load->library('upload'); |
<?php | |
class database | |
{ | |
var $dbhost = 'localhost'; | |
var $dbuser = 'raja'; | |
var $dbpass = 'min1011'; | |
var $dbname = 'db_oop1'; |
#include <iostream> | |
#include <cstdio> | |
#include <cctype> | |
using namespace std; | |
struct SiswaAdapter{ | |
char Name[50]; | |
char Addr[100]; | |
char gender; |
const AppTabNavigator = createBottomTabNavigator({ | |
home : { | |
screen : Home, | |
navigationOptions :{ | |
title : 'Beranda', | |
} | |
}, | |
favorite : { | |
screen : Favorite, | |
navigationOptions :{ |
#include <iostream> | |
#define MAX 10 | |
using namespace std; | |
struct Stack { | |
int top, data[MAX]; | |
} Tumpukan; | |
void init() { | |
Tumpukan.top = -1; |
#include <iostream> | |
#define MAX 10 | |
using namespace std; | |
struct Queue { | |
int front, rear, counter, data[MAX]; | |
} Antrian; | |
void init() { | |
Antrian.rear = -1; |
/** | |
* Singly Circular Linked List with 2 directions of addition and deletion | |
* | |
* Created By : teramuza (@tera.ajaa) 16/12/19 | |
* Lang : id-ID | |
*/ | |
#include <iostream> | |
#include <stdlib.h> | |
using namespace std; |
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
int main() { | |
int Nilai[20]; | |
int i, k, N; | |
int temp, jarak, s; | |
cout << "Masukan banyak bilangan: "; |