
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! بخوانید...
ادامه مطلب
Is there an add-on for Firefox that supports the use of vim-like persistent registers when editing textboxes and text areas? ...
ادامه مطلب
and an error box comes up saying flash has stop working, continue, or stop program? task manager sezs hard drive is at 100% usage, if i let machine set for a just a while computer resumes, Where is best place to start looking for program or service or bug in stuff that is running? Let's block ads! بخوانید...
ادامه مطلب
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've used both plugins (independently of each other) off and on the last year or so and I'm trying to understand the differences between them; specifically how "scopes" work. In Policeman, there are a number of sites under Origin. I have the impression that if site A loads site Y, site B loads site Y, and site Y loads site Z, if I configure rules for site Y about site Z they apply when sites A and B load site Y. In uMatrix the blue box specifies scope, which appears to be global, site.com, speci...
ادامه مطلب
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...
ادامه مطلب
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...
ادامه مطلب
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 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 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...
ادامه مطلب
Firefox 50's release notes: Emoji for everyone! Firefox will use built-in Emoji on operating systems without native Emoji fonts (Windows 8.0 and lower and Linux) So I'm on Windows 7 and I absolutely dislike colored emoji for how much distracting they are. There is no font file called "EmojiOne Mozilla" to delete from Windows' fonts folder, unfortunately. And there is no relevant option in about:config list I could find. How do I disable colored emoticons? Let's block ads! بخوانید...
ادامه مطلب
Can someone explain why one might find UrlPrefix strings in a users Firefox browsing history? For example: scheme://host:port/relativeURI | http://+:80/Example Would he/she be trying to run their machine as a virtual host of some kind? Thanks in advance for the help. Let's block ads! بخوانید...
ادامه مطلب
Short answer: It's a little more complicated than a simple "yes" or "no". But having Ghostery definitely helps. Long answer: Google does a lot of tracking. Some of them cannot be stopped by anything short of not visiting it, because the tracking is based on IP address. There are people who do opt not to visit Google at all and use DuckDuckGo instead. There is another category of tracking that is done independent of your login cookie, so as to track you regardless of whether you are logged in or ...
ادامه مطلب