Skip to content

Instantly share code, notes, and snippets.

View jacobgraf's full-sized avatar

Jacob Graf jacobgraf

View GitHub Profile
@jacobgraf
jacobgraf / GhostBed IT Questionnaire.md
Created October 22, 2024 19:58
GhostBed IT Questionnaire.md

Overview

To ensure we have a comprehensive understanding of our current IT systems and processes, please provide detailed answers to the following questions. This information will help us identify areas for improvement and ensure the scalability and efficiency of our operations.


Section 1: Network Infrastructure and Connectivity

  1. Network Equipment and Configuration
@jacobgraf
jacobgraf / 01-app.less
Last active December 30, 2021 16:02
Tailwind CSS Base HTML Example
@tailwind base;
@tailwind components;
@import "base";
@import "custom";
@tailwind utilities;
@jacobgraf
jacobgraf / web.php
Last active December 2, 2019 16:36
Laravel Default Auth Routes (6.x)
<?php
/* Laravel Auth Routes */
// Login/Logout
Route::get('login', 'Auth\LoginController@showLoginForm')->name('login');
Route::post('login', 'Auth\LoginController@login');
Route::post('logout', 'Auth\LoginController@logout')->name('logout');
// Password Confirmation
@jacobgraf
jacobgraf / Tailwind Custom Forms.xml
Last active September 11, 2019 09:46
Tailwind Custom Forms - PHPStorm Live Templates
<templateSet group="Tailwind Custom Forms">
<template name="twf-input" value="&lt;label class=&quot;block&quot;&gt;&#10; &lt;span class=&quot;text-gray-700&quot;&gt;$TITLE$&lt;/span&gt;&#10; &lt;input type=&quot;$TYPE$&quot; name=&quot;$NAME$&quot; class=&quot;form-input mt-1 block w-full&quot; placeholder=&quot;$TITLE$&quot;&gt;&#10;&lt;/label&gt;" description="Input" toReformat="false" toShortenFQNames="true">
<variable name="TITLE" expression="&quot;Input&quot;" defaultValue="" alwaysStopAt="true" />
<variable name="TYPE" expression="&quot;text&quot;" defaultValue="" alwaysStopAt="true" />
<variable name="NAME" expression="camelCase(TITLE)" defaultValue="" alwaysStopAt="false" />
<context>
<option name="OTHER" value="true" />
</context>
</template>
<template name="twf-textarea" value="&lt;label class=&quot;block&quot;&gt;&#10; &lt;span class=&quot;text-gray-700&quot;&gt;$TITLE$&lt;/span&gt;&#10; &lt;textarea name=&quot;$NAME$&quot; class=&quot;form-textarea mt-1 bloc
@jacobgraf
jacobgraf / general.php
Last active June 14, 2018 16:38
.env Boolean Variable (evalBool Function)
<?php
return [
'devMode' => evalBool(getenv('DEV_MODE')),
];
?>
@jacobgraf
jacobgraf / general.php
Last active June 14, 2018 16:38
.env Boolean Variable Function
<?php
// Custom Dotenv Boolean Support
if (! function_exists('evalBool')) {
function evalBool($value)
{
return (strcasecmp($value, 'true') ? false : true);
}
}