Skip to content

Instantly share code, notes, and snippets.

View drajathasan's full-sized avatar

Drajat Hasan drajathasan

View GitHub Profile
@drajathasan
drajathasan / List Custom Plugins
Created February 13, 2021 05:14
File agar list plugins custom dapat muncul di user non super admin. Download file ini lalu simpan di folder lib/ (Jangan lupa backup file sebelumnya)
<?php
/**
* module class
* Application modules related class
*
* Copyright (C) 2010 Arie Nugraha (dicarve@yahoo.com)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@drajathasan
drajathasan / Plugins SLiMS
Last active February 13, 2021 05:15
Modifikasi agar daftar Plugins di SLiMS dapat terlihat semua. Simpan file ini di folder lib/ (Jangan lupa membackup file sebelumnya)
<?php
/**
* @Created by : Waris Agung Widodo (ido.alit@gmail.com)
* @Date : 05/11/20 13.53
* @File name : Plugins.php
*/
namespace SLiMS;
@drajathasan
drajathasan / lbc_installer.php
Last active September 14, 2026 05:06
LBC Installer
<?php
/**
* @author Drajat Hasan
* @email drajathasan20@gmail.com
* @create date 2020-08-15 08:39:32
* @modify date 2021-06-18 08:39:32
* @license GPL v3
*/
// Source https://subinsb.com/php-download-extract-zip-archives/
@drajathasan
drajathasan / chat-frontend.js
Created March 11, 2020 13:46 — forked from martinsik/chat-frontend.js
Node.js chat frontend and server
$(function () {
"use strict";
// for better performance - to avoid searching in DOM
var content = $('#content');
var input = $('#input');
var status = $('#status');
// my color assigned by the server
var myColor = false;