Coder Profile - Show off your skills, get a coder profile.
 
 
 
N-Queens-Series Part I (Only the fittest survive)
Programming
Introduction: This is the first article of a series i'm going to present here. The entire series will be dealing with the 8 queens problem,or more general the n-queens-problem. I assume that all of you know what the problem is about. If not just google it out, there are loads of resources. Also i will shortly explain what it's all about. So why dedicate quite some articles to this problem? Well at a first glance it's just a relativly easy scientific problem. But if you look closer you'll notice that solutions to this problems can... View In Full

Posted By closure
4 Comments 9.50 out of 10
Speed Up Delivery of your JavaScript Libraries
Web Development
Hello, I am going to show you how to speed up delivery of you external .js files along with examples. I will use the prototype and scriptaculous javascript libraries as a benchmark which contains 8 seperate .js files. Unoptimized .JS Here are the results using YSlow to benchmark the speed of the JS files downloading when there is no gzip compression, no cdn, and no minification of the js code: Response Time (ms): 4477 (all files) File Size (kb): 248.7 4.4 seconds to download some JS files! Thats 4.4 seconds, on broadband, to wai... View In Full

Posted By VBAssassin
6 Comments 6.00 out of 10
A cool tool ^^
Web Development
Address barjavascript: document.body.contentEditable='true'; document.designMode='on'; void 0 If you copy/paste the above code in your address bar, you can visually edit their page- (like a frontpage setup, whatever) it's cool. You can't save anything(as far as I know) But I sort of.. stumbled on it. I tested it in Forefox and it works (and whatever works in firefox, usually works in in IE7.) I just thought it was kinda cool This works on every page I've seen, and it's great fun! What's cool is when you stump the admin wondering how thei... View In Full

Posted By Webcopper
5 Comments 6.50 out of 10
AJAX - When to use it?
Web Development
Recently AJAX has had a lot of hype about how it is used in the whole Web 2.0 scene. But which the great power that AJAX brings to a website, it has the capability to either destroy your site, or turn it in to something to admire! The uses of AJAX AJAX should be used to do one or more of the following: Speed up delivery of content Since only the portion of the page that is of interest needs to be loaded it means only a couple of kilobytes needs to be downloaded, instead of the whole page. Reduce server stress Because only a secti... View In Full

Posted By VBAssassin
1 Comments 8.25 out of 10
Currying in JavaScript: Fun for the Whole Family!
Programming
As I've said before, I'm quite partial to JavaScript. Lately, I've been reading about currying functions, so let's see if currying can be done in JavaScript. The begs the question, What is currying? Currying is a technique to transform a function that takes some number of arguments to a function that takes fewer. The process was named after the logician Haskell Curry. The goal is to get something that works like this: Figure 1function add(a, b) { return a + b; } alert(add(3, 4)); // 7 var add_3 = add(3); alert(typeof ad... View In Full

Posted By neko-mangaka
5 Comments 9.00 out of 10
Reading And Programming In Binary
Other
Binary is the basis of all systems. The only language that computers know is binary, a two-base numerical system; consisting of only 1s and 0s. For example, here's the number 105 in binary: 1101001 Wait, what? I'm sure you were thinking that, so let me explain. A great way to interprete binary is using the "bowl" method. Say you have an infinite line of bowls. Starting with the first one on the left. The first bowl has a value of 1, and each bowl to the left has a value of double of the previous bowl. Next, you have some stones. You... View In Full

Posted By mikeMarek
2 Comments 7.00 out of 10
[PHP] Create A Unique Page Hits Counter
Programming
After coding through this for about 4 hours, I felt like I should share this A hits counter is a counter that will display how many times your website (or a specified page) has been viewed. To start, open up a fresh text document and place the following code in: Page Hits PHP Script <?php $counter = 0; $write = false; $filename = "link/to/file/hits.txt"; $ip = $_SERVER['REMOTE_ADDR']; $file = fopen($filename, 'r'); $content = file_get_contents($filename); $file_content = explode(" ", $content); fclose($file); for ($i... View In Full

Posted By mikeMarek
1 Comments 6.00 out of 10
Basic Steganography
Security
Steganography is an indirect form of encryption which basically involves hiding messages in files, usually it mixes in with encryption on its own. http://www.coderprofile.com/source-code/389/bitmap-steganographer This shows a program I made to hide messages in a bitmap image file. It works because the first 54 bytes of a Bitmap File are the headers. Yet, the integer at the offset 10, (10-14), specifies where the bitmap colour data starts. So, if we modify the offset of the beggining of the bitmap colour data, we can hide messages b... View In Full

Posted By Uranium-239
2 Comments 6.00 out of 10
Introduction To PHP
Web Development
Welcome to the Introduction To PHP tutorial. In this tutorial we will discuss the basics of PHP and what it can and is used for. It is best you learn HTML before attempting these tutorials. What is PHP? Quoted from PHP's homepage, PHP.net, "PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly." This is generally a good definition of PHP. How... View In Full

Posted By Relish
1 Comments 8.50 out of 10
Actionscript Events
Programming
Events are the heart of Actionscript. Without them, you are pretty much completly rendered helpless when creating, pretty much anything, in Flash. Events are basically different actions that if performed, follow through with a block of code. For example: function onMouseDown() { trace("Mouse Pressed"); } What this code does is it places the mouseDown() event into a function and traces (outputs) the text "Mouse Pressed" when the user clicks the mouse. There are three different ways to use events... On movieclips, on buttons (... View In Full

Posted By mikeMarek
0 Comments 7.00 out of 10
Page  of 9  :: Next Page  >>
source codes Categories articles
Browse All
Business & E-Commerce (1)
Databases (1)
Design & Creativity (1)
Internet & Web Sites (1)
Life In General (2)
Operating Systems (3)
Other (2)
Programming (48)
Security (10)
Software Development (4)
Web Development (12)
 
 
Part of the MyPingle Network
Development Blog :: Make A Donation :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents
Version 1.44.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved