1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 05:14:04 +00:00

Change 2021-01 to 2022-01

This commit is contained in:
lukinovec 2022-01-07 17:49:46 +01:00
parent d1baa50b87
commit 3f8062e713
21 changed files with 43 additions and 43 deletions

View file

@ -1,5 +1,5 @@
--- ---
slug: weekly-thread-2021-01 slug: weekly-thread-2022-01
title: 'Weekly thread #01 of 2022' title: 'Weekly thread #01 of 2022'
tweet_id: '1479467928818892800' tweet_id: '1479467928818892800'
author_username: archtechx author_username: archtechx

View file

@ -1,7 +1,7 @@
--- ---
title: 'Adding WHERE scopes which use an indexed column to a query that''s primarily filtered by another column is a great way to speed up DB performance' title: 'Adding WHERE scopes which use an indexed column to a query that''s primarily filtered by another column is a great way to speed up DB performance'
tweet_id: '1471864653491974151' tweet_id: '1471864653491974151'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: tobias_petry author_username: tobias_petry
images: images:
- 'https://pbs.twimg.com/media/FGafd_JXMAEDgP5.jpg' - 'https://pbs.twimg.com/media/FGafd_JXMAEDgP5.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Compare models using is() instead of directly comparing attributes' title: 'Compare models using is() instead of directly comparing attributes'
tweet_id: '1479467936700010504' tweet_id: '1479467936700010504'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: archtechx author_username: archtechx
images: images:
- 'https://pbs.twimg.com/media/FHJNmt3VEAIYtCy.jpg' - 'https://pbs.twimg.com/media/FHJNmt3VEAIYtCy.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Custom collections pair well with higher order proxies' title: 'Custom collections pair well with higher order proxies'
tweet_id: '1479467951753285637' tweet_id: '1479467951753285637'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: archtechx author_username: archtechx
images: images:
- 'https://pbs.twimg.com/media/FIa84E5VUAAQsL1.jpg' - 'https://pbs.twimg.com/media/FIa84E5VUAAQsL1.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'From PHP 7.4, you can use the spread syntax to merge arrays' title: 'From PHP 7.4, you can use the spread syntax to merge arrays'
tweet_id: '1479467945822588931' tweet_id: '1479467945822588931'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: bhaidar author_username: bhaidar
images: images:
- 'https://pbs.twimg.com/media/FIDdCQvVEAMsK3l.jpg' - 'https://pbs.twimg.com/media/FIDdCQvVEAMsK3l.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Number markdown lists with `1.` rather than the actual number' title: 'Number markdown lists with `1.` rather than the actual number'
tweet_id: '1479467929888440329' tweet_id: '1479467929888440329'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: frankdejonge author_username: frankdejonge
images: images:
- 'https://pbs.twimg.com/media/FHNHLM8X0AA6sqs.png' - 'https://pbs.twimg.com/media/FHNHLM8X0AA6sqs.png'

View file

@ -1,7 +1,7 @@
--- ---
title: 'PHP 8.1 enums can be used as model casts' title: 'PHP 8.1 enums can be used as model casts'
tweet_id: '1479467948985126913' tweet_id: '1479467948985126913'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: ryangjchandler author_username: ryangjchandler
images: images:
- 'https://pbs.twimg.com/media/FIRla1cX0AUpxGS.jpg' - 'https://pbs.twimg.com/media/FIRla1cX0AUpxGS.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Use `composer why-not` to see why a dependency cannot be installed' title: 'Use `composer why-not` to see why a dependency cannot be installed'
tweet_id: '1479467931159334915' tweet_id: '1479467931159334915'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: freekmurze author_username: freekmurze
images: images:
- 'https://pbs.twimg.com/media/FHFSeQyXMAk3JFi.jpg' - 'https://pbs.twimg.com/media/FHFSeQyXMAk3JFi.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Use match () or switch () statements to conditionally scope database queries based on query strings in the request' title: 'Use match () or switch () statements to conditionally scope database queries based on query strings in the request'
tweet_id: '1471864655710670854' tweet_id: '1471864655710670854'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: archtechx author_username: archtechx
images: images:
- 'https://pbs.twimg.com/media/FGmQH5nXEAs4mnv.jpg' - 'https://pbs.twimg.com/media/FGmQH5nXEAs4mnv.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Use partitions for deleting mass amounts of data' title: 'Use partitions for deleting mass amounts of data'
tweet_id: '1479467943276670979' tweet_id: '1479467943276670979'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: tobias_petry author_username: tobias_petry
images: images:
- 'https://pbs.twimg.com/media/FIQQcQSXwAk2rDy.jpg' - 'https://pbs.twimg.com/media/FIQQcQSXwAk2rDy.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Use retry() for callbacks that may randomly fail' title: 'Use retry() for callbacks that may randomly fail'
tweet_id: '1471864638199451648' tweet_id: '1471864638199451648'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: alexjgarrett author_username: alexjgarrett
images: images:
- 'https://pbs.twimg.com/media/FGP3MSQWQAYKjSm.jpg' - 'https://pbs.twimg.com/media/FGP3MSQWQAYKjSm.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Use skip() when writing tests ahead of time' title: 'Use skip() when writing tests ahead of time'
tweet_id: '1479467933705195521' tweet_id: '1479467933705195521'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: bhaidar author_username: bhaidar
images: images:
- 'https://pbs.twimg.com/media/FHNHgg4VgAAFSzE.jpg' - 'https://pbs.twimg.com/media/FHNHgg4VgAAFSzE.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'Use the `SOUNDEX()` function in MySQL to compare strings by how they *sound* rather than how they''re typed' title: 'Use the `SOUNDEX()` function in MySQL to compare strings by how they *sound* rather than how they''re typed'
tweet_id: '1479467947634556930' tweet_id: '1479467947634556930'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: justsanjit author_username: justsanjit
images: images:
- 'https://pbs.twimg.com/media/FHuueNxWUAMLdAP.jpg' - 'https://pbs.twimg.com/media/FHuueNxWUAMLdAP.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can add a --refresh flag to the artisan down command to send a refresh header to the browser' title: 'You can add a --refresh flag to the artisan down command to send a refresh header to the browser'
tweet_id: '1471864676652826626' tweet_id: '1471864676652826626'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: DianaWebdev author_username: DianaWebdev
images: images:
- 'https://pbs.twimg.com/media/FG0dHeBXwAw3bvc.jpg' - 'https://pbs.twimg.com/media/FG0dHeBXwAw3bvc.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can refactor cluttered if () conditions using lookup tables, match statements, and switch statements' title: 'You can refactor cluttered if () conditions using lookup tables, match statements, and switch statements'
tweet_id: '1471864664661311488' tweet_id: '1471864664661311488'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: archtechx author_username: archtechx
images: images:
- 'https://pbs.twimg.com/media/FGVrAKdVgAIWfwk.jpg' - 'https://pbs.twimg.com/media/FGVrAKdVgAIWfwk.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can supply default values for route parameters' title: 'You can supply default values for route parameters'
tweet_id: '1479467942039285762' tweet_id: '1479467942039285762'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: ryangjchandler author_username: ryangjchandler
images: images:
- 'https://pbs.twimg.com/media/FIWa8DxXMAIW7Tz.jpg' - 'https://pbs.twimg.com/media/FIWa8DxXMAIW7Tz.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can use Blade::stringable() to define how specific objects should be converted to their string representation' title: 'You can use Blade::stringable() to define how specific objects should be converted to their string representation'
tweet_id: '1479467939191345152' tweet_id: '1479467939191345152'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: Philo01 author_username: Philo01
images: images:
- 'https://pbs.twimg.com/media/FHn41aBXsAAUyar.jpg' - 'https://pbs.twimg.com/media/FHn41aBXsAAUyar.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can use first class callables for routes in PHP 8.1' title: 'You can use first class callables for routes in PHP 8.1'
tweet_id: '1479467932379799552' tweet_id: '1479467932379799552'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: archtechx author_username: archtechx
images: images:
- 'https://pbs.twimg.com/media/FHNP2kIVUAIqiCH.jpg' - 'https://pbs.twimg.com/media/FHNP2kIVUAIqiCH.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can use generic class-string annotations to hint that an instance of the passed class is returned' title: 'You can use generic class-string annotations to hint that an instance of the passed class is returned'
tweet_id: '1479467944581033986' tweet_id: '1479467944581033986'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: freekmurze author_username: freekmurze
images: images:
- 'https://pbs.twimg.com/media/FIN1v4NWUAARbol.jpg' - 'https://pbs.twimg.com/media/FIN1v4NWUAARbol.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can use `onerror` on the image tag' title: 'You can use `onerror` on the image tag'
tweet_id: '1479467940726468609' tweet_id: '1479467940726468609'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: JuanDMeGon author_username: JuanDMeGon
images: images:
- 'https://pbs.twimg.com/media/FIWjvXSWUAYjM-j.jpg' - 'https://pbs.twimg.com/media/FIWjvXSWUAYjM-j.jpg'

View file

@ -1,7 +1,7 @@
--- ---
title: 'You can use the array spread syntax to pass an array of arguments to another function' title: 'You can use the array spread syntax to pass an array of arguments to another function'
tweet_id: '1471864644562305025' tweet_id: '1471864644562305025'
thread_slug: weekly-thread-2021-01 thread_slug: weekly-thread-2022-01
author_username: freekmurze author_username: freekmurze
images: images:
- 'https://pbs.twimg.com/media/FGepj8mWQAUf2R_.jpg' - 'https://pbs.twimg.com/media/FGepj8mWQAUf2R_.jpg'