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

When everything was working fine yesterday, but today your CI screams at you: Error manifest for bitnami/* not found: manifest unknown

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.