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
@extends('layouts.internal.master') | |
@section('content') | |
<style type="text/css"> | |
.btn-js{ | |
display: none; | |
} | |
</style> |
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
// MHN Network Sub-Pages | |
public function create() { | |
$cpe_mac = Request::segment(1); | |
$p_24_wi = 10001 ; | |
$g_24_wi = 10101 ; | |
$p_50_wi = 10002 ; | |
$g_50_wi = 10102 ; |
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
/*================================ | |
= Facebook = | |
================================*/ | |
Route::get('/facebook/callback', 'FacebookController@callback'); | |
Route::get('/facebook/link', 'FacebookController@link'); | |
Route::post('/facebook/activate', 'FacebookController@activate'); | |
Route::get('/facebook/page/feed', 'FacebookController@pageFeed'); |
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
<?php | |
namespace App\Http\Controllers; | |
use Validator, Input, Auth, Redirect, Request, JavaScript, DateTime, Session, DB; | |
use App\VSE, App\Helper, App, App\Token, App\CURLexec, App\User; | |
class FacebookController extends Controller { | |
public function getToken(){ |
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
<table class="table table-bordered mb30" id="example" class="display" cellspacing="0" width="100%"> | |
<thead> | |
<tr> | |
<th>ID</th> | |
<th>Name</th> | |
</tr> | |
</thead> | |
<tbody> | |
<tr> |
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
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
<div class="panel-btns"> | |
<a href="" class="panel-close">×</a> | |
<a href="" class="minimize">−</a> | |
</div><!-- panel-btns --> | |
<h3 class="panel-title">Web Policy</h3> | |
<p>Create / Read / Update / Delete</p> | |
</div> | |
<div class="panel-body"> |
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
function containsKey($key_para, $array) | |
{ | |
foreach ($array as $key => $value) { | |
if ($key_para === $key) { | |
return true; | |
} | |
} | |
return false; | |
} |
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
#================================================ | |
# Bunlong Heng 4/23/2015 = | |
#================================================ | |
#Environment Variables | |
export JAVA_HOME=$(/usr/libexec/java_home) | |
export PATH=~/.composer/vendor/bin:$PATH |
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 | |
function check_compression { | |
curl -I -H 'Accept-Encoding: gzip,deflate' $1 |grep "Content-Encoding" | |
} | |
check_compression http://www.bunlongheng.com/ ; | |
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
/* | |
Grunt installation: | |
------------------- | |
npm install -g grunt-cli | |
npm install -g grunt-init | |
npm init (creates a `package.json` file) | |
Project Dependencies: | |
--------------------- |