Skip to content

Instantly share code, notes, and snippets.

View jtgrimes's full-sized avatar

J.T. Grimes jtgrimes

View GitHub Profile
// This is the code in the script to generate the file...
protected $signature = 'generate:constants';
protected $description = 'Generate json files for constants';
protected $outputFile = 'resources/js/plugins/constsPlugin.js';
public function handle()
{
// clear any existing file
if (is_file(base_path($this->outputFile))) {
@jtgrimes
jtgrimes / questions-for-interviewers.md
Last active June 23, 2019 21:19
Questions to ask interviewers

The Team

  • Can you tell me about the team I’ll be working with?
  • How do people on the team communicate/interact?
  • Can I meet the team?
  • Who will I work with most closely?
  • Who will I report to directly?
  • Can you tell me about my direct reports? What are their strengths and the team's biggest challenges?
  • Do you expect to hire more people in this department in the next six months?
@jtgrimes
jtgrimes / new-laravel.sh
Last active June 23, 2019 21:09
Initial setup of a new Laravel project
#!/bin/sh
#install the core
composer create-project --prefer-dist laravel/laravel $1
cd $1
git init
#install extra packages
composer require --dev squizlabs/php_codesniffer barryvdh/laravel-ide-helper doctrine/dbal roave/security-advisories:dev-master laravel/telescope dczajkowski/auth-tests jrmadsen67/laravel-feature-test-generator
@jtgrimes
jtgrimes / .gitconfig
Created March 10, 2017 18:16
Git config
[core]
autocrlf = true
excludesfile = ~\gitignore_global.txt
[user]
name = J.T. Grimes
email = [email protected]
[alias]
ca = commit --amend
show-files = show --pretty=\"format:%h %s\\\n\" --name-only
lom = log origin/master..
@jtgrimes
jtgrimes / speaking.md
Last active June 18, 2017 20:41
Speaking resources

I've been storing articles about speaking and giving talks in Pocket for a while. Most of the articles I haven't read (or have only skimmed) and I make no promises about their quality. They are presented in no particular order. I'm just sharing it in case anyone is interested.

Have other interesting articles? Let me know. Corrections welcome too.

Beth Tucker Long: (@e3betht)

Emma Jane Hogbin Westby (@emmajanehw)

@jtgrimes
jtgrimes / keybase.md
Created September 1, 2014 22:21
Keybase

Keybase proof

I hereby claim:

  • I am jtgrimes on github.
  • I am jtgrimes (https://keybase.io/jtgrimes) on keybase.
  • I have a public key whose fingerprint is 972F 5523 4751 04AC AEEE 375B F1A8 201B 727A 21D1

To claim this, I am signing this object: