Skip to content

Instantly share code, notes, and snippets.


flashadvocate flashadvocate

View GitHub Profile
flashadvocate / tmux.cheat
Created Oct 30, 2020 — forked from afair/tmux.cheat
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
View tmux.cheat
========================================== ==========================================
========================================== ==========================================
List tmux ls List ^b w
New new -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
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
| 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 / test_form.php
Last active Oct 14, 2016
Self submitting form
View test_form.php
if ($_GET) {
// do something with url params
} else if ($_POST) {
// do something with posted values
View gist:49c0993fc4c02d63d48dd54f2105b4a4
* BF Division Structure
* Generates a bb-code template with prepopulated member data
class BfDivisionStructure
View index.html
<!DOCTYPE html>
<html class="no-js">
<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">