RSSAmplifier

Blog

Danny Herran

Coding is fun

dannyherran.comRSS feed ↗10 posts

Latest posts

8bitDo SN30 Pro + USB Wireless Adapter 2 [Tesla Model 3/Y]

The goal of this setup is to get one or more 8bitDo SN30 Pro controllers connected to a Tesla vehicle via the 8bitDo Wireless Adapter 2. This allows for multiplayer setups without Bluetooth pairing, or wires. Shopping list Please note that you need 1 wireless adapter per controller. If you want 2 controllers, you need [ ] The post 8bitDo SN30 Pro + USB Wireless Adapter 2 [Tesla Model 3/Y] appeared…

I made a simple web app entirely with AI and this is what I learned

I wanted to turn the following quest flowchart for Cyberpunk 2077 that I found on Reddit (kudos to /u/rolux for designing this) into a simple web tracker with local storage. Due to the complexity of the quest tree, I already knew building this would be a challenge for any model. So I put them to [ ] The post I made a simple web app entirely with AI and this is what I learned appeared first on…

Cooler Master NCORE 100 MAX Fan Swap Mod

The NCORE 100 is a small form factor (SFF) case that looks absolutely fantastic. However, the stock fans from Cooler Master are quite noisy. If you’re considering getting the NCORE 100 MAX, setting aside some extra budget to replace the stock fans with Noctuas will make the case roughly 50% quieter. With the stock fans, [ ] The post Cooler Master NCORE 100 MAX Fan Swap Mod appeared first on Danny…

Laravel Sanctum optional route authentication and guard selection

By default, Laravel Sanctum token authentication will either completely block access to protected routes or allow it at the expense of not being able to detect if the user is logged in. However, there are valid scenarios whereby a route should be accessible to guests and at the same time allow bearer token authentication. One [ ] The post Laravel Sanctum optional route authentication and guard…

Tailwind CSS with Parcel v2

Getting Tailwind to compile with Parcel v2 is easier than ever. We will leverage the Parcel v2 PostCSS support to automatically compile Tailwind assets with little configuration. I assume that you use yarn for all node packages. If you use npm please use the equivalent commands. Start by initializing your project with: yarn init Then [ ] The post Tailwind CSS with Parcel v2 appeared first on Danny…

Stay Meta – a social platform for gamers

Reddit, Twitter, Twitch, and YouTube. Gamers and content creators alike use social media platforms to upload their content and stay in touch with their followers. But what if there was another way to condense them into a single, centralized location where all gaming content could converge? This is where Stay Meta comes in. I and [ ] The post Stay Meta a social platform for gamers appeared first on…

Laravel reCAPTCHA v2 Middleware in 3 minutes

I needed to add reCAPTCHA v2 to a couple of forms and most of the results on Google pointed to these large Composer packages that were simply too much. This article will cover how to do create a new Laravel Middleware to validate reCAPTCHA v2 requests with just a few lines of code. Time to [ ] The post Laravel reCAPTCHA v2 Middleware in 3 minutes appeared first on Danny Herran .

Git squash commits in VS Code

If you are looking to squash several commits into one in VS Code without having to use the console, I have a solution for you. First off you need the GitGraph plugin, which simply allows you to see the full git log history of your branches. This is handy when having to interact with specific [ ] The post Git squash commits in VS Code appeared first on Danny Herran .

Laravel Fractal pagination with simplePaginate

By default Fractal has native support for Laravel::paginate. Those using simplePaginate() have to resort to either using Fractal Cursors or build their own adapter. In this post, we are going to quickly build an adapter that fully supports Laravel::simplePaginate. This tutorial assumes you are using the amazing Laravel Fractal wrapper provided by the guys at [ ] The post Laravel Fractal pagination…

Importing Foundation 6.4 ES2016 JS files with your favourite module bundler

With the release of Foundation 6.4, they have moved to a module-based JavaScript architecture. This is great and definitely the way to go. Documentation is a bit lacking in this regard, however. I ll quickly demonstrate in this article how to set up Foundation with your favourite module-bundler. Lets cut to the chase. Your JavaScript file [ ] The post Importing Foundation 6.4 ES2016 JS files with…