Skip to content

Instantly share code, notes, and snippets.

View AgungPambudi's full-sized avatar
😃
Learning by doing

Agung Pambudi AgungPambudi

😃
Learning by doing
View GitHub Profile
@AgungPambudi
AgungPambudi / name_of_month_array.php
Last active December 9, 2019 07:37
php script to select name of month based on array.
<?php
/*
| title : name_of_month_array.php
| description : php script to select name of month based on array.
| author : Agung Pambudi
| website : http://agungpambudi.com
| email : mail@agungpambudi.com
| source : https://www.php.net/manual/en/index.php
| _ _ _
| ___ ___ _ _ ___ ___ ___ ___ _____| |_ _ _ _| |_| ___ ___ _____
@AgungPambudi
AgungPambudi / currency_number_format.php
Last active December 9, 2019 06:58
php function to convert number into currency format.
<?php
/*
| title : currency_number_format.php
| description : php function to convert number into currency format.
| author : Agung Pambudi
| website : http://agungpambudi.com
| email : mail@agungpambudi.com
| source : https://www.php.net/manual/en/index.php
| _ _ _
| ___ ___ _ _ ___ ___ ___ ___ _____| |_ _ _ _| |_| ___ ___ _____
@AgungPambudi
AgungPambudi / name_of_month_array_other_version.php
Last active December 9, 2019 07:25
php script to select name of month based on array.
<?php
/*
| title : name_of_month_array_other_version.php
| description : php script to select name of month based on array.
| author : Agung Pambudi
| website : http://agungpambudi.com
| email : mail@agungpambudi.com
| source : https://www.php.net/manual/en/index.php
| _ _ _
| ___ ___ _ _ ___ ___ ___ ___ _____| |_ _ _ _| |_| ___ ___ _____
@AgungPambudi
AgungPambudi / mysql_select_if_concat_left_mid.sql
Created December 9, 2019 08:55
SELECT query with IF CONCAT LEFT MID
# title : mysql_select_if_concat_left_mid.sql
# description : SELECT query with IF CONCAT LEFT MID
# author : Agung Pambudi
# website : http://agungpambudi.com
# email : mail@agungpambudi.com
# requirement : MySQL / Maria DB
#
# _ _ _
# ___ ___ _ _ ___ ___ ___ ___ _____| |_ _ _ _| |_| ___ ___ _____
# | .'| . | | | | . | . | .'| | . | | | . | |_| _| . | |
@AgungPambudi
AgungPambudi / mysql_show_triggers_procedure_function.sql
Last active July 9, 2021 04:05
SHOW TRIGGERS, FUNCTION, PROCEDURE in MySQL
# title : mysql_show_triggers_procedure_function.sql
# description : SHOW TRIGGERS, FUNCTION, PROCEDURE
# author : Agung Pambudi
# website : http://agungpambudi.com
# email : mail@agungpambudi.com
# requirement : MySQL / Maria DB
# _ _ _
# ___ ___ _ _ ___ ___ ___ ___ _____| |_ _ _ _| |_| ___ ___ _____
# | .'| . | | | | . | . | .'| | . | | | . | |_| _| . | |
# |__,|_ |___|_|_|_ | _|__,|_|_|_|___|___|___|_|_|___|___|_|_|_|
@AgungPambudi
AgungPambudi / table_report.php
Created December 10, 2019 09:12
php html page to view report from mysql database.
<?php
/*
|
| title : table_report.php
| description : php html page to view report from mysql database.
| author : Agung Pambudi
| website : http://agungpambudi.com
| email : mail@agungpambudi.com
| source : https://www.php.net/manual/en/index.php
@AgungPambudi
AgungPambudi / bash_looping_dates.sh
Created December 12, 2019 07:45
bash script to iterate process for php script argument.
#!/bin/bash
#title : bash_looping_dates.sh
#description : bash script to iterate process for php script argument.
#author : Agung Pambudi
#website : http://agungpambudi.com
#email : mail@agungpambudi.com
#version : 0.1
#==============================================================================
#
# _ _ _
@AgungPambudi
AgungPambudi / php5-dbase-ubuntu-linux.sh
Last active December 23, 2019 03:34
php5-dbase installation on ubuntu linux - php library function for dbf
# author : Agung Pambudi @agungpambudi
# website : http://agungpambudi.com
# email : mail@agungpambudi.com
# tar -xzf dbase-5.0.1.tgz
# cd dbase-5.0.1
# phpize
# ./configure
# make
@AgungPambudi
AgungPambudi / inetpub.ini
Last active December 30, 2019 01:24
move IIS to another directory using python
[www.agungpambudi.com]
dir = D:\
vdir = "TOKO/"
@AgungPambudi
AgungPambudi / SwitchCaseMonth.java
Created December 24, 2019 04:48
switch case and array using Java
import java.util.Scanner;
/**
*
* @author Agung Pambudi
* website http://agungpambudi.com
* email mail@agungpambudi.com
*/
public class SwitchCaseMonth {