Skip to content

Instantly share code, notes, and snippets.

View purwandi's full-sized avatar
🏠
Working from home

purwandi purwandi

🏠
Working from home
View GitHub Profile
  • Procesor Intel Core I7 3770 Rp. 3.170.000
  • Motherboard GA Z77X -D3H Rp. 1.653.000
  • SSD Sandisk SSD Extreme Desktop 120Gb Rp. 1.280.000
  • Memory Corsair DDR3 Vengeance PC12800 16Gb (2x8Gb) Rp. 1.500.000
  • GPU Asus GTX 650 Ti Boost OC 2x8Gb Rp. 1.950.000
  • Casing Corsair Carbide 300R Rp. 815.000
  • PSU Seasonic G 650 Modular Rp. 1.200.000
  • Cooler CPU Deepcool Gammax 400 Rp. 260.000
  • Wifi Card TP-Link WDN4800 Rp. 310.000
  • Display LG 22" IPS LED 22EA63V-PIPS Rp. 1.960.000
@purwandi
purwandi / Post.php
Last active December 19, 2015 04:39
<?php
// File ini ada di application/controllers/post.php
class Post extends CI_Controller
{
public function index()
{
$this->load->model('post_model');
$data['posts'] = $this->post_model->getAll();
## PRODUCTION PUBLIC
server {
listen 80;
root <%= public_root %>;
index index.php index.html index.htm;
server_name <%= domain %>;
#Specify a charset
charset utf-8;

Direktori L3. Saya berasumsi anda telah menginstall composer. Bisa dalam bentuk bin atau hasil download dari http://getcomposer.org/composer.phar.

Saya kasih contoh dengan menggunakan composer.phar dan letakkan file tersebut seperti ini.

/application  
/bundles	
/laravel	
/public	
/storage	

Valvrave The Liberator

Eps 1

Mediafire  : http://www.mediafire.com/?hv1366ixvx13svv
FileSwap   : http://www.fileswap.com/dl/XFQUZ5Ufko/[E-T]VTL_-_01v1_[SD].zip.html
SendMyWay  : http://www.sendmyway.com/zoa0it4faqx8
SendSpace  : http://www.sendspace.com/file/7l2p3y
TusFiles : http://tusfiles.net/hjigz3in6gz6
#
# A CORS (Cross-Origin Resouce Sharing) config for nginx
#
# == Purpose
#
# This nginx configuration enables CORS requests in the following way:
# - enables CORS just for origins on a whitelist specified by a regular expression
# - CORS preflight request (OPTIONS) are responded immediately
# - Access-Control-Allow-Credentials=true for GET and POST requests
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@purwandi
purwandi / tes.php
Last active December 29, 2015 23:59
<?php
function smsPullInsert($data){
$esme = $data['esme'];
$keyword= $data['keyword'];
$alias = $data['alias'];
$module = 'pull';
$message = $data['message'];
$rate = $data['rate'];
<?php
$data = array(
[0] => A
[1] => B
[2] => C
[3] => D
[4] => E
[5] => F
[6] => G
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<button ng-controller="MyController" ng-click="testing()" data-id="someCustomValue" data-name="Ketika merdeka">
Press this button
</button>