WordPress Ping List 2015 – 276 links no duplicate

Updated to 276 links

WordPress has an Update Service option under the Settings > Writing. When you publish a post WordPress automatically try to ping these sites. It is very useful for SEO and your sites visibility on the net.

There are lots of lists out there. I have combined most of them and removed duplicate links for you and myself. Below list has 262 different RPC, ping links. Feel free to add any none listed links in comment and I will update the list accordingly. Also I didn’t check if there are still alive or not but in my opinion it doesn’t matter. Nothing wrong to ping a dead service.

Here is the WordPress Ping List 2015 Continue reading

Multiple java versions and how to change defaults on linux

Ok here is the thing. You can have multiple java versions at the same time but you have to make one of them as default in order some Java environment filled by OS.

In my case my android build wants Oracle Java 1.6 and Upsource code review program wants Java 1.7. Uninstalling and installing every time is not a proper solution.

Thank Linux there is a hack for that. You can update your default java version with update-java-alternatives command which changes both javac and java version as shown below:
update-java-alternatives -l list the installed java versions then you can choose with -s option.
update-java-alternatives -s java-6-oracle
update-java-alternatives -s java-7-oracle

Also you can change java and javac separately with:
update-alternatives –config java
update-alternatives –config javac

Note: these commands need to be run with root permissions.
Thanks for reading.

Directly download file to server from URL PHP

Today I needed to download a huge file from internet and upload it to my hosting service. Even download is problem think about upload. Than I thought that PHP is a server-side script runs apparently on server-side which can handle this situation for me.

So little google search leaded me to a one line of PHP code which downloads file from url. Copy the below lines of code to download.php file, upload download.php to hosting service and trigger download with example.com/download.php. You can also look for the file at the same time with Filezilla by refreshing. I can say that within one minute or less script successfully download ~500Mb file.

Note: Most cpanel has extract option don’t worry about the archive formats

<?php file_put_contents("Tmpfile.zip", file_get_contents("http://someurl/file.zip")); ?>

You are most welcome ;)

Android KEYCODE list for remapping buttons

This is just an informative post. I will not write about how to remap buttons but give you the complete android KEYCODE list with their Linux KEY codes which you can also find in here(use expand paste button) There is also comprehensive introduction part in this paste. Please feel free to ask me your question in comments. I am planning to write about remapping android button from scratch. This paste and information originally comes from Android Source

Please kindly remember that If you make changes on ****.kl files you have to validate them with validatekeymaps command line tool. This file compiled within android build and its location is under android/out/host/linux-x86/bin folder. 

Thanks for reading, I hope it helps somebody.

Continue reading

Use subdomain for images of your WordPress

Modern web browsers can only download a certain number of resources from a domain at once. By creating a sub-domain to serve resources from, you are effectively doubling the number of resources that a visitor’s browser can download at once – or in parallel.

Make a complete backup of your website. You have been warned.

How to Set WordPress to Serve Images From SubDomain

  • Create subdomain
  • Show WordPress where to upload images to
  • (optional) Update existing image links

Continue reading

Hello world!

Yes, this is another hello world post just because I don’t want to remove the default hello world post on WordPress installation. Yeah you clever boy I have just installed WordPress (again). Here I have started the 2015 with English (at least I am trying dont harsh on me) blog of mine. I will no longer blog in Turkish, which is my native language btw, and try to keep up things in English.

Let’s be clear. I am NOT trying to change the world. I am a small geek man in hell of a big world. I will try keep this blog alive with small things from mostly about geek stuff. (maybe big things too)

Topics, update schedule, usefulness nothing is certain. Everything can happen in this blog. I have lots of internet projects I am working on. You mostly here about them and problems or obstacles that I have met in here and of course in my life. Continue reading