Yes, I am a partial Web Designer, better yet, let’s call me a Front-End Developer. But also and even more: I am a Back-End Developer, not shown on this design-scale…
Centering things in CSS is the poster child of CSS complaining. Why does it have to be so hard? They jeer. I think the issue isn’t that it’s difficult to do, but in that there so many different ways of doing it, depending on the situation, it’s hard to know which to reach for.
So let’s make it a decision tree and hopefully make it easier. Continue reading center
Ja, http://blog.mybrain.nl/ is verhuisd naar https://markohoven.com/
Hoe doe je dit nu op een correcte manier?
Binnen IIS kan dit met web.config
<?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <httpRedirect enabled="true" destination="https://markohoven.com" httpResponseStatus="Permanent" /> <defaultDocument enabled="true"> <files> <clear /> <add value="index.php" /> <add value="index.htm" /> <add value="index.html" /> <add value="default.asp" /> <add value="default.aspx" /> <add value="default.htm" /> <add value="default.html" /> </files> </defaultDocument> <httpErrors errorMode="Custom"> <remove statusCode="404" subStatusCode="-1" /> <error statusCode="404" prefixLanguageFilePath="" path="/index.php" responseMode="ExecuteURL" /> </httpErrors> </system.webServer> </configuration>
Een andere mogelijkheid is in code… Continue reading 301-redirect
The Internet is an increasingly complex place, not just in terms of services but also from a technical standpoint, especially with the advent of mobile devices over the past few years.
Everything that happens on the web, from browsing, streaming and messaging to file sharing, downloads and, more recently, backups, is based on protocols that have long started to show their age.
Efforts from Internet giants like Google and Microsoft are aimed at improving the situation, but given the slow rate of standardization and adoption of new protocols (or even extensions to existing protocols), it looks like the process will take a long time.
Email is one of the oldest Internet-based conveniences, just like most of the protocols used to make it all happen: SMTP, POP3 and IMAP. Today we’ll deal with IMAP, which is currently at version 4 revision 1, as standardized by the 12-year-old RFC 3501. Continue reading Thunderbird
… does not exist
However it did take some of my time to figure this one out as the response code was really in my webserver logfiles and as usual… I was not the first to run into this problem, see: https://stackoverflow.com/questions/46266553/why-laravel-api-return-419-status-code-on-post-and-put-method
You get a 419 status code, if an (external) script tries to post to your Laravel application, without the o-so-needed CSRF token.
First option is to change in App\Http\Middleware\VerifyCsrfToken:
protected $except = [ ‘/*’, ];
(or maybe something more specific and a little more safe, like ‘/myapiurl/*’,)
Second option is to put the route in api.php instead of web.php, but that implies prefixing all your routes with /api/
… your choice!
Using .\vendor\bin\phpunit and no output whatsoever? Continue reading PHPUnit on Laravel
php and getcomposer Continue reading Laravel on IIS
Getting rid of this annoying bright red ugly icon is “simple” ….
Use regedit and add: