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
@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'];
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#
# 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

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

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	
## PRODUCTION PUBLIC
server {
listen 80;
root <%= public_root %>;
index index.php index.html index.htm;
server_name <%= domain %>;
#Specify a charset
charset utf-8;
@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();
  • 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

Install Git

Parepare some additional software

apt-get update

python g++ make build-essential bzip2 libpcre3-dev libssl-dev daemon libgeoip-dev libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev build-essential
@purwandi
purwandi / l4project.sh
Last active December 17, 2015 07:59 — forked from akuzemchak/l4project.sh
# Initial setup
git clone -o framework -b master https://github.com/laravel/laravel.git project-name
cd project-name
git checkout --orphan master
git commit -m "Initial commit"
# Pulling changes
git fetch framework
git merge --squash -m "Upgrade Laravel" framework/develop
# Fix merge conflicts if any and commit