
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...
ادامه مطلب
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] بخوانید...
ادامه مطلب
If you start reading this article than may be want to know what Yext Listing is and why people Use it. Before we know more about Yext listing we need to know what is listing in SEO. Listing is a Mecha...
ادامه مطلب
Taking a cruise is an amazing adventure and one that you won’t forget any time soon. Although your cruise will no doubt be lovely, packing for it can sometimes be a bit of a nightmare. Because cruises...
ادامه مطلب
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 caot be found on C: Let's block ads! بخوانید...
ادامه مطلب
I run into a problem with my exteal HDD, i used it for backups but when i reinstalled windows (and forgot to remove the HDD) my HDD got whiped. After the whipe suddenly my HDD splitted itself into multiple Disks. Ive tried evrything and googles alot but no succes. I would like to bring it back to one disk, just like it was when i bought it. Can anyone help me out, or give me some tips on how to achieve this? Here is an image of the partitions, if you need any extra details of information let me know and i will post it! Disk management img = https://s18.postimg.org/gflw73z3d/Untitled.jpg Let's block ads! بخوانید...
ادامه مطلب
I am able to download videos one by one on a certain website that hosts some hundred or so videos. I am a paid subscriber to the website so I'm not doing anything illegal. (and no, it's not po). The process is labor-intensive for each video. I have to click on each link to get to where the player shows up. Then (in chrome) I open up the webpage developer, go to the network tab, play the video until i see where it shows up on the developer network tab, right click to open up in new page, then once it opens up i right click to save the video to my hard disk. Is there anything out there that will do this all automatically for the entire website for me? Each iteration takes about 5 minutes, and ...
ادامه مطلب
So Chrome freaked out one day and wouldn't load any pages. After completely uninstalling and reinstalling and reinstalling again using the dev chael and tuing off account sync and removing all history from the servers (ouch), I actually got it to work again as a browser but all my extensions are dead. They show the little puzzle piece (like in this question) and when I try to access the options or use them I get ERR_FILE_NOT_FOUND. I have tried uninstalling them all countless times, via right-click and via the trashcan icon in the chrome://extensions/ interface. When I open Chrome again they are back. I thought about reinstalling each one from the market, but it says it's already installed (...
ادامه مطلب
Is it possible to batch rename a series of files and keep the original extensions in a sequence? For example, if you had the files in a directory: dogfile1.jpg, wolffile493.png, and dogfile59.jpg and wanted to rename them: dog1.jpg, dog2.png, dog3.jpg I saw you can use this to batch rename but it renames it to the extension you select (ex. jpg): $nr=1 Dir | %{Rename-Item $_ -NewName (‘NewFile{0}.jpg’ -f $nr++)} Let's block ads! بخوانید...
ادامه مطلب
I need to make dual boot. One is windows seven and another one is hackintosh(partition 3) . I use EasyBCD to make dual boot. The problem is hackintosh is not loaded. Before it works well , but some reason i reinstall the windows 7 (deleted c & system reserved and created). Then after i got this problem. I also confused with visual BCD Editor I got error with boot path. so, How can i change partition and path of bcdedit?. I also need know boot path of partition 3. I don't know is this solution correct for my problem. Please refer following screen shots. Thanks for you help friends! Error: For I enter to Real-Mode boot sector i got following error 1.This is my bcd created by EasyBCD tool....
ادامه مطلب
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! بخوانید...
ادامه مطلب
In OneNote 2013, let's say you're currently editing some text in a regular text box/field: Now I want to exit this text box and move the cursor somewhere else on the page. Pressing Escape doesn't work, neither do the usual suspects (Ctrl+Enter, Alt+Enter, etc.). Can I exit the box with a keyboard shortcut of some kind? I have looked at the official page for OneNote 2013 keyboard shortcuts to no avail. Let's block ads! بخوانید...
ادامه مطلب
I am combining multiple data sources that list employee names differently ("Last, First", "Fist Last", "Last First", etc.) into one workbook and thus one table. I want to avoid spending a lot of time manipulating the imported data. I want to use a formula that will tell me if someone's name is in the row (A) regardless of how the name is displayed. Below is a formula that I was using, however it does not guarantee that the first and last name are matched in the same cell/row. (yellow highlight are the examples that are incorrect) Does anyone have any suggestions or ideas? Formula: =IFERROR(IF(MATCH(""&C3&"",$A$2:$A$6,0)>=0,IF(MATCH(""&D3&"",$A$2:$A$6,0)>=0,1,0)),0) Let...
ادامه مطلب
I have 1 NAS, with 2TB of Storage, 4 Exteal USB HDD Drives from 250Gb to 1TB, a lot of USB Flash Drives. They all have some duplication of files as I have copy them from one to another to safe keep. Now with a lot of these it is getting out of hand. I want to upload them all to the Cloud. Especially after I seen some of my picture and video getting bit rot. Is there any simply solution i can compared all of these files for duplication, remove them, and categories them before I upload them to Cloud WITHOUT saving them into one places. ( Otherwise i will need to buy a 8TB HDD first )Or are there any Cloud solution that all me to upload them first and do the file management online. And the find...
ادامه مطلب
I'm getting the following error message: Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/mapper/veracrypt8': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibeation or fast restarting), or mount the volume read-only with the 'ro' mount option. I'm aware that this problem has something to do with Windows' hibeation/fast startup, and is similar to this question and answer: https://askubuntu.com/questions/145902/unable-to-mount-windows-ntfs-filesystem-due-to-hibeation/. However, I've already tried those solutions, and have had no success. I can mount the partition just fine in Windows, and I can mount it...
ادامه مطلب
From the following table: ID Status 001 Done 002 Done 003 Done 004 Error 005 Done 006 Error 007 Done 008 Done 009 Error I want to extract a list/string of all the IDs with an 'Error'. In other words, a cell which looks like this: 004, 006, 009 Thanks in advance. Let's block ads! بخوانید...
ادامه مطلب
Firefox includes it's own integrated PDF viewer. How does one select text (for copying to the clipboard) from within a PDF being displayed by Firefox's integrated PDF viewer? ...
ادامه مطلب
I'm new to VBA and would greatly appreciate some help on a problem. I have long Word documents where I need to apply standard comments to the same set of keywords, but only in selected sections of the document. The following macro worked to find a keyword and apply a comment, but I'm having trouble making some modifications: Sub item_wording() ' ' item_wording Macro ' ' Do While Selection.Find.Execute("keyword1") = True ActiveDocument.Comments.Add range:=Selection.range, Text:="comment for first keyword" Loop End Sub The two modifications are: 1) only apply the comments to user selected text, not the whole document. I tried a "With Selection.Range.Find" approach but I don't think com...
ادامه مطلب
I have written a simple authentication script in PHP, which, as per documentation, takes input from stdin and outputs OK or ERR to stdout. The problem is, Squid doesn't seem to launch the script at all. It does ask the user to authenticate when coecting (i.e. a login window pops up), but the script doesn't launch (I have it write a line to a log on launch, which doesn't happen) This is my Squid config (I don't want to include the entire path to the authentication script, but it is a valid one - launching /usr/bin/php [path to]/authenticate.php from the terminal works): acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_...
ادامه مطلب
I got a wifi extender, prolink at the start of this month. The speeds were much better on the extender, while I only got 2 bars from my router which is downstairs and constant coection drops and slow speeds. But now however my extenders speed is just slow, I get full bars however the speed is about 3-4 mpbs while when I am coected to the my router, the speeds go to above 7+ mpbs. I have no idea what is going on. I would also like to point on when I set up the extender, it automically cotected to my router but I can not access the extenders IP to conifg it, which is "192.168.123.253". I cant access that site from my extender or my router. Anyone know what is going on and how to fix it or a wa...
ادامه مطلب