
I like to create tidy, highly readable code. Tools of choice: Laravel, Livewire, Alpine, and Tailwind
Greenville, SC
Joined August 2010
- Tweets2.1K
- Following228
- Followers146
- Likes312
Listening to @cheese_weather while consuming some tasty Swiss cheese. It's not nice to call it boring @benholmen
1
4
154
While pairing with @ProjektGopher, I learned that a single quote tag like <<<'HTML' will return a literal string and is actually called a nowdoc while the heredoc tags <<<"HTML" or <<<HTML are needed to interpolate variables.
Or as the PHP docs say: "Nowdocs are to single-quoted strings what heredocs are to double-quoted strings."
php.net/manual/en/language.t…
I think that comparison will help me remember this.
1
44
Wish list item for @laravelphp Cloud: I want to have one queue worker server running with 2 more in hibernation, and only when the queue backlog hits a certain wait time, I'd like one or two of the other queue workers to temporarily boot up and help process jobs.
7
28
2,539
Replying to @aarondfrancis
@aarondfrancis Nice Cool Runnings reference in the latest episode of @MostlyTechPod. 😄
1
3
156
One of the highlights of Laracon for me was the improv show by @aarondfrancis and @calebporzio. That was a delightful start to day 2 of the conference. 🙂
If you use @pocketcasts and love listening to @cheese_weather like I do, please give a rating with Pockets Casts new rating system.
2
59
Here's a fun refactor using Laravel's Stringable class. It adds lines, but it feels much more readable.
3
137
Does anyone have any pull requests or other bits of code you'd like reviewed? For those who don't know me, I'm a Laravel developer with particular strengths with the TALL stack, and I've grown quite adept at code reviews and refactoring. I'd love to review your code.
TIL about Eloquent's withCasts() method in an article by @reinink. It may come in handy with custom select statements. Example: ->withCasts(['last_login_at' => 'datetime'])
reinink.ca/articles/dynamic-…
Replying to @JacobBennett
@JacobBennett You mentioned frustrations with compiled assets on @northsouthaudio. I made a gist of artisan commands I use for this that you may find helpful. gist.github.com/fuelingthewe…
1
1
Replying to @wesbos
1
Replying to @wesbos
@wesbos @syntaxfm Here is an Alfred workflow I really like that converts hex colors to rgb, hsl, etc: github.com/TylerEich/Alfred-…
Replying to @mattstauffer
@mattstauffer It always brings a smile to my face when I hear you interact with your son at the end of @5minutegeekshow :)
1
1








