Eddymens (List page)

Last updated 2020-04-18 14:46:23

Laravel File Driven Cache On Steroids

As of Laravel 7, there are 6 available cache drivers, with APC giving the best results and the file driver being the only one that requires no extra setup. I was speaking to a friend last night, who mentioned they used Redis as their cache driver. At this point, I have a project th...

Last updated 2020-01-14 13:57:14

Be Careful With HTML ID Attributes

HTML is made up of elements which help define the structure of a web page, Elements of the same type possess the same behavior across a web page. One way to make an element behave differently is by adding properties to them. One of the ways to add a property to an HTML element is using t...

Last updated 2019-12-17 21:20:01

Setting Up HTTPS Redirects On Heroku Laravel Instance

I am going to keep this post really short. I worked on cleaning up parts of my personal site and one thing I really wanted to solve was to force all requests to be served via HTTPS. I tried a couple of options, like forcing the redirect using , this led to multiple redirec...

Last updated 2019-01-13 06:58:47

What The Heck Is Docker Used For ?

If you recently had to deal with setting up a dev environment or try deploy to production, then chances are you have encountered docker either via search or as a suggested solution. What is Docker anyways? One of the most difficult thing for me was figuring out what D...

Last updated 2019-01-08 06:09:19

Knowing When It's A Model Or A Builder(Laravel)

User::where('id',1)->update([]) and User::find(1)->update([]) do the same thing but in different ways. Erhn? When working with databases in Laravel you usually find yourself either using Eloqu...

Last updated 2017-05-16 01:36:56

BrainFuck Interpreter Using Method Chaining

I have been sick for the last couple of days, and I have not been able to get much work done. So in the spirit of being productive, I decided to take a look at the little things I have long been planning to do. One such thing was to look at Brainfuck lang. Brainfuck is an esolang ...