code-examples

Documentation for a client/server program with OpenSSL

Hi, I have a client/server program in TCP written in C, and I would like to secure the exchanged data with OpenSSL, it's quite new for me and I couldn't find examples on the net... Could you point out some googd documentation on this matter please? Thank you! ...

Writing a code example

I would like to have your feedback regarding code examples. One of the most frustrating experiences I sometimes have when learning a new technology is finding useless examples. I think an example as the most precious thing that comes with a new library, language, or technology. It must be a starting point, a wise and unadulterated exp...

Good Wordpress Theme/plugin for showing off code examples and scripts

I have an ancient version of Wordpress and its WYSIWYG editor really mucks up code examples in my blogs (removing lines and whitespace when saved, etc). I wish to upgrade and install a theme/plugin that will make it easy to display code in a pleasant way. Any suggestions? ...

Python Closures Example Code

I am learning Python using "Dive Into Python 3" book. I like it, but I don't understand the example used to introduce Closures in Section 6.5. I mean, I see how it works, and I think it's really cool. But I don't see any real benefit: it seems to me the same result could be achieved by simply reading in the rules file line by line in a...

Delphi 7: ADO, need basic coding example

I am a complete n00b here. Can someone please post some Delphi code to create a database add a simple table close the database then, later open a database read each table read each field of a given table perform a simple search Sorry to be so clueless. I did google, but didn't find a useful tutorial ... Btw, it would be usef...

Example Code for Cisco Digital Media Player or TVzilla

I have a Cisco Digital Media Player and I need to create a web page using the DMP (Digital Media Player) Javascript Libraries, the problem is I don't know anything about them. I have lots of documentation, however I am hoping to find some example code already out there. Does anyone know of anything like that? ...

Is Kohana worth giving up on due to lack of Documentation & Examples?

Hello, I've recently chose Kohana for a new project I'm doing And quite frankly, it's going a bit slow due to lack of resources. I've stumbled again and again on problems that I can't find a solution to Examples are probably the hardest to come by, so I'm considering Switching, especially because I'm only starting and I am still able...

What are Delegates?

Possible Duplicates: C# - Can someone tell me why and where I should use delegates? C# Delegates Real World Usage While searching for answers here on stackoverflow, many of the code examples use Delegates. What are they? How they work? when, why and how to use them? Please give some simple code examples ...

WCF Duplex Callback Sample failing

In an effort to hone some example services to be used as reference for our internal scenarios, I've created this WCF Duplex Channel example, pulling together several examples found through the years. The duplex part isn't working and I'm hoping we can all figure it out together. I hate posting this much code, but I feel I've trimmed th...

Implementation of Threading in PHP

Can anybody please describe about how to implement threading in PHP programming? What I know for sure is that PHP does not support thread concept. However, please correct me if I'm wrong. If possible, please try to provide some details with one example about PHP threading. If possible, can anybody please also provide some details o...

Structure/Reading of IE cache index.dat

Is there any example on reading IE cache file (index.dat and friends found in Temporary Internet Files folder)? I'm fine with example in almost any (sane) programming language. ...

Good examples of Android projects covered by tests?

Could you point some good examples of Android projects that have unit testing in action? It would be great to learn by example from those. ...

Examples needed for open-source forums, blogs, wikis.

Hello, we are a small company developing a browser game. As planned we need a forum, wiki and a blog. The initial idea was to code everything by ourselves but time is short as always and we need to cut some corners. What we need is simple applications that have the general functionality. If you have used/developed something like that an...