Skip to content

Instantly share code, notes, and snippets.

View beauraines's full-sized avatar

Beau Raines beauraines

View GitHub Profile
@beauraines
beauraines / meeting_notes_template.md
Last active April 10, 2024 23:49
Useful set of nb commands

Objective:

Date/Time:

:::::: {.columns .ragged} ::: column

Invited

  • Beau
@beauraines
beauraines / .php_cs
Created January 25, 2020 23:48
attempting to match StyleCI recommended PHP
<?php
return PhpCsFixer\Config::create()
->setRules(array(
'@PSR2' => true,
'@Symfony' =>true,
'array_indentation' => true,
'array_syntax' => array('syntax' => 'short'),
'combine_consecutive_unsets' => true,
'method_separation' => true,
'no_multiline_whitespace_before_semicolons' => true,
@beauraines
beauraines / createTemplates.sh
Last active May 21, 2019 22:17
Diff to create bug and agile issue templates
#!/bin/bash
#set -x
git checkout master
git checkout -b issue_templates
git push --set-upstream origin issue_templates
curl https://gist.githubusercontent.com/beauraines/f68e568cae2139b92aa9dc622a8e753d/raw/21d11de58b155e42bde2685aa2e992f765693975/template.diff | git apply
git add .github
git commit -m "Adds two new issue templates a bug and an agile issue template."
git push
@beauraines
beauraines / sendAddProductionPlan.js
Created January 16, 2019 00:49
Adding firm production plan in workflow fails on the last line TypeError: Cannot read property 'push' of undefined
function sendAddProductionPlan() {
// Set required arguments
scope.activatedProductionPlan.bomID = null;
scope.activatedProductionPlan.type = 'USER-CREATED';
// remap values
scope.activatedProductionPlan.dueDate = scope.activatedProductionPlan.due_date;
if ( scope.firmPlanOnly) {
scope.activatedProductionPlan.firmFlag = 1;
@beauraines
beauraines / potential_server_names.txt
Created December 11, 2018 17:27
Potential Server Names
magnum
KITT
baracus
klinger
hal
jeannie
Maverick
Goose
Miyagi
#!/usr/bin/env bash
set -x
### Based on https://gist.github.com/BenSampo/aa5f72584df79f679a7e603ace517c14
# Change to the project directory
#cd /home/forge/domain.com
# Turn on maintenance mode
#php artisan down