Sites That Pay You to Blog

get paid blogging

Updated: 28 Sites now.

Writing paid post is perhaps the most straight forward ways to earn some revenue from blogging. The way pay post works hasn’t changed much; after reaching mutual agreement with advertisers, you write about them, they pay you. And if there is a 3rd party (middle man company) involve, they take cut. Most middle man company provides marketplace for advertisers to look for publishers, vice versa.

点击进入查看全文…

Oct 10th, 2009 | 归档于 Uncategorized
标签:

9 Alternative Ways To Access Blocked Sites

Is you school, college or office blocking you from getting on social network sites like Friendster, Facebook, Myspace, Bebo, Hi5, Orkut, etc? Here’s few ways you can bypass the restrictions and surf like normal, but please check with your local authorities before using them. We will not held any responsibility if you’ve breach the regulations of any.

点击进入查看全文…

Oct 10th, 2009 | 归档于 Uncategorized
标签:

How To Know Who Blocked You in Google Talk

Whenever you noticed a contact in your Gtalk/Google Talk has not been online for some time, have it ever crossed your mind you’ve been blocked? If you are curious in finding out who actually blocked you in Gtalk, here’s a workaround you can try.

点击进入查看全文…

Oct 10th, 2009 | 归档于 Uncategorized
标签:

Display Google Feed Subscriber Count in Text

subscriber feed count in text

We previously showed how you can display Feedburner feed count in raw text. However, if you’ve recently migrated your feed from Feedburner to Google Feed, you’ll noticed those codes will no longer work. Here’s the workarounds, for those who wanted to display Google Feed subscriber count in text for better styling.

点击进入查看全文…

Oct 10th, 2009 | 归档于 Uncategorized
标签:

20 Useful CSS Tips For Beginners

useful css for beginners

In the old days, we depend a lot of on developers and programmers to help update the website, even when it’s just a minor one. Thanks to the CSS and it’s flexibility, styles can be extract independently away from the codes. Now, with some basic understanding of CSS, even a novice can easily change the style of a website.

点击进入查看全文…

Oct 10th, 2009 | 归档于 Uncategorized
标签:

Ultimate Guide To Web Optimization (Tips & Best Practices)

Web optimization is a vital part of web development and maintenance but also something often overlooked by webmasters. Just think of the money you can save, and how it can potentially help increase your readership and traffic when they are properly done.

web optimization guide

点击进入查看全文…

Oct 10th, 2009 | 归档于 Uncategorized
标签:

The 2 ways of showing excerpts in wordpress

There are many reasons to choose to publish either full posts or excerpts on the homepage. Full posts are very simple to implement. You simply write, then publish. However, if you have chosen only partial posts, then Wordpress users have two different methods which will achieve the same effect.

点击进入查看全文…

Oct 10th, 2009 | 归档于 Uncategorized
标签:

programatically create binary http channel for remoting

Using Configuration Files

This one is actually quite simple. Just place the following statements in the client’s configuration file:

When using IIS on the server side this is supported by default – i.e. you don’t have to change your server-side configuration file at all.
The standard way of specifying this for a server-side application would be:

Using code

First, you have to reference System.Runtime.Remoting.DLL and to include at least the following namespaces:

using System.Runtime.Remoting.Channels;

using System.Runtime.Remoting.Channels.Http;

Then you can use the following code to add a binary formatter for an HttpChannel:

IDictionary props = new Hashtable();

props["name"] = “MyHttpChannel”;

props["port"] = 1234;

BinaryServerFormatterSinkProvider srv = new BinaryServerFormatterSinkProvider();

BinaryClientFormatterSinkProvider clnt = new BinaryClientFormatterSinkProvider();

HttpChannel channel = new HttpChannel(props,clnt,srv);

ChannelServices.RegisterChannel(channel);

If you only need either client or server side formatter, you can omit “the other” formatter and just pass null to the HttpChannel’s constructor. For a “client-only” channel, you can therefore use the following code:

BinaryClientFormatterSinkProvider clnt = new BinaryClientFormatterSinkProvider();

HttpChannel channel = new HttpChannel(null,clnt,null);

ChannelServices.RegisterChannel(channel);

Oct 7th, 2009 | 归档于 Uncategorized
标签:

Programmatically snapshot the current screen

static void AddSnapScreen(object files)

{

System.Threading.Thread.Sleep(300); //to ensure the main window has been refreshed

// Create the path

string screen_file = System.IO.Path.Combine(System.IO.Directory.GetCurrentDirectory(), “exception.gif”);

try

{

if (System.IO.File.Exists(screen_file))

{

System.IO.File.Delete(screen_file);

}

// Create a new bitmap class with the height and width of the screen

System.Drawing.Bitmap bmpScreenshot = new System.Drawing.Bitmap(

Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height,

System.Drawing.Imaging.PixelFormat.Format32bppArgb);

// Create new Graphics class..

System.Drawing.Graphics gfxScreenshot = System.Drawing.Graphics.FromImage(bmpScreenshot);

// Copy the screen image to the Graphics class

gfxScreenshot.CopyFromScreen(Screen.PrimaryScreen.Bounds.X,

Screen.PrimaryScreen.Bounds.Y,

0,

0,

Screen.PrimaryScreen.Bounds.Size,

System.Drawing.CopyPixelOperation.SourceCopy);

bmpScreenshot.Save(screen_file, System.Drawing.Imaging.ImageFormat.Gif);

((List)files).Add(screen_file);

}

catch

{

}

finally

{

lock (_snapScreenEnd)

{

_snapScreenEnd = true;

}

}

}

Oct 7th, 2009 | 归档于 Uncategorized
标签:

Store ViewState in Session

You can change how ViewState is persisted to avoid placing all of this
extra data in the page.
ASP.NET 2.0 introduced the option to store ViewState in the Session
instead of the hidden
input field. You just have to override the PageStatePersister property
to return either the
HiddenFieldPagePersister, which is the default, or the
SessionPageStatePersister. An exam-
ple is shown in Listing 4-16.

protected override PageStatePersister PageStatePersister
{
get
{
return new SessionPageStatePersister(Page);
}
}

Oct 7th, 2009 | 归档于 Uncategorized
标签: