background preloader

Ruby on Rails

Facebook Twitter

Code School - TryRuby. Programming Ruby: The Pragmatic Programmer's Guide. Tutorials. SQL Injection Attacks by Example. A customer asked that we check out his intranet site, which was used by the company's employees and customers.

SQL Injection Attacks by Example

This was part of a larger security review, and though we'd not actually used SQL injection to penetrate a network before, we were pretty familiar with the general concepts. We were completely successful in this engagement, and wanted to recount the steps taken as an illustration. "SQL Injection" is subset of the an unverified/unsanitized user input vulnerability ("buffer overflows" are a different subset), and the idea is to convince the application to run SQL code that was not intended.

If the application is creating SQL strings naively on the fly and then running them, it's straightforward to create some real surprises. We'll note that this was a somewhat winding road with more than one wrong turn, and others with more experience will certainly have different -- and better -- approaches. Visual C# .NET for Complete Beginners - a free programming course. LeetCode. The Breadth and Depth of DSP. Digital Signal Processing is one of the most powerful technologies that will shape science and engineering in the twenty-first century.

The Breadth and Depth of DSP

Revolutionary changes have already been made in a broad range of fields: communications, medical imaging, radar & sonar, high fidelity music reproduction, and oil prospecting, to name just a few. Each of these areas has developed a deep DSP technology, with its own algorithms, mathematics, and specialized techniques. This combination of breath and depth makes it impossible for any one individual to master all of the DSP technology that has been developed. DSP education involves two tasks: learning general concepts that apply to the field as a whole, and learning specialized techniques for your particular area of interest. This chapter starts our journey into the world of Digital Signal Processing by describing the dramatic effect that DSP has made in several diverse fields. Lazy Foo' Productions. Last Updated 11/19/11 Artificial Intelligence is a complex subject.

Lazy Foo' Productions

There are volumes upon volumes written the subject and they can't all be covered in a single article. What this article is here to do is give you a starting point and give you some basics so you can implement some AI in your game. Artificial Intelligence is about modeling a problem in such a way that a computer can complete a task. What does that mean? Tic Tac Toe is a common beginner game to make. What you could do is give the computer opponent some sort of pattern to follow. Here the computer just makes a (pretty dumb) set sequence of moves. Artificial Intelligence in the most basic sense is a set of instructions the computer has to handle a situation. Well the most basic type of AI you can make for tic tac toe is an opponent that makes moves at random. First, this chunk of code selects a space at random. However, for artificial intelligence, this isn't all that intelligent.

How to Program Google Android. How to Program Google AndroidBy Reto Meier So you saw the Android announcement and decided you wanted a piece of that US$10million in prize money huh?

How to Program Google Android

In the week since the SDK was released more than 4,300 people have joined the Android support forum posting more than 4,000 messages between them. Robert Scoble doesn't know a single developer playing with Android – perhaps Scoble doesn't hang around with many developers? I wanted to give the SDK a good work-out so my application uses the GPS, the address book, and has a map.

The only way to judge an SDK is getting in there and writing an application that does something cool, so I'll take you through the development process for my first Android application: Where Are My Friends? WamF shows how far away you are right now from all the people in your address book, plots you and them on a map, and draws lines between you and any friends nearby.

How to Install the PHP Engine on Your Windows PC (with video) Edit Article Edited by Sean Hickey, Tom Viren, Alex Random, Ben Rubenstein and 23 others If you want to write your own PHP scripts, you'll need to install the PHP engine first.

How to Install the PHP Engine on Your Windows PC (with video)

It's relatively easy, and this article will show you how to do so. Ad Steps 1If you haven’t done so already, download the PHP Windows Binaries - You can download the software from the PHP.net website, ( Be sure to download PHP 5.2.9 installer Windows installer and PHP 5.2.9 zip package. Ad Tips Add the following lines: Order allow,denyOptions NoneAllowOverride NoneIf you want to save your time, use XAMPP software bundle or WITSuite EasyInstaller (WITSuite installation video: It is most simple way to install Apache, PHP, MySQL on Windows.

Tools

Linux. Favicon. 4.0 Programming: The Properties of a Class.