Skip to content

Instantly share code, notes, and snippets.

View flashadvocate's full-sized avatar

Guybrush flashadvocate

View GitHub Profile
{
"emojis": [
{"emoji": "😂", "name": "face with tears of joy", "html": "😂", "category": "Smileys & Emotion (face-smiling)", "order": "3"},
{"emoji": "❤️", "name": "red heart", "html": "❤", "category": "Smileys & Emotion (emotion)", "order": "1286"},
{"emoji": "♥️", "name": "heart suit", "html": "♥️", "category": "Activities (game)", "order": ""},
{"emoji": "😍", "name": "smiling face with heart-eyes", "html": "😍", "category": "Smileys & Emotion (face-affection)", "order": "13"},
{"emoji": "😭", "name": "loudly crying face", "html": "😭", "category": "Smileys & Emotion (face-concerned)", "order": "55"},
{"emoji": "😊", "name": "smiling face with smiling eyes", "html": "😊", "category": "Smileys & Emotion (face-smiling)", "order": "10"},
{"emoji": "😒", "name": "unamused face", "html": "😒", "category": "Smileys & Emotion (face-neutral-skeptical)", "order": "41"},
{"emoji": "😘", "name": "face blowing a kiss", "html": "😘", "
@flashadvocate
flashadvocate / tmux.cheat
Created October 30, 2020 09:06 — forked from afair/tmux.cheat
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
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
flashadvocate / laravel-multiple-env-setup.php
Created November 27, 2018 19:38 — forked from msankhala/laravel-multiple-env-setup.php
Setup Multiple Environment for Laravel 5 Developers Way
<?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 October 14, 2016 00:25
Self submitting form
<?php
if ($_GET) {
// do something with url params
var_dump($_GET);
} else if ($_POST) {
// do something with posted values
<?php
/**
* BF Division Structure
*
* Generates a bb-code template with prepopulated member data
*
*/
class BfDivisionStructure
{
<!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">