A Pen by Rahmat Awaludin on CodePen.
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
<script type="text/javascript"> | |
jQuery(document).ready(function($) { | |
var podes_webapp = "../../index.php/potensi"; | |
var elprovinsi = "936171X631X19227"; | |
var elkabupaten = "936171X631X19229"; | |
var elkecamatan = "936171X631X19231"; | |
var eldesa = "936171X631X19233"; | |
// Create Drop downlist and hide original element | |
// Elemen Provinsi |
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
Warning: "config" scripts exist outside your system or Homebrew directories. | |
`./configure` scripts often look for *-config scripts to determine if | |
software packages are installed, and what additional flags to use when | |
compiling and linking. | |
Having additional scripts in your path can confuse software installed via | |
Homebrew if the config script overrides a system or Homebrew provided | |
script of the same name. We found the following "config" scripts: | |
/Applications/Postgres.app/Contents/MacOS/bin/gdal-config |
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
#!/bin/bash | |
for i in *psd | |
do | |
name=${i%.psd} | |
convert "$name.psd[0]" -resize 100% "$name.png" | |
done |
Kalau mau naruh route di tempat terpisah pakai service provider gan. http://laravel.com/docs/ioc#service-providers
Contohnya, ane kalau pakai class bikinan sendiri di buat di dalam namespace 'Morphaworks'. Struktur project ane kayak gini..
app
- commands
- config
- ....
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
{ | |
"name": "laravel/laravel", | |
"description": "The Laravel Framework.", | |
"keywords": ["framework", "laravel"], | |
"license": "MIT", | |
"require": { | |
"laravel/framework": "4.1.*", | |
"components/bootstrap": "3.0.2" | |
}, | |
"require-dev": { |
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
SET @saved_cs_client = @@character_set_client; | |
SET character_set_client = utf8; | |
/*!50001 CREATE TABLE `counter_customer` ( | |
`total_customer` tinyint NOT NULL | |
) ENGINE=MyISAM */; | |
SET character_set_client = @saved_cs_client; | |
/*!40101 SET @saved_cs_client = @@character_set_client */; | |
/*!40101 SET character_set_client = utf8 */; | |
CREATE TABLE `customer` ( | |
`id` int(10) NOT NULL AUTO_INCREMENT, |
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
afasf | |
asdfaf | |
adf |
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
-- MySQL dump 10.13 Distrib 5.5.33, for osx10.6 (i386) | |
-- | |
-- Host: localhost Database: resto | |
-- ------------------------------------------------------ | |
-- Server version 5.5.33 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
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
1. Tampilkan menu dengan pesanan terbanyak | |
2. Tampilkan jumlah pembayaran untuk tiap customer | |
3. Tampilkan menu dengan pendapatan (pesanan*harga) paling kecil tapi bukan nol | |
4. Tampilkan menu dengan harga termahal | |
5. Tampilkan menu dengan harga termurah | |
6. Tampilkan rata-rata pembayaran tiap customer |