
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 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...
ادامه مطلب
Fairly frequently, google drive on OSX will pop up with a message that tells me some files were unsyncable, with the offer to retry. I'm worried that these files will just go missing, or only be stored locally. Does google drive fix the syncing of these files later or if I do nothing will they just not ever be synced? Let's block ads! بخوانید...
ادامه مطلب
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 have a json data like this. sample.json [ { "id": 0, "name": "Cofine", "title": "laboris minim qui nisi esse amet non", "description": "Consequat laborum quis exercitation culpa. Culpa esse sint consectetur deserunt non.", "website": "cofine.com", "image": "http://placehold.it/32x32", "labels": ["blue", "red"], "labels_link": ["http://cofine.com/labels/blue","http://cofine.com/labels/red"], }, { "id": 1, "name": "Zomboid", "title": "adipisicin...
ادامه مطلب
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 ...
ادامه مطلب
Few weeks back I tried tuing on my old PC as I wanted to use it as a spare Television. After tuing it on, I realized it was having blue screen problem, so I tried re-installing windows XP but installing in previous windows XP drive(C) failed as a result I installed windows in F drive. After successful installation I booted my new windows from dual boot and started wiping data from C drive, at first I tried formatting C drive which failed then I started deleting individual files from C drive. Dur...
ادامه مطلب
I can push and pull to repositories I've made from github, but how can I create a new repository from the PS cmd line? ...
ادامه مطلب
I recently opened ~70+ Excel files all at one time (it was a massive data dump from a database which I was going to be locked out of in about 30 minutes, so I wanted to grab everything I could conceivably need). Unsurprisingly, my Excel crashed from the load. Upon restarting Excel, the Document Recovery pane opened and showed me all of the files. Is there a way to automatically have all the files in the Document Recovery Pane open up? I don't want to have to manually go through and open up 70+ d...
ادامه مطلب
well I don't know how to describe my problem with just a few words so the title can be misleading. Sometimes I download a module, it's a zip file that I extract to 'my_folder' so it sound slike this: my_folderpath1file1.txt my_folderpath1file2.txt my_folderpath2file3.txt let's say I have another folder somewhere like this: my_new_folderpath1file10.txt my_new_folderpath2file20.txt as you can see they don't have files in common, but they have path in common (path1 and path2 have the same name)...
ادامه مطلب
I want to know which cmd command can i use to delete all files on my computer(including all system files and especially the Windows folder). Actually i want to clean my whole Hard drive and put new one. I tried using del but it doesn't delete my system files. Let's block ads! بخوانید...
ادامه مطلب
I run a ubuntu nas with raid6, mdstat does not indicate that anything is wrong, but when i try to read files on the raid volume, i am only able to read about 1/4 of the file, and the file transfer fails/freezes. I have tried multiple ways of reading files on the array (copy, ftp, http lamp server, but it always fail. The same happens to every file i try to read. The raid array have been running for months with no problems, and i cant seam to find what is wrong. I hae also done a memory test whic...
ادامه مطلب
I'm trying to create a Powershell script that watches a folder for new MP3 files and converts them to M4A format using FFMPEG and FDK AAC encoder. Since fdkaac.exe won't take MP3 files as input, I use this command, which pipes from ffmpeg: ffmpeg -i $path -f caf - | fdkaac -p5 -b64 - -o $outfolder$outname.m4a This works just fine if I enter it into a command prompt and the resulting M4A file that's generated has no problems. However if I run this from Powershell, the M4A file is created but co...
ادامه مطلب
My system drive has suddenly lost it's file structure and I'm trying to find a way to get it back to life without reinstalling OS. Is it real to make this beast work again without enormous amounts of time or should I just recover all the crucial stuff and reinstall everything? I have my bootable USB with some recovery soft, but TestDisk refuses to run after having unpacked seperately. Anyway, TestDisk is for recovering data, not the system itself, isn't it? Let's block ads! بخوانید...
ادامه مطلب
Assume I have my general dropbox folder, and my Photo/Video files in an another folder: /mnt/myhd/Dropbox /mnt/myhd/MyPhotosVideos Now, how can I upload all files from MyPhotosVideos to Dropbox without the need to copy/move them inside the Dropbox folder? If I copy them this takes (a lot of) extra space. If I move them I risk deleting the files by the Dropbox daemon due to an (human) error. Can I solve this with hard links ? This allows me to make photos/videos available to Dropbox without ta...
ادامه مطلب
I have the SanDisk Ultra Extreme Micro SD 64GB SDHC/SDXC Card CLASS 10 UHS-I (Not anymore at sandisk card section) and i use it in my Galaxy S4 i9500 phone to save pictures on it. I have windows 8.1 x64. Now, i insert the micro sd into Sandisk ImageMate All-in-one and connect it to my computer. I start transfering files from it and suddenly the device disconnected! Even when i try to just see the properties it gets disconnected. I must say it was allways working for me without any problems. Can ...
ادامه مطلب
I want Chrome to not be able to access the whole file:// thing, for example file:///C:/Users/SuperUser/Desktop/test.pdf. How do I go about this? I ha Actually it doesn't work in the latest Chrome (or any gt 28), supposedly you can use a GPO and it works... [HKEY_LOCAL_MACHINESoftwarePoliciesGoogleChromeURLBlacklist] new string value 1 ->file:// 2 ->file:/// 3 ->file:///C:/ But this did not work because under Policies there was no Google, just adobe and microsoft. Let's block ads! بخوا...
ادامه مطلب
Version 11.0.11 of Adobe Reader gives me the following error message when I try to Save or Save As : Except I have plenty of room in my temp folder and on the disk in question. I am able to save on a network drive with 0 issues, but that is a workaround not a solution. How do I resolve this so I can save files on my harddrive without issue? Let's block ads! بخوانید...
ادامه مطلب
I need to test my web application locally so i hosted in local server .I am using azure emulator to store images. The problem is, the images are stored in the C drive of local server and i cannot access that image from my system. So i want to store that image files to the database instead of C drive then i can access the images from other system. Let's block ads! بخوانید...
ادامه مطلب
In linux root directory! there are some static shared directories ex:/usr & /opt;these directories can mount read-only device;There are some others like /etc & /boot they are static unshared directory;I konw these concepts but I really not get the difference between shared and unshared; Let's block ads! بخوانید...
ادامه مطلب