
If you have one or more websites written in XHTML 1.0, this program (which may be downloaded and used free of charge) lets you convert them to HTML5 without having to muck around with rewriting HTML and adding CSS....
ادامه مطلب
This guide takes you through the process of converting a website from XHTML 1.0 to HTML5 using the Fiverizer software. (Fiverizer is a program that I wrote to convert my own websites, all of which were also in XHTML 1.0. It may be downloaded and used free of charge.) ...
ادامه مطلب
Running API tests you may be tempted to open PostMan or another API client, did you know, you can run HTTP requests from inside PhpStorm directly? When developing a new API, you will want to run the API endpoints. Being able to run them without leaving PhpStorm speeds up your workflow. To start a request file, you can either select a HTTP Request file when using the new file or create a new scratch file. For a scratch file select the HTTP Request type. In either case ...
ادامه مطلب
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 = ...
ادامه مطلب
Sometimes you may want to keep a group of words on a web page together on a single line, rather than allowing the web browser to break them up and place them on separate lines if there's no space. This article shows you the HTML and CSS to accomplish this....
ادامه مطلب
One of my visitors wanted his users to be able to choose a song from a list, and have it play in an audio player on his web page. This article provides the JavaScript and HTML code for the task....
ادامه مطلب
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.) ...
ادامه مطلب
Weblogs (more commonly known as Blogs) initially started as a means of keeping logs of one’s daily life - just like we used to do with jouals. Ten years ago, many didn’t see a point in maintaining a...
ادامه مطلب
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! بخوانید...
ادامه مطلب
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 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! بخوانید...
ادامه مطلب
Is there an offline program that let's me convert my png files to webp? I'm running MacOS X 10.11 El Capitan. Searching on google I was only able to find online converters that shrink the size of the Image and do not let me upload more than one file at once. This is a problem since I have around 800 pngs to convert. Let's block ads! بخوانید...
ادامه مطلب
Let's say I work for XYZ Ltd and our email addresses are [email protected] . I have three colleagues [email protected]. [email protected], [email protected] . However I get spam with spoofed sender addresses say (apparently) from [email protected] and [email protected] and other obviously randomly generated names. So can I create an Outlook rule to only allow the three or four valid names from the domain and spam folder the rest? Let's block ads! بخوانید...
ادامه مطلب
How to easily generate json out of a running instance for usage in run-instances --cli-input-json=? The purpose is to recreate instance without too much manual handling or too much json editing. I would be grateful for your answer. ...
ادامه مطلب
I have a room full of machines that I have been upgrading from home to pro (Windows 10). All machines that are NOT anniversary update 1607 can be joined to a domain with no issues. All that are the anniversary update will allow me to join to the domain and it restarts and asks for the useame and password. Put in my credentials and it provides a generic "cannot log you in" error message. I've also noticed lusrmgr.msc is missing (Local users and groups) in all of these 1607 upgrades. The earlier b...
ادامه مطلب
I have Fedora 24 installed using Hyper-V on top of Windows 10 (anniversary update) Trying to get the Hyper-V vGPU working, but Fedora does not recognizing it, and it doesn't even recognizing the video device if i don't have the vGPU enabled. Anyway to get some video acceleration or even just fullscreen working on this setup or should i look at different Hyper-visors? Side Question: Would i be better off testing this with Server 2016 - Which has pass through? I started this expedition after i not...
ادامه مطلب
Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top ...
ادامه مطلب