Skip to content

Instantly share code, notes, and snippets.

package utils;
import java.util.HashMap;
import java.util.List;
public class TableUtils {
private List<String> headers;
private List<String> dataKeys;
private List<HashMap<String, String>> dataSource;
CREATE TABLE `t_murid` (
`kode_murid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`nama` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
`no_tlp` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`kode_kelas` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`nilai` int(11) DEFAULT NULL,
PRIMARY KEY (`kode_murid`),
<?php
$row['header']=$this->load->view('admin/matkul/header');
?>
<div class="wrapper">
<div class="container">
<!-- Page-Title -->
<div class="row">
<div class="col-sm-12">
<?php
class Gelas
{
protected $bahan;
protected $nama;
protected $warna;
function __construct($nama, $bahan , $warma){
$this->nama = $nama;
@purwadarozatun
purwadarozatun / kode_pos.php
Created May 10, 2017 16:53 — 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();

Livestreaming via PS4 to a local RTMP server

Live stream from your PS4 to a local computer running an RTMP server by intercepting the twitch.tv stream.

Requirements

  • DD-WRT enabled Router (or router with iptables compatibility)
  • nix Envirment
  • nginx with the nginx-rtmp-module
@purwadarozatun
purwadarozatun / ExamplePassportTest.php
Created March 12, 2017 15:25 — forked from archy-bold/ExamplePassportTest.php
Testing Passport Authenticated Controllers and Routes in Laravel
<?php
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;
class ExamplePassportTest extends \PassportTestCase
{
use DatabaseTransactions;