
When upgrading from an Intel mac to an Apple Silicone I noticed docker fails to run. I'm using Laravel Sail when Sail is installed or when a sail up command is attempted I get an error: docker: 'compose' is not a docker command The reason for this is a docker-compose is now a plugin. Docker needs docker-compose to be installed. Use brew to install docker-compose brew install docker-compose Once installed sail will function normally without any extra setup. بخوانید...
ادامه مطلب
I wanted to create a table of contents from the post's heading tags automatically without having to change the headings like adding an id or anchor. I started to look at existing solutions and came across this custom function on Stackoverflow by sjaak-wish function generateIndex($html) { preg_match_all('/<h([1-6])*[^>]*>(.*?)</h[1-6]>/',$html,$matches); $index = "<ul>"; $prev = 2; foreach ($matches[0] as $i => $match){ $curr = ...
ادامه مطلب
This article on whether a domain name registrar is the same thing as a web host answers a question I was asked by a visitor....
ادامه مطلب
What if someone else owns the domain on which your website sits? For example, as it was in the case of one of my visitors, someone may have bought the domain for you, and retained ownership of it. Or perhaps your website is on a free web host, or a blog host, and you are using the web address given to you by them. This article deals with how you can solve that problem (or potential problem)....
ادامه مطلب
I was asked by a visitor why he couldn't dispense with a registrar and just make up any domain name he wanted. You may be surprised to hear that you can actually do that. But it won't do you any good....
ادامه مطلب
This article answers a question from a visitor on how to display a sentence so that small (lowercase) letters are shown in capital letters, but have a height shorter than the actual capital (uppercase) letters....
ادامه مطلب
Find out how to generate an SSL certificate for a website on your own computer. (For those wondering, SSL certificates are needed so that your site can be accessed using HTTPS instead of HTTP.) ...
ادامه مطلب
This article answers a visitor's question on how to set the height of a DIV (or even other elements) so that it is a percentage of the browser window/viewport. And no, using the percent unit (ie, "%") won't work the way you think....
ادامه مطلب
When you have a CSV generated how do you test it runs. Take this extract: public function export() { $actions = $this->getData()->get(); $columns = [ 'User', 'Start Date', 'End Date', ]; $data = []; foreach ($actions as $action) { $data[] = [ $action->user->name ?? '', $action->due_at, $action->completed_at, ]; } $now = Carbon::now()->format('d-m-Y'); $filena...
ادامه مطلب
The attack is the best form of defense is a very common phrase which you would have come across, here attack symbolizes of being aggressive towards your work. Similarly, if you are into the world of c...
ادامه مطلب
Creating profile on the social media platform is the greatest way to reach closer to your viewers and increase web traffic of website. Profile creation sites spread the magic of their amazing profile ...
ادامه مطلب
If you start reading this article than may be want to know what Yext Listing is and why people Use it. Before we know more about Yext listing we need to know what is listing in SEO. Listing is a Mecha...
ادامه مطلب
I have Windows 10 on a Surface Pro 3. I am trying to use Visual Studio Code. Unfortunately, there seems to be no combination whatsoever where I can run my program. Any time I hit F5 or ctrl f5 or shift f5, the windows 10 search bar from the OS pops up. There seems to be no way to make the application received the F5 before the OS and I can find no way to swap any key to make the program Let's block ads! بخوانید...
ادامه مطلب
I'm currently trying to connect my local machine remotely to my server in the office. The objective is to set this machine up as a domain oppose to workstation so it acts the same as if it was in the office. I've established a successful VPN to the Server with no problems. I tried connecting to the domain using xyz.local however it couldn't find it. I've then amended the ipv4 settings for the VPN for which the primary and secondary DNS are pointing to what the server gives out. Still no luck. I'...
ادامه مطلب
Every once in a while I run a certain program (MATLAB) and it takes up too much memory. At this stage the physical mem is at ~100% and the computer barely works. I then terminate MATLAB and I can see the memory is freed on the task manager (image). However, it takes about 5-10 minutes until I have full control over my computer back. In these 10 minutes the computer gradually becomes usable, open programs get 'unfreezed', etc. I guess that if MATLAB consumed all the memory then some other program...
ادامه مطلب
I try to set a root password as follows: mysqladmin -u root password "root"; Then I make a connection to my MySQL server, the following command: mysql -u root -p Enter password: **** enter image description here ...
ادامه مطلب
For the first time since Windows 95, Windows 8/8.1 ceased to offer the "Advanced Appearance Settings", which enabled the following customizations: screenshot of the "Window Color and Appearance" window That is a shame, not only because users lost customization power, but specifically because it made much more difficult for an user to set its own dark-theme version of the system. Is there any way to change such colors in Windows 8.1? Notice that I am not talking about merely doing this and I also...
ادامه مطلب
I am able to download videos one by one on a certain website that hosts some hundred or so videos. I am a paid subscriber to the website so I'm not doing anything illegal. (and no, it's not po). The process is labor-intensive for each video. I have to click on each link to get to where the player shows up. Then (in chrome) I open up the webpage developer, go to the network tab, play the video until i see where it shows up on the developer network tab, right click to open up in new page, then onc...
ادامه مطلب
I'm looking at a section of a website with the following URN/directory structure: http://www.domainNameA.net/site/www.domainNameA.net/files/dynamically%generated%URN_539.docx Why does the site have the domain name listed again in the URN? What is this likely to indicate? Let's block ads! بخوانید...
ادامه مطلب
I have a larger folder containing all my SVN files. I got attacked my a virus destroying some files but also corrupting SVN config files, so now TortoiseSVN cannot recognize it as a SVN folder. I can redownload the repository to other location but there are some files I didn't commit to it. Is there some software that can tell me difference in contents between folders or should I write a batch script that can tell me which files were not commited? Let's block ads! بخوانید...
ادامه مطلب