
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 list($hours, $minutes, $seconds) = explode(':', '14:25:00'); When using list() passing an array to it will allow you to name each index of the array in the order listed. Putting this into p...
ادامه مطلب
As a website owner or content creator, you know how important it is to write great titles. Not only do titles need to be reader-friendly so that people will actually want to click on them, but they also need to be search engine friendly in order to ensure good click-through rates and rankings. So how do you strike the perfect balance? By following some best practices for writing SEO-friendly titles, of course! Keep reading to lea more. One of the most important things you can do when writing an SEO-friendly title is to include focus keywords. Focus keywords are the words or phrases that best describe your page's content and are most likely to be used by people when searching for somethi...
ادامه مطلب
The entire BlueGriffon Tutorial has been updated for the version 3 series of BlueGriffon. Those thinking of using it to create a website can find the complete series online....
ادامه مطلب
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! بخوانید...
ادامه مطلب
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! بخوانید...
ادامه مطلب
I've windows 7 64bit and Installed vagrant 1.8.4 and virtualbox 4.3, Now I need to load linux based 64bit box on machine but getting below error : Note: another 32bit linux box ruing... D:projectsvagrant-setup>vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'goobing-base'... ==> default: Matching MAC address for NAT networking... ==> default: Setting the name of the VM: vagrant-setup_default_1472733158731_6244 ==> default: Preparing SMB shared folders... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat d...
ادامه مطلب
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! بخوانید...
ادامه مطلب
Used this AMI ami-b7418dd7 followed this guide: https://docs.openvpn.net/how-to-tutorialsguides/virtual-platforms/amazon-ec2-appliance-ami-quick-start-guide/ Now, when a user coects to the VPN I want all of their normal inteet traffic to go through the public inteet, but when they are trying to access one of our inteal systems I want that traffic to go through the VPN. How? I've seen a lot of other answers, and I've found very few of them helpful. On this official AMI from openvpn, I can't find any server.conf or client.conf files that so many answers seem to point toward. Any help appreciated, this is the single stupidest task to be given as a software engineer, not an IT / systems-administ...
ادامه مطلب
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! بخوانید...
ادامه مطلب
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 ...
ادامه مطلب
Don't look for the drivers on inteet, /sbin/vboxconfig builds them. The problem was the old drivers were still present and preferred. So I removed the old drivers and ran /sbin/vboxconfig again, this time it worked.sudo mv /lib/modules/3.16.0-4-amd64/updates/dkms/vbox* /tmp(Moving to /tmp instead of rm just in case)The directory may vary, I found it in the first command in my question with lsmod then modinfo. Then sudo /sbin/vboxconfig and it should work The new drivers are in /lib/modules/3.16.0-4-amd64/misc/ (No need to reboot.) Let's block ads! بخوانید...
ادامه مطلب
I created a boot image of RHEL 7.2 and configured BIOS to boot from USB. The USB boot image is recognized. I am asked to Install or check hash. After selecting Install, the following text appears on screen: [0.0000000] tsc: Fast TSC calibration failed [ OK ] Started Show Plymouth Boot Screen. [ OK ] Reached target Paths. [ OK ] Reached target Basic System. Mounting Configuration File System... [ OK ] Mounted Configuration File System. [7.920070] nouveau E[ PIBUS][0000:01:00.0] HUB0: 0x614900 0x00800000 (0x1e408200) The system hangs at this point, and is unresponsive. What could be causing this to hang/fail? Let's block ads! بخوانید...
ادامه مطلب
I have an exteal hard disk, and for some reason, it is reporting wrong free space. In Windows Explorer, it is showing the used space is 378 GB. I tried ruing chkdsk H: /f /r, it seems to report the same usage as Windows Explorer, and it says that there is no problem. But when I tried selecting all the files inside this drive, it is showing much lesser usage. I've already set the setting to show all hidden files and folders, also show the protected OS files, but it still caot find about those missing files. And the difference is huge (282 GB). I've already cleaned the Recycle bin as well. What I am missing here and how do I identify those missing spaces? Let's block ads! بخوانید...
ادامه مطلب
I hope this is the right place to ask this. My University lets students download a preconfigured executable of OpenVPN, where the settings are already branded in. Once you installed it, you just enter your credentials and you are coected. However, I noticed that it doesn't work anymore after the system is has been installed on is rebooted. If I install it, I get a successful coection with the VPN and can use it. If I restart my Laptop, it does not work anymore, but the Icons in the Tray still show a green screen. If I then uninstall it and reinstall it, without rebooting, it works again. The only difference in the log window when it's coecting, I notice when it does not work, one of the line...
ادامه مطلب