This file contains 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
#!/usr/bin/env php | |
<?php | |
/** | |
* WHAT IT IS: | |
* Tool untuk memindahkan file yang berubah pada suatu commit, untuk mempermudah upload file. | |
* HOW TO USE : | |
* ./mover [commit_start] [commit_end] | |
*/ |
This file contains 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
SELECT t.nama_tim as Nama_Tim, u.fullname as Nama, d.nama_dosen as Dosen, t.total_anggota as total, u.email as Email, p.politeknik as politeknik | |
FROM tim as t | |
INNER JOIN users as u ON t.users_id = u.id | |
INNER JOIN politeknik as p ON p.id = t.politeknik_id | |
INNER JOIN dosen_pembimbing as d ON d.id = t.dosen_id | |
WHERE t.kategori_id = 1 AND status_approved = 2 AND t.users_id =u.id |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | |
<meta name="description" content="" /> | |
<meta name="author" content="" /> | |
<title>BARBATOS</title> | |
<!-- Favicon--> |
This file contains 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
-- Adminer 4.6.2 MySQL dump | |
SET NAMES utf8; | |
SET time_zone = '+00:00'; | |
SET foreign_key_checks = 0; | |
SET sql_mode = 'NO_AUTO_VALUE_ON_ZERO'; | |
DROP TABLE IF EXISTS `master_district`; | |
CREATE TABLE `master_district` ( | |
`id` int(11) NOT NULL AUTO_INCREMENT, |
This file contains 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 SEQUENCE hdept_seq START WITH 1; | |
-- / | |
-- CREATE TABLE HISTORY_DEPARTMENTS ( | |
-- HISTORY_ID number DEFAULT hdept_seq.nextval NOT NULL, | |
-- DEPARTMENT_ID number, | |
-- DEPARTMENT_NAME varchar2(100) not null, | |
-- constraint pk_hdepartments primary key (HISTORY_ID) | |
-- ); | |
-- CREATE SEQUENCE dept_seq START WITH 1; |
This file contains 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 extractor extends CI_Controller | |
{ | |
private $workflow = false; | |
private $exception_ucwords = ["oa_helper"]; | |
private $sanitized = ["'", '"', ",", " ", ";", "(", ")"]; | |
public function getRealpath($type, $name) | |
{ |
This file contains 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
1. import file (insert) tambahan.sql | |
2. tambahkan menu : | |
- cashflow : dengan controller menuju ke "cashflow" | |
- cashflow (Fungsi) : dengan controller menuju ke "cashflow-fungsi" | |
3. atur rbac: | |
- centang menu cashflow & seluruh aksi nya | |
- centang seluruh aksi di cashflow (Fungsi) |
This file contains 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
https://stackoverflow.com/questions/63627619/how-to-setup-oracle-instant-client-with-xampp-in-macos-mojave |
This file contains 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\helpers; | |
use Yii; | |
use yii\base\Event; | |
/** | |
* ErrorResponseHelper | |
* |