
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.) ...
ادامه مطلب
That begs the question how do you separate the time into seperate elements? Making use of explode can work. Exploding where there a : so: $parts = explode(':', '14:25:00'); This would result in an array: [ "14", "25", "00", ] To use an element you can refer to its index for example $parts[0] would contain 14 Using them by their index is fine to do but kinda messy. I prefer to give each element a name using the list function li...
ادامه مطلب
If you've already used JSON lang in your views, here's a handy package to extract all lang keys to language files. The package exports all your __(‘some text’) calls to language files. https://github.com/kkomelin/laravel-translatable-string-exporter Here's a video demo. [embedded content] بخوانید...
ادامه مطلب
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....
ادامه مطلب
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...
ادامه مطلب
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! بخوانید...
ادامه مطلب
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...
ادامه مطلب
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 ...
ادامه مطلب
Sometimes I get flicker on my screen. It only happens, when I wake my computer from sleep. I can't do anything and is left with no other option than to restart, or tu off my computer, as it persist. I have uploaded a short video, which shows my problem. Please pay attention to the monitor to the right, as it is the one which flickers: https://drive.google.com/file/d/0B0HPr-SgDU4tY0t3aVZ1WTFBbWc/view?usp=sharing I have recently made a fresh re-installation of windows 10, and have already installe...
ادامه مطلب
I need a small script to download some programs. The URL's never change but the files do. Like when you download malwarebytes. Example: "https://downloads.malwarebytes.com/file/mbam_current/" The address doesnt change but the file name downloaded does. Every script i see, requires that you specify a file name. I dont want to do that, I want the script to pull the filename from the sites header which would include the version name of that file in that filename. I cant seem to find any way of doin...
ادامه مطلب
My Postfix server was working fine until last days but now, I can't receive emails from outside (I mean with an email of different domain name like gmail for example). I must make notice that I can send email from the server to gmail. From what I have seen, I think that issue may be my iptables rules : # iptables -L Chain INPUT (policy DROP) target prot opt source destination ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ACCEPT all -- ...
ادامه مطلب
I'm trying to automate a backup script with attic, but I'm stuck on this issue: the actual attic command performs differently when executed from the script and when executed directly in the terminal. The script builds and executes the command: /usr/bin/attic create --stats --verbose --exclude '/home/.cache' /media/attic-backup/paolo.attic::2016-08-27 /home the command outputs the files backuped up from attic: /home /home/.attic /home/.attic/keys /home/.cache /home/git /home/git/.bash_history...
ادامه مطلب
I would like to be able to access the entire C drive as my title says from booting in x source cmd whilst in repair mode, is this possible? ...
ادامه مطلب
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 ...
ادامه مطلب
I have a .vmdk file i exported from the Noxapp (android emulator), i tried to extract files with 7zip , there are 3 .img files. I can extract the 0.img and 1.img , but it gives me error "unexpected end of data" on the 2.img file which contain my data , is there any way i can recover my data? Ps: even if i import the vmdk file to Noxapp android emulator, it stuck at loading screen and gives me an error which mean the file may be corrupted ... Let's block ads! بخوانید...
ادامه مطلب
I am using a spreadsheet that contains constant data; I would like to be able to populate the cells on another spreadsheet with this data when a condition is true. I.e. The target spreadsheet is used to prepare estimates. When the user selects a predefined price quote from the spreadsheet containing the constant data, I would like to move this data to the Estimate Spreadsheet. Any assistance would be greatly appreciated. Jamie Let's block ads! بخوانید...
ادامه مطلب