Skip to content

Instantly share code, notes, and snippets.

View bunlongheng's full-sized avatar
💭
🍔 Eat. 🛌 Sleep. 💻 Code --> ☕️🧑🏻‍💻

Bunlong Heng bunlongheng

💭
🍔 Eat. 🛌 Sleep. 💻 Code --> ☕️🧑🏻‍💻
View GitHub Profile
/*================================
= 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');
@bunlongheng
bunlongheng / my_network_page.blade.php
Last active May 2, 2018 21:39
Wifi SSDI, Passphrase, and State
// 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 ;
@extends('layouts.internal.master')
@section('content')
<style type="text/css">
.btn-js{
display: none;
}
</style>
<div class="table-responsive" style="margin-bottom: 0;">
<table class="table" id="account-table">
<thead>
<tr>
<th>#</th>
<th>Account ID</th>
<th>Customer Type</th>
<th>Name</th>
<th>Email</th>
# Last updated : BH | 5/17/2016
import requests
import json
import os
import random
import re
import emoji
import sys
import math
#! /usr/bin/env python
import ipaddress
import netaddr
import requests
import sys
class MDU_SSC(TestCase):
'''
<script type="text/javascript">
//Edit Mode
$('body').on('click', '.account-edit', function () {
var id = $(this).data("id");
console.log(id);
//Declare Variables
import os
print ("______________\n")
print " 1.GET "
print " 2.POST "
print " 3.PUT "
print " 4.DELETE "
print ("______________\n")
@bunlongheng
bunlongheng / skills.index.blade.php
Last active May 2, 2018 21:38
Blade with Angular Integration
@extends('layouts.be.master')
@section('content')
<script type="text/javascript">
myApp.directive('myEnter', function () {
return function (scope, element, attrs) {
element.bind("keydown keypress", function (event) {
@bunlongheng
bunlongheng / SkillController.php
Last active March 1, 2019 18:53
Sample Laravel + Angular CRUD Controller
<?php
namespace App\Http\Controllers;
use App\Skill;
use Input, Validator, Auth, Redirect, Request, Session, Mail, View, Image;
class SkillController extends Controller {
//------------------------------------------------------------------------------------------------- [ all ]