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.
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”
Hold reference of Service handler
You can go to File -> Settings -> Editor -> Auto Import -> Java and make the following changes: change Insert imports on paste value to All mark Add unambigious imports on the fly option as checked
JSON XML