
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...
ادامه مطلب
CKeditor 5 out of the box does not come with upload capabilities. Uploading is supported with its plugins, some are official paid plugins that require subscriptions. There are a few free options. Base64 upload adapter This plugin allows uploads that will convert an uploaded image into base64 data. Very easy to use but will require you to save the complete base64 code with the post, this can be get long. Docs Simple image adapter An image upload tool. It allows uploading images to an applica...
ادامه مطلب
Let's say you have a blog and have posts ordered by their published date. Later you decide you want to pin certain posts. Pinned posts should be displayed before any other posts regardless of their published date. The Solution You can accomplish this by modifying the order clause in the query. Take this order: ->orderBy('published_at', 'desc') This will order posts by their published date in descending order. Adding a second-order clause: ->orderBy('is_pinned', 'desc')->orderB...
ادامه مطلب
Microsoft's free web editor is a sophisticated WYSIWYG web editor with many features usually only found in commercial offerings (and no wonder, since it was previously something you had to buy). This tutorial series takes you through the process of designing a fully functional multi-page website with Expression Web....
ادامه مطلب
This article shows you how to insert a bullet point list (where each item on the list is marked with a solid black circle rather than numbered) into a web page using the BlueGriffon web editor....
ادامه مطلب
BlueGriffon has built-in facilities for you to insert an audio clip or music file into your web page. This article shows you how to use it....
ادامه مطلب
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....
ادامه مطلب
There may be times you need to change the default colour of a link on your web page, for example, because the background colour clashes with it or renders it nearly invisible. This article shows you how to do it using the free BlueGriffon web editor....
ادامه مطلب
This article deals with how to change the colour of the links on a web page using the free Microsoft Expression Web editor. It also addresses how you can change the colour of a link that has been clicked, as well as its colour when a mouse pointer is hovering over it....
ادامه مطلب
This article shows you 2 different methods to draw horizontal lines on your web page (whether as a decoration or to separate content) using the free Expression Web editor....
ادامه مطلب
This article answers a question from a visitor on how to insert meta tags into a website using the free BlueGriffon web editor....
ادامه مطلب
You may think designing a website is easy, but many businesses still make mistakes when building one. Those mistakes can reduce conversions and scare away leads Here I present to you eight website design mistakes you may make and how you can fix them. You Don’t Use The Right Templates Every website carries its own key function. For example, an e-commerce website aims to sell products, while a port...
ادامه مطلب
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...
ادامه مطلب
I downloaded and ran the installer from here https://support.office.com/en-us/article/Transition-from-the-previous-OneDrive-for-Business-sync-client-4100df3a-0c96-464f-b0a8-c20de34da6fa?ui=en-US&rs=en-US&ad=US It completed without error, but launching onedrive for business still runs groove.exe (it should be onedrive.exe, it says so on the same site). Also, onedrive.exe cannot be found on C: 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'...
ادامه مطلب
I tried enabling the New Management flag and adding a supervised user. But the option to lock a user profile was not activated. Is there a way to password protect a chrome user profile or lock the whole browser(like firefox's master password) ...
ادامه مطلب
To buy the long-established product you need to decide upon the Derma Vibrance web watching by means of utilising touring the dependable website online. You could be knowledgeable the experiences and precious aspects in regards to the product in principal points and after determining the huge type which you would with ease order position your order giving your title and manipulate. The product perhaps delivered at your given deal with within a brief interval of time. Within the occasion you aris...
ادامه مطلب
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 i...
ادامه مطلب
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 connected. 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 connection with the VPN and can use it. If I restart my Laptop, it does not work anymore, but the Icons in the Tray stil...
ادامه مطلب
I'm starting working with ROS2 (currently in alpha7 state). For this I build up a small network with an Raspberry Pi (Raspbian Jessie) connected to an router via LAN and an host PC (Ubuntu Gnome 16.04) connected to the same router via WLAN. Inside the host are some virtual machines (using VirtualBox) installed with Debian Jessie and connected via a bridged network (wlp4s0). I can also use ping, ssh and scp between all my machines (Rasp, Host, VMs). I found that the Rasp doesn't connect to the VM...
ادامه مطلب