🫥 Alan Wynn ツ (@djekl) header
🫥 Alan Wynn ツ (@djekl) profile picture

Certified Laravel Developer. Tinkerer of stuff n things. Not much more to say about me, check my site for more info. Please don't DM me on here!

Newcastle Upon Tyne, UK
Joined June 2009
Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)Photo by 🫥 Alan Wynn ツ (@djekl)
Successfully passed the Laravel Exam, so am a Certified @Laravel Developer. Would hope so after using it since v3 😂 exam.laravelcert.com/is/alan… – at Wallsend, England
1
2
🫥 Alan Wynn ツ retweeted
you can just position: sticky things basic CSS layout tricks get overlooked so much, but often provide greater impact, going unnoticed other way to trick sticky positioning 👇🧵
additional affordance to show if current scroll position is at the top or not
32
136
3
4,015
593,808
🫥 Alan Wynn ツ retweeted
NativePHP isn't a hobby project or a toy. It's serious. Let me tell you why NativePHP exists and why it matters. Get a warm cup of cocoa, kids, it's story time 👨‍👩‍👧‍👦
9
12
1
244
42,816
🫥 Alan Wynn ツ retweeted
Just found a really cool Tomato garden on Shodan
87
300
49
4,839
330,325
🫥 Alan Wynn ツ retweeted
NEW VIDEO! Let’s See If I Can Get Fired - AMD $5,000 Ultimate Tech Upgrade youtu.be/oTYwd9OjFRk Enter the AMD giveaway for TWO ROG Allys below! gleam.io/d3Xsi/amd-asus-rog-… #sponsoredby @AMD
869
21,860
133
4,143
558,141
🫥 Alan Wynn ツ retweeted
If you're using Laravel Sanctum and you want to use your own API from a backend service on the same parent domain, you can forward the encrypted cookies and set the referer header. Sanctum will authenticate as the requesting user, all without any tokens👌
3
31
109
🫥 Alan Wynn ツ retweeted
🐘$c++ equals ‘d’ 🐘 3v4l.org/e1e1r4 #php
17
12
1
131
🫥 Alan Wynn ツ retweeted
🥳 Debugging can be fun too! Hope you’ll enjoy this nice little ray()->confetti() call that we put in the latest version of myray.app
4
5
1
57
🫥 Alan Wynn ツ retweeted
You can clean up a lot of code by moving the common props to parent component and using @aware directive which allows you to access parent component data.
10
51
🫥 Alan Wynn ツ retweeted
One of the best videos Apple has ever made.
168
2,303
234
16,220
🫥 Alan Wynn ツ retweeted
Same logic applies to str_* functions as well 🤯
Replying to @aschmelyun
There is a clue. Split in_array to 2 pieces from underscore. Array word will be second part. Same as the $array value comes on second parameter.
1
1
7
🫥 Alan Wynn ツ retweeted
me: have been working with PHP almost daily for 10 years also me: googles in_array again to find out if the value or the array is first
77
45
14
567
🫥 Alan Wynn ツ retweeted
⚡ Database Tip Duplicate rows are created easily by mistake, but can be deleted much easier: You can in a *single* SQL query specify the duplicate rows to keep and also keep more than one! sqlfordevs.io/delete-duplica…
14
60
3
305
🫥 Alan Wynn ツ retweeted
New analysis of TikTok’s source code shows app obtaining access to an excessive, alarming, and dangerous amount of sensitive data. “the only reason this information has been gathered is for data harvesting” gizmodo.com.au/2022/07/tikto…
34
214
56
427
🫥 Alan Wynn ツ retweeted
Great points in DM from @jessethanley: 1) Nobody should have casual access to production infrastructure. CTO, CEO or similar should have keys but not all sr engineers. 2) In an emergency, sure, temporarily authorize access for fixes Anyone disagree and in the mood for a fight?
8
3
17
🫥 Alan Wynn ツ retweeted
Dogshit - Very poor quality Bullshit - Not true Horseshit - Nonsense Apeshit - Rambunctious Batshit - Insane This is an excellent feature of English that we should continue building upon.
2,349
65,916
2,460
471,326
TIL: In Laravel Livewire, it's better sometimes to use wire.entangle(), instead of the entangle directive, avoids weird issues like "invalid or unexpected token." Thanks, @samuelstancl, for posting that gem. 🔥
🫥 Alan Wynn ツ retweeted
🔥 #Laravel Tip: Laravel provides excellent authorization features in the form of gates and policies, but sometimes, a simple role-based approach works the best. While many packages exist for this, it's trivial to create your own system.
2
36
124
🫥 Alan Wynn ツ retweeted
With the newest version of Git 2.37.0, you can run just "git push" to push new branches. No more "--set-upstream origin". Enable with: git config --global --add --bool push.autoSetupRemote true
158
2,198
463
11,447
🫥 Alan Wynn ツ retweeted
🍋 Did it just fresh in here? ⚔️ It did for Blade. 🔄 RE-fresh that is... In v0.3.0 of the laravel/vite-plugin, you now have "Blade hot refreshing" out of the box. To get the latest version, you will need to run: npm install -D [email protected]
3
29
5
147