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 […]

After a bit of researching, I stumbled on the idea that, perhaps, the file extensions were not migrated during the upgrade. Here’s how to do that on a Mac: Choose NetNeans > Preferences > Miscellaneous > Files Next to File Extension, choose New… Enter module for the File Extension. Select text/x-php-5 for Associated File Type […]

Press the Windows + R button on your keyboard and type GPEdit.msc. or Open Start and type gpedit.msc and hit enter Unfold Administrative Templates under Computer Configuration. Unfold Windows Components. Click on the Windows Update folder. Double-click on No Auto-Restart with logged on users for scheduled automatic update installations. Check the Enabled box. Click on […]

Original link : here If you are calling a function such as wp_update_post that includes the save_post hook, your hooked function will create an infinite loop. To avoid this, unhook your function before calling the function you need, then re-hook it afterward. <?php // this function makes all posts in the default category private function set_private_categories($post_id) […]

So after hours of tinkering with my oneplus one knowing full well my display was NOT going bad and reading many threads on this forum about it, i figured out how to fix the screen wake issue. if your screen wont wake up with power button or double-tap, do the following.. 1. Settings 2. Display […]

PHP has two object operators. The first, ->, is used when you want to call a method on an instance or access an instance property. The second, ::, is used when you want to call a static method, access a static variable, or call a parent class’s version of a method within a child class.

Search and rename for “atig6pxx.dll” in C:\Windows\System32

You have overflow:visible for your content. Set this to hidden and the scroll bar will go away, unfortunately it will also make your datepicker hard to find.

Best time for photographing: Golden Hours: is a period shortly after sunrise or before sunset during which daylight is redder and softer compared to when the Sun is higher in the sky. Sunset and Sunrise Blue hours: the short period of time direct before sunrise and after sunset. The name ‘Blue Hour’ comes from the […]

First of all Your Moto G must be charged to atleast 60% ( I suggest a 100%) Backup all data on your Moto G (since unlocking will erase everything on the phone) Install the Android SDK on your PC (Download/Installation link) Install the latest Motorola drivers for your PC (Download/Installation link) Enable USB Debugging on […]

In the Location bar, type about:config and press Enter. The “This might void your warranty!” warning page may appear. Click I’ll be careful, I promise! to continue to the about:config page. Type browser.newtab.url in the search box to find it on the list. Double-click on browser.newtab.url and type in about:newtab in the window that pops […]

Install the latest Samsung drivers: from samsung website or here Restart the computer (very important) Go to Device Manager, find the Android device, and select Update Driver Software. Select Browse my computer for driver software Select Let me pick from a list of device drivers on my computer Select ADB Interface from the list Select SAMSUNG […]

Download the superuser here

Remove the battery. Replace the battery but do not power the device on. Hold down the Volume Down AND the Home buttons then press the Power button. Hold these buttons until your phone turns on then release the power button but contnue to hold the other two until it boots into hboot/recovery. Your phone will […]

Install Homebrew: ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)” brew install PHP56 brew install composer brew install –HEAD drush brew switch drush HEAD cd /usr/local/Cellar/drush/HEAD/libexec composer install ls -l /var/mysql rm -rf /var/mysql/mysql.sock (make sure directory /var/mysql exists) sudo ln -s /Applications/XAMPP/xamppfiles/var/mysql/mysql.sock /var/mysql/mysql.sock

Go to Preferences -> Settings-User add inside [], the following “update_check”: false,

  Download and install Console 2 software from here. Open Settings >> Tabs, click Add button in order to create a tab settings Enter the following information : Title: “git bash” Icon: “C:Program Files (x86)Gitetcgit.ico” Shell: “C:Program Files (x86)Gitbinsh.exe –login –i” Startup dir: “C:dev”  

Here is a very basic HTML tag converter (to lower case): Left click Search->Replace (or CTRL H). Enter the following in the appropriate fields: Find what: <([^>]+?)> Replace with: <\L\1> Left click Replace All. Done