Skip to content

Instantly share code, notes, and snippets.

View mrhmt80's full-sized avatar
🏠
Nothing Special About Me

mrahmat mrhmt80

🏠
Nothing Special About Me
View GitHub Profile
@mrhmt80
mrhmt80 / gist:f99858bdc359a6ebe573f7e37bcd0b41
Created November 30, 2018 08:45 — forked from da1nonly/gist:2057532
wordpress meta box urls
<?php
add_action('admin_init', 'add_meta_boxes', 1);
function add_meta_boxes() {
add_meta_box( 'repeatable-fields', 'Audio Playlist', 'repeatable_meta_box_display', 'post', 'normal', 'high');
}
function repeatable_meta_box_display() {
global $post;
@mrhmt80
mrhmt80 / test
Created November 29, 2018 01:14
test
/* accord start */
/* Sets width of entire accordion */
.topbaricons {
max-width: 75%;
margin: 0 auto;
padding: 20px 0;
}
/* Sets width individual icon sections and floats them left */
@mrhmt80
mrhmt80 / LICENCE SUBLIME TEXT
Created November 19, 2018 08:56
Sublime Text 3 Serial key build is 3176
## Sublime Text 3 Serial key build is 3176
> * Added these lines into /etc/hosts
127.0.0.1 www.sublimetext.com
127.0.0.1 license.sublimehq.com
> * Used the license key
----- BEGIN LICENSE -----
@mrhmt80
mrhmt80 / GridViewAdapter.java
Created June 8, 2017 07:35 — forked from alfianyusufabdullah/GridViewAdapter.java
Gridview 2 Column with border
package masxdeveloper.bordergridview;
import android.content.Context;
import android.support.annotation.LayoutRes;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
@mrhmt80
mrhmt80 / kode_pos.php
Created January 10, 2017 13:27 — forked from bachors/kode_pos.php
Membuat API kode POS Indonesia
<?php
/* Just 4 Fun
API kode POS Indonesia
by iBacor.com */
function kode_pos($q){
// array untuk output
$result = array();