Blog Archives


Recently, i have met with a problem: when some persons post comments on my blog article, the wordpress system will send a notification to my email, then my email box is exploded.

How to prohibit wordpress from sending a email to me when anyone post a comment on my article, I searched some solutions by google, and the solution is very easy.

Step 1: set up your wordpress to prohibit it from sending email

We can make a setting for our wordpress to prohibit it from sending email to us when anyone post a comments. You should do like this:

Click: Settings–>Discussion

Then you will find a setting item like:

wordpress email notification

You should not select this two items, then save your setting.

And all is ok.

Category: WordPress

TAG


In article 2 Steps to convert png into ico file , i introduce steps to convert a png image into a ico, In that article, we use some online tools to do it.However, if you want to do it by php and plan to build a website to supply service of converting png to ico. I think you can read this post.

To convert png into ico file by php script, you use phpthumb to help us to do it, you can do as follow steps.

Step 1: Download phpthumb

You can click phpThumb to open page to download it, to realize function of converting png into ico, you should download these file:

phpthumb.ico.php

phpthumb.functions.php

Tips and Warnings:

1. If you can not download these two files, you can email me or leave your comment, i will send to you

2.To use phpthumb, you should make your php gd library enable, you can read article “2 Steps to make PHP GD library enable”  to enable it.

2 Steps to make PHP GD library enable


If you plan to use php to process some images, you should make PHP GD library enable, to make it enable you can do like this.

Step 1: Check it enable?

You can create a php file and paste code below, then open it by your browser.


<?php

phpinfo();

?>

If you find result like below, you can be sure PHP GD library enable has been enable in your php develope evironment, and you can use it to process some images. If not, you can read step 2.

php gd library

2 Steps to make you download ebook easily


Yesterday,i read a book “Find Financial Freedom: I Did and You Can Too”  in google books, however, there is only 35 pages for preview, i really want to know more content about this book, so i plan to search some download links for this book by google search, it is a pity that i can not find any download links. Although i did not find some download links, i also want to introduce some ways that can make your download ebook more easily.

Step 1: Know the book title of book author

To find download links of a book, if you have known the title and author name of this book, i think i can find download links more easily  than you do not, for example, if you want to download book  ”Find Financial Freedom: I Did and You Can Too”  and author is ‘Peter Wilmore ’, you can do like step 2 to find download links.

Category: Internet

TAG


If you are a blogger, one thing i think you must encounter: how to add unique and valuable content for your blog site? At the beginning of your building blog site, i must believe you have many contents to write or think, however, After you have built your website for several days, you will find it is hard to add content for your blog website every day.

It is understood easily that people encounter this problem. because we are not  a writer or professional expert. For example, if you have built a blog on how to cooking,however, you are not a cooker, although you know some knowledge on cooking, when you have written some articles, you will find nothing about cooking in your brain.That means people have limited knowledge on one topic, once we have write what we have known, we will can not write more. This is reason that we can add more unique and valuable content for our blog site.

To solve this problem to add more content for our blog is not hard, we only need time to do like this.

Step 1: Focus on your blog and interest

Interest is the best teacher to us, if  topic of your blog is not your are interesting in, i think it is hard for you to write continually.So before we solve problem on how to add more unique and valuable content for our blog, you should know what is your interest.

Category: Internet


To study python programming you should to know how to run python scripts, if you are using windows system, you can read ‘2 steps to run python command line in cmd‘, however, if you are using BSD’ish Unix system, you can do as follow steps.

Step 1: Check python interpreter has been installed on your unix system

Before you start to follow steps, you should make sure python interpreter has been installed, if not, you should install it, because executing python scripts need it. After you have installed, you should find the install path of it. Continue reading

2 steps to run python command line in cmd


Some friends are studying python programming in windows system, but they all meet with a problem: python command line can not be executed in cmd window.

That is a easy problem, we can solve it by steps blow:

Step 1: Check path you install python

If you have installed python interpreter, you should find its installed path, for example, it is C:\pyhon25, this path will be used in step 2.


MD5 is an encryption algorithm and is be used in many applications. It also have some types, for example, 16-bit,32-bit or 128-bit, In java, if you want to use 32-bit md5 to encrypt string, you can do like this:

Step 1: Create a 32-bit MD5 class in java

In java, a sample source code of  32-bit MD5 class is :


import java.security.MessageDigest;
public class MD5 {
 public static String encryptStr(String s){
 char hexChars[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'};
 try {
 byte[] bytes = s.getBytes();
 MessageDigest md = MessageDigest.getInstance("MD5");
 md.update(bytes);
 bytes = md.digest();
 int j = bytes.length;
 char[] chars = new char[j * 2];
 int k = 0;
 for (int i = 0; i < bytes.length; i++) {
 byte b = bytes[i];
 chars[k++] = hexChars[b >>> 4 & 0xf];
 chars[k++] = hexChars[b & 0xf];
 }
 return new String(chars);
 }
 catch (Exception e) {
 return null;
 }
 }

}

If you think your kindle battery can not last long, three steps below you can try.

Step 1: Turn the WiFi feature off

turn the wifi on will use many power, so if you are playing game which do not nedd wifi, I advise you turn it off.

Category: Computer

TAG ,

2 Steps to submit your website to bing


To submit your website is very easy, you can do as steps below:

Step 1: Open bing url submit page

You can open page:http://www.bing.com/toolbox/submit-site-url/ by your browser and start to submit your website url to bing search engine.

Category: Internet

TAG


When we have built a blog, we really wish search engine will index our post immediately when we publish a post, one simple reason is the more indexed by search engine, the more traffic we will get. To get this aim we can use wordpress update services to get it.

Step 1: Open page of wordpress update services

You can click Setting–>Writing in your wordpress dashboard to open page of wordpress update services.

wordpress update services


When we have built a blog with wordpress, we should backup our wordpress regularly in case of some data damage or lost. Today, there exists many plugins to help us to do this work, and i use backwpup.

Using backwpup plugin to backup our wordpress is very easy, it can back all files of wordpress, including data stored in mysql database, we can do like this to use this plugin.

Step 1: Download, install and active this plugin

You can search “backwpup” in add plugin page in your wordpress dashboard to find this plugin, then install and active it. Detail on how to install a plugin in wordpress you can read ‘2 Steps to install wordpress plugin‘.

Category: WordPress

TAG