Skip to content

Instantly share code, notes, and snippets.

Chris Deaton flashadvocate

  • NC State University
  • Raleigh, NC
Block or report user

Report or block flashadvocate

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@flashadvocate
flashadvocate / laravel-multiple-env-setup.php
Created Nov 27, 2018 — forked from msankhala/laravel-multiple-env-setup.php
Setup Multiple Environment for Laravel 5 Developers Way
View laravel-multiple-env-setup.php
<?php
/*
|--------------------------------------------------------------------------
| Follow this instructions:
|--------------------------------------------------------------------------
|
| Laravel takes a dead simple approach to your application environments
| so you can just specify a machine name for the host that matches a
| given environment, then we will automatically detect it for you.
@flashadvocate
flashadvocate / test_form.php
Last active Oct 14, 2016
Self submitting form
View test_form.php
<?php
if ($_GET) {
// do something with url params
var_dump($_GET);
} else if ($_POST) {
// do something with posted values
View gist:49c0993fc4c02d63d48dd54f2105b4a4
<?php
/**
* BF Division Structure
*
* Generates a bb-code template with prepopulated member data
*
*/
class BfDivisionStructure
{
View index.html
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<link rel="stylesheet" title="main" href="normalize.min.css" type="text/css">
<link rel="stylesheet" title="main" href="main.css" type="text/css">
<link rel="alternate stylesheet" title="red" href="red.css" type="text/css">
<link rel="alternate stylesheet" title="blue" href="blue.css" type="text/css">
You can’t perform that action at this time.