When you need to fetch data from some API, you’ll often need to set the Authorization header in your HTTP client. Here is how to do it using Guzzle. First, have your token ready: $token = ‘someToken’; Create a Guzzle HTTP client with a base URI: $client = new GuzzleHttp\Client([‘base_uri’ => ‘https://foo.com/api/’]); Next, prepare your … Read more
If you run Apache 2.4 server on your Windows 10 development machine, you might be interested in several command line commands that you can use with Apache server (httpd.exe). To run the commands we need to have CMD with administrative privileges. Next, change directory to c:\Apache24\bin using the command cd c:\Apache24\bin To see all available … Read more
If you experience a slow Start Menu after a Windows 10 Creators Update and you happen to have a NVIDIA graphics card, you might try to reinstall your graphics card drivers. Uninstall them and then install them fresh. It worked for me!
If you encounter Error 0x80242006, try to reset Windows Update components using the official tool: https://support.microsoft.com/en-us/help/971058/how-do-i-reset-windows-update-components I hope it helps!
I was searching for a silent keyboard for some time. The most silent one I could find is definitly MaxLine ML-KB2930 USB keyboard: https://www.emmezeta.hr/multimedija/informatika/tipkovnice/56644/maxline-ml-kb2930-tipkovnica/ It almost doesn’t make a sound! Strongly recommended…
In Laravel 5.4, we already have HTTP client configured out-of-the-box, that we can use in frontend. It is axios. In file resources\assets\js\bootstrap.js we can see the default headers that will be included in every request that we make with axios. However, although jQuery is also bootstraped, the default headers for jQuery are not set. If … Read more
Recently I’ve attended a Cisco Meraki Webinar and as a reward they have sent me a Meraki MR18 WiFi Access Point (AP), for free, to test it out. You may want to check their Meraki trial site to see if you can get one too, or attend CISCO webinar. Now that I’ve used it for some time, I have to say … Read more
There is no reason why you couldn’t use an older version of uTorrent. Newer versions are full of ads, and also the latest version silently installs a Bitcoin miner on your PC, which leads to heavy CPU usage. The version 2.2.1 is the last version without ads and has no issues even under the latest … Read more
If you tried to run your app on your Android device, but the device wasn’t listed (although you have your USB drivers installed and Developer options enabled on your device), be sure to enable the “USB debugging” option in Developer options. If you don’t do that before you plug in your phone to the computer … Read more
When running WordPress in multisite mode, you’ll be able to create multiple sites with only one WordPress installation. However, WordPress won’t show all your sites under My Sites menu item if you don’t do one specific thing. If you want to show specific sites under My Sites menu, you have to add you existing user as … Read more