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
$(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; |
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 | |
/** | |
* @author Drajat Hasan | |
* @email [email protected] | |
* @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/ |
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 | |
/** | |
* @Created by : Waris Agung Widodo ([email protected]) | |
* @Date : 05/11/20 13.53 | |
* @File name : Plugins.php | |
*/ | |
namespace SLiMS; | |
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 | |
/** | |
* module class | |
* Application modules related class | |
* | |
* Copyright (C) 2010 Arie Nugraha ([email protected]) | |
* | |
* 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 |
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 | |
/** | |
* @Created by : Waris Agung Widodo ([email protected]) | |
* @Date : 06/11/20 00.56 | |
* @File name : index.php | |
*/ | |
defined('INDEX_AUTH') OR die('Direct access not allowed!'); | |
// IP based access limitation |
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 | |
/** | |
* @author Drajat Hasan | |
* @email [email protected] | |
* @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/ |
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
# Search string before string ":" | |
.+?(?=:) | |
# Search string only some range character e.g: a to z | |
^[a-z]*$ | |
# Search bracket | |
{+\w+} |
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
// open your terminal | |
1. Download source from official website | |
2. Extract it into some folder | |
3. Do this command | |
cd source_of_postgres_dir | |
./configure | |
make | |
su | |
make install | |
adduser postgres |
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 | |
/** | |
* Recursively empty and delete a directory | |
* | |
* @param string $path | |
* @ref https://gist.github.com/jmwebservices/986d9b975eb4deafcb5e2415665f8877 | |
*/ | |
function rrmdir( string $path ) : void | |
{ |
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
version: "3.9" | |
services: | |
web: | |
image: drajathasan/debian-php5-mssql | |
container_name: 'app1' | |
volumes: | |
- ./app:/var/www/html/ | |
ports: | |
- "8000:80" |
OlderNewer