Uninstall homebrew: ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)” Then reinstall ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

Install brew by running this command (from here with full information) ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” Start the process: Run the this command for install brew install homebrew/fuse/ntfs-3g. However, this error might appear: ntfs-3g: OsxfuseRequirement unsatisfied! You can install with Homebrew-Cask: brew cask install osxfuse You can download from: https://osxfuse.github.io/ Error: An unsatisfied requirement failed […]

Place this code in functions.php /** * Modify the domain name for page in all the pages **/ function append_query_string( $url, $post, $leavename=false ) { return str_replace(“vps.students.uit.yorku.ca”,”vpstudents.yorku.ca”,$url); } add_filter( ‘post_link’, ‘append_query_string’, 10, 3 );

Open “sites/default/settings.php” and added the following line: ini_set(‘max_execution_time’, 0);

Moving ahead and assuming you have Xcode and the command line tools installed, launch Terminal and enter the following commands as shown. First, use curl to download the latest wget source: curl -O http://ftp.gnu.org/gnu/wget/wget-1.16.3.tar.xz Or to use an older version (prior versions of OS X) curl -O http://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.gz (sidenote: a new version of wget may […]

Recently, I updated from Netbeans 7.4 to Netbeans 8.0. No real reason, other than it was available. Upon updating I noticed that PHP function/method/class information wasn’t being included in the Netbeans Navigator window. After a bit of researching, I stumbled on the idea that, perhaps, the file extensions were not migrated during the upgrade. Here’s […]

It is because white space in  admin-ajax.php. So go to your wordpress /wp-admin/admin-ajax.php , then put “?>” at the end of the file. Reload the page after that. This will fix the problem

Where is mysql.sock in XAMPP Mac /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock Then, sudo mkdir /var/mysql sudo ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock /var/mysql/mysql.sock

Download the app called FinderPath from https://bahoom.com/finderpath/ Install the app, and it might ask to change settings in order to run the application. After installation, open Finder and press CMD + G and there it is… Usage Press Command+G or click on Finder’s titlebar item to activate the FinderPath address bar.Shortcuts Tab/Return Complete highlighted suggestion & […]

For windows 7 user 1. Goto the C:\xampp\php and open php.ini file 2. Then add this line into the file zend_extension = “C:\xampp\php\ext\php_opcache.dll” 3. Then restart your apache server

Just go to the page that has the video. Right click anywhere on the page. click on “view page info” Click on “Media” Inside the scroll down box, find and select the swf file you want. Click on “save as”. then select type of the file mp4 ….. Done.

In Drupal 7, it is not necessary to call drupal_install_schema(), or drupal_uninstall_schema(); that is automatically done from Drupal. It is enough to implement hook_schema(), and the database table is created. There are many modules for Drupal 7 implementing that hook, and their database tables are created. Two possible causes for the database table not being […]

Go to Task Scheduler Find NT TASK\Microsoft\Windows\UpdateOrchestrator\Reboot Its actually just named Reboot but you have to go inside those folders Right Click > Properties > Conditions Uncheck Wake the computer to run this task Also, I disable all wake timers for my computers inside Power Options.

1) Open terminal and type sudo su and then put in your password 2) Then type ps aux | grep mysql (just copy and paste this) 3) You will need to get the process id of mysql. There should be number near the top, something like 739 or 8827 4) Kill the process using kill […]

Animation is everywhere in OS X, and it is not possible to disable all animation with one global setting, which makes this a very complicated question to answer completely. I would advise you to try disabling things one at a time as you find animations that annoy you. Check System Preferences to start. For example, […]

Introduction Drupal is a popular content management system (CMS) that is used to quickly deploy websites on sites in an easy to use framework. This guide will cover how to deploy multiple sites from within a single Drupal installation. We will be installing the latest version of Drupal as of this writing (7.23), on an […]

Changing the userdir You can specify the new location for the .netbeans userdir via the –userdir <path> startup option when starting NetBeans. New userdir location cannot be in Netbeans folder. See: FaqNetbeansConf. The <path> argument may refer to an existing or a new folder name. If pointing to an existing dirctory, it will be reused. […]

Open Terminal found in Finder > Applications > Utilities In Terminal, paste the following: defaults write com.apple.finder AppleShowAllFiles YES Press return Hold the ‘Option/alt’ key, then right click on the Finder icon in the dock and click Relaunch.

In a case after you install a module, try to access admin page (http://localhost/drupal/admin/modules), but keep getting this error : How to Fix: Add the following to the end of httpd.conf to increase the Apache stack size to 8MB. <IfModule mpm_winnt_module>    ThreadStackSize 8388608 </IfModule> Restart services and your good to go using any version […]