
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.) ...
ادامه مطلب
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 = $matches[1][$i]; $text = strip_tags($matches[2][$i]); $slug = strtolower(str_replace("--","-",preg_replace('/[^da-z]/i', '-', $text))); $anchor = '<a name="'.$slug.'">'.$...
ادامه مطلب
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's data was saved in the swap mem, but is it okay for this process of 'recovery' to take such a long time? I'm using Windows 7 with intel i5-2500 and 12GB RAM. Thank you. Let's block ads! بخوانید...
ادامه مطلب
I try to set a root password as follows: mysqladmin -u root password "root"; Then I make a coection 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 am not talking about patching the Windows to use customized 3rd party themes. I talking about a way for users to customize the colors of the windows in Windows 8.1 (trough registry, trough hidden opt...
ادامه مطلب
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 caot 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 ruing 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! بخوانید...
ادامه مطلب
I have a room full of machines that I have been upgrading from home to pro (Windows 10). All machines that are NOT aiversary update 1607 can be joined to a domain with no issues. All that are the aiversary 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 "caot 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 build -- no issues and lusrmgr is available. It's my understanding pro should be able to be joined to a domain. Is this not the case? Thanks ahead of time! :) Let's block ads! بخوانید...
ادامه مطلب
I have Fedora 24 installed using Hyper-V on top of Windows 10 (aiversary 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 noticed keel 4.6 is suppose to support Hyper-V better than previous versions. Let's block ads! بخوانید...
ادامه مطلب
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 Let's block ads! بخوانید...
ادامه مطلب
I can see a lot of events 10000 and 10001 in the Application Logs of the Event Viewer. They relate to RestartManager and if looked closely upon I can see a lot of "StartingSession" and "EndingSession" entries. But no entries to indicate as to why does it keep initiating and closing sessions. Any way to find this out? Let's block ads! بخوانید...
ادامه مطلب
I am using Windows 10 (well, the version is irrelevant I believe) and I would like to execute my programs through 'Run' just for convenience. My problem is, where do I look for each software's Run keyword ? For example, to open paint, you can run 'mspaint', to open Notepad++ I luckily figured out you can run notepad++ but what about other processes ? For example, I have no clue how to open Sublime text 3 with Run or paint.net and many other software. If you are willing to help, please also provide a way to FIND the run keyword for any software. Maybe there is a way to see it through task manager ? Through cmd maybe ? There should be a way ! Ideally, I would love to have a solution that doesn...
ادامه مطلب
I have an Nvidia 1070 and three monitors. Two are 1080p one is 1440p. I run Windows 10 x64. Say I have google chrome (it happens to other windowed apps) maximized on one of the side 1080p monitors. SOMETIMES when I lock the computer and come back to it later (after the screens have gone to sleep -- my computer never goes into sleep mode though), the window will have shifted from maximized position to 50% to the right and 50% down but still the same size so it's off the screen...It's not always in that position though, but it seems like it thinks my screen is 1440p on the side and it repositions things weirdly. I'm not sure how to better describe this. I'm hoping someone has had this problem ...
ادامه مطلب