Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile
Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito

@_codito_

๐Ÿ‡ต๐Ÿ‡ฑ codito.pl ๐Ÿ‡ฌ๐Ÿ‡ง codito.dev | Self-educated specialist: PHP, CI/CD, QA automation, Docker, Gitlab and more ๐Ÿ˜Ž. Member of @PHPCSFixer team ๐Ÿชถ.

ID: 1511675847287128074

linkhttps://blog.codito.dev calendar_today06-04-2022 12:03:22

7,7K Tweet

1,1K Takipรงi

361 Takip Edilen

Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

TIL: #Terraform's `regex()` and `regexall()` functions use #Go's RE2 engine, which means it does not support lookarounds (positive/negative lookahead/lookbehind). This means it's not possible to use more complex regexes, but it's rather required to build compound conditions.

Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

Participating in Matthias Noback @[email protected]'s Domain-Driven Aggregate Design workshop today/tomorrow, and even as an attendee I am in a code review mode ๐Ÿ˜†. github.com/matthiasnobackโ€ฆ

Participating in <a href="/matthiasnoback/">Matthias Noback @matthiasnoback@mastodon.social</a>'s Domain-Driven Aggregate Design workshop today/tomorrow, and even as an attendee I am in a code review mode ๐Ÿ˜†.

github.com/matthiasnobackโ€ฆ
Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

With support for custom rulesets you can now prepare your own Composer package that: - requires PHP-CS-Fixer - defines your rules as a ruleset Then in your projects you can require that package and have super-small config file that registers your ruleset and uses it ๐Ÿ˜.

With support for custom rulesets you can now prepare your own Composer package that:
- requires <a href="/PHPCSFixer/">PHP-CS-Fixer</a> 
- defines your rules as a ruleset

Then in your projects you can require that package and have super-small config file that registers your ruleset and uses it ๐Ÿ˜.
Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

It's a nice addition, however I'm still against putting NPM (& other non-PHP) stuff in Composer scripts. I believe you should think in an encapsulated way, assuming there are no NodeJS/NPM on your PHP runtime. High-level project orchestration should be shipped with e.g. Makefile.

Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

Today I drove ~900km to bring this little buddy home. It was my wife's and my daughter's dream, and if life isn't about fulfilling these, then I don't know what it's about ๐Ÿคทโ€โ™‚๏ธ๐Ÿ˜…. Tired, but happy! #tearsofjoy #bordercollie

Today I drove ~900km to bring this little buddy home. It was my wife's and my daughter's dream, and if life isn't about fulfilling these, then I don't know what it's about ๐Ÿคทโ€โ™‚๏ธ๐Ÿ˜…. Tired, but happy! #tearsofjoy #bordercollie
Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

I am soooooo used to #Composer's scripts, that today I wanted to add grouping script (with `@` references to other scripts) in `package.json` file... ๐Ÿคฆโ€โ™‚๏ธ How #JavaScript/#TypeScript folks can work without this feature?

Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

#Prettier does not have ability to print diff with fixes found in --check mode ๐Ÿ˜ณ. Feature was originally requested in 2018... Do people really apply everything blindly? I know it can be reviewed before committing so it's basically the same, but still... github.com/prettier/prettโ€ฆ

Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

Yesterday #ChatGPT wasted few hours of my life/work suggesting many approaches to fix Backstage test (React), while the actual fix was to add `auth: { environment: 'development' }` to `process.env.APP_CONFIG.data` ๐Ÿ˜ฉ. These tools are so smart & so dumb at the same time.

Greg Korba ๐Ÿ› ๏ธ๐Ÿ›น Codito (@_codito_) 's Twitter Profile Photo

Did you know that you can prepare GitHub URLs that point not only to specific line of code, but also to specific part of it? Just add anchor in `L2C14-L2C28` format to highlight subpart of line content ๐Ÿ˜Š! Great way to point out some typo, bad wording or the most important part.

Did you know that you can prepare GitHub URLs that point not only to specific line of code, but also to specific part of it? Just add anchor in `L2C14-L2C28` format to highlight subpart of line content ๐Ÿ˜Š! Great way to point out some typo, bad wording or the most important part.