diff --git a/content/authors/jbrooksuk.md b/content/authors/jbrooksuk.md index 9eb7692..2db8c80 100644 --- a/content/authors/jbrooksuk.md +++ b/content/authors/jbrooksuk.md @@ -1,5 +1,5 @@ --- username: jbrooksuk -name: 'James Brooks ' -avatar: 'https://pbs.twimg.com/profile_images/1450888833168560138/6LhKVmed_normal.jpg' +avatar: 'https://pbs.twimg.com/profile_images/1537504111939268609/z5JpARYC_normal.jpg' +name: 'James Brooks 🥭' --- diff --git a/content/threads/weekly-thread-2022-30.md b/content/threads/weekly-thread-2022-30.md new file mode 100644 index 0000000..c8e5c88 --- /dev/null +++ b/content/threads/weekly-thread-2022-30.md @@ -0,0 +1,19 @@ +--- +slug: weekly-thread-2022-30 +title: 'Weekly thread #30 of 2022' +tweet_id: '1553002656955830272' +author_username: archtechx +created_at: 2022-07-29T13:01:01+00:00 +links: { } +--- +This week's news and tips for Laravel developers include: + +🍺 Laravel Pint v1.1 +🚀 Deployer v7 is out +🆕 Laravel 9.22 released +💫 New updates in Spark Stripe +📘 Codecourse and Laracast series + +and more... + +Thread #131 \ No newline at end of file diff --git a/content/tips/you-can-enable-js-sourcemaps-using-at-vite-js-in-laravel.md b/content/tips/you-can-enable-js-sourcemaps-using-at-vite-js-in-laravel.md new file mode 100644 index 0000000..562a7ee --- /dev/null +++ b/content/tips/you-can-enable-js-sourcemaps-using-at-vite-js-in-laravel.md @@ -0,0 +1,11 @@ +--- +title: 'You can enable JS sourcemaps using @vite_js in Laravel ' +tweet_id: '1553002662517678081' +thread_slug: weekly-thread-2022-30 +author_username: jbrooksuk +images: + - 'https://pbs.twimg.com/media/FYhWV8mWAAULTRT.jpg' +created_at: 2022-07-29T13:01:02+00:00 +slug: you-can-enable-js-sourcemaps-using-at-vite-js-in-laravel +--- +🗺 Using @vite_js? You can enable JS sourcemaps in the vite.config.js file. \ No newline at end of file diff --git a/content/tips/you-can-use-with-ties-instead-of-limit-to-return-more-results-if-they-have-the-same-value.md b/content/tips/you-can-use-with-ties-instead-of-limit-to-return-more-results-if-they-have-the-same-value.md new file mode 100644 index 0000000..b303f5a --- /dev/null +++ b/content/tips/you-can-use-with-ties-instead-of-limit-to-return-more-results-if-they-have-the-same-value.md @@ -0,0 +1,13 @@ +--- +title: 'You can use WITH TIES instead of LIMIT to return more results if they have the same value ' +tweet_id: '1553002673531543552' +thread_slug: weekly-thread-2022-30 +author_username: tobias_petry +images: + - 'https://pbs.twimg.com/media/FYqFF_wWAAAAGKm.jpg' +created_at: 2022-07-29T13:01:05+00:00 +slug: you-can-use-with-ties-instead-of-limit-to-return-more-results-if-they-have-the-same-value +--- +⚡️ Database Tip + +Everyone knows the LIMIT clause. But what do you do if you want to have e.g. the employees with the TOP 3 salaries *and* not exclude the 4th or 5th one earning the same as the 3rd? The WITH TIES clause can return more results if the value is the same. Great! \ No newline at end of file