
When a project grows the migrations folder can contain a lot of migration, ever wanted to desperate them into folders? tus out it's easy to so. All you need to do is tell Laravel where to read the migrations from. In your AppServiceProvider.php boot call, you can call $this->loadMigrationsFrom() and give it a path of all the folder locations: $migrationsPath = database_path('migrations'); $directories = glob($migrationsPath.'/*', GLOB_ONLYDIR); $paths = array_merge([$migra...
ادامه مطلب
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 cannot 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 running... 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: ...
ادامه مطلب
Just like the title says, recently I've been noticing that when I'm selecting a group of items in a folder if I select some and click and drag over them again it deselects them. This never never happened before a couple weeks ago. I believe it started when I had an IT guy do a checkup on my PC. My System folders also have an annoying tag that says "System Folder" now but that can be easily overlooked. Examples: http://ptscr.com/cax3uc http://ptscr.com/cax3xp P.S: Never letting an IT guy touch my...
ادامه مطلب
I have a print server hosted on a separate domain and I need to give access to users from a different domain to the shared folder without asking them to authenticate. I tried enabling the Guest account and didn't work. I enabled a GPO to deploy the printer but for some reason it's not working. I'd love your help on this issue. Let's block ads! بخوانید...
ادامه مطلب
The startup priority in Windows is as follows, listed from first to start to last to start: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRunonce HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesExplorerRun HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionRun HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindowsRun HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRunOnce SystemDriveDocume...
ادامه مطلب
I am running Ubuntu 16.04 LTS and am using Vagrant to run a Ubuntu 14.04 Server with a LAMP stack setup. I am working on a Laravel 5.2 project, but constantly have issues with the permissions in the storage folder/sub-folders. Currently, the folders are owned by my user/group. Anytime some file needs to be created or written too, I get a permission denied error. I can fix this with by chmoding the files to 777. This however does't fix the issue of having the problem when a new file is made (for ...
ادامه مطلب
Is it not possible to make a permanent link to a bookmark folder? I want a URL which will take me to a specific folder, independently of which computer I am logged in at. Currently using e.g. "chrome://bookmarks/#2225", gives me the folder I want on one computer, but not on another. It is also not permanent, which is also a problem. Let's block ads! بخوانید...
ادامه مطلب
I have a vagrant box with Linux inside under Windows 10 (VirtualBox 5.1.4, Vagrant 1.8.5). Inside the vagrant box I cannot create a symlink: /home/vagrant/my-shared-folder/ $ ln -s /any/path/to/linux/box/folder my-symlink-name Under Windows 7 it was working with: How do I create a link in Windows 7 home premium as a regular user? So, has anything changed under Windows 10? Let's block ads! بخوانید...
ادامه مطلب
The subject line could also read: "how to setup an email archiving system that preserves folder structure and tags". I am reaching the quota of my main email provider (imap1) and I would like to regularly move/migrate some emails to another imap server (imap2) that provides more space. However it took a lot of time to organize my emails into folders and labels in imap1, and I would like to preserve the folder structure after migration to imap2, so that I can easily locate emails in the archive s...
ادامه مطلب
I found script opening random files. I changed one thing and now it open random file from C:/ Can somebody tell me how to change it to open random file from C:/ and all subfolders? @echo off & setlocal :: start of main rem Set your path here: set "workDir=C:" rem Read the %random%, two times is'nt a mistake! Why? Ask Bill. rem In fact at the first time %random% is nearly the same. @set /a "rdm=%random%" set /a "rdm=%random%" rem Push to pushd "%workDir%" rem Count all files in your path....
ادامه مطلب
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 am trying to run vagrant 1.7.4 on a windows 7 machine. I have vagrant installed along with a few boxes. I am trying to delete all of my boxes and start fresh. Below is a list of my boxes: vagrant box list laravel/homestead (virtualbox, 0.4.2) ubuntu/trusty64 (virtualbox, 20151208.1.0) ubuntu/trusty64 (virtualbox, 20151217.0.0) This is what I have tried so far: vagrant box remove ubuntu/trusty64 You requested to remove the box 'ubuntu/trusty64' with provider 'virtualbox'. This box has ...
ادامه مطلب
as I said in the title my problem it's with a shared hard drive over my home network. My aim is to share this hdd in a way that everyone in my family can put important files over this "backup drive". I have windows 10 and I have already actived the right option to enable it. My network is: me connected to the router over etheet, then wireless network (family pcs). I think the problem is my computer not recognized over the network or maybe my router that is a little bit old. If someone can help m...
ادامه مطلب
I have a very specific directory tree on my music library. I would like to count all of the albums, excluding all the subdirectories. For instance, given this directory tree: /music/ /music/Davis, Miles/ (<--1. interpret) /music/Davis, Miles/Kind of Blue/ <--1. album /music/Davis, Miles/Tutu/ <--2. album /music/Hendrix, Jimi/ (<--2. interpret) /music/Hendrix, Jimi/Axis Bold As Love/ <--3. album /music/Hendrix, Jimi/Electric Ladyland/ <--4. album /music/Hendrix, Jimi/Electric La...
ادامه مطلب
Just noticed something as I was playing around with the Startup folder of the Default user in both Windows 8.1 and Windows 10: For some reason, on all of my installs of Windows 10, the Default user's startup folder does not exist where it should be, C:UsersDefaultAppDataRoamingMicrosoftWindowsStart MenuProgramsStartup, whereas in Windows 8.1 it exists. I've seen on the web that it apparently was replaced with C:ProgramDataMicrosoftWindowsStart MenuProgramsStartUp starting in Win7, but I have thi...
ادامه مطلب
OK. I know this question is really long but I wanted to be specific. Let me explain in more detail. I am using CoffeCup HTML editor software to edit a website. I have started a Website Project using the feature in CoffeCup (CC). I have also included a private FTP server as part of the project. I verified that CC is indeed connected to that server. I set the Website Project Path to my Desktop/Cyroot Stuff/CYROOT. Now when I use CC's Test Webpage feature to test an HTML page from my local source I...
ادامه مطلب
I have recently upgraded from 10.7.5 to 10.11.6 and have set up AMP. Although upon set up http://localhost did show a page with "It works!" message, now I get a forbidden message, but I can still run phpinfo.php from Sites folder as well as some other files stored in Sites directory. I have a useame.conf file with <Directory "/Users/useame/Sites/"> AllowOverride All Options Indexes MultiViews FollowSymLinks Require all granted </Directory> and I have also the following in httpd.co...
ادامه مطلب
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! بخوانید...
ادامه مطلب
When I wanted to tu on my laptop, I encountered Auto repair loop. My laptop has C,D,E drives normally. C in one physical drive, D and E in another physical drive. Windows is working on C drive. When I open command prompt, C is empty but a "boot" folder and a .txt file. When I listed drives I see and extra drive which is F and all files of "old" C seems in it, including Windows, Program Files etc. When I started my laptop with gparted live usb, every partition seems legit :(. Any idea? Let's bloc...
ادامه مطلب