Finger Print Snippets


04 December, 2011   

Example of If Statement in python

Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.

29 January, 2011   

all: Used for all media type devices aural: Used for speech and sound synthesizers braille: Used for braille tactile feedback devices embossed: Used for paged braille printers handheld: Used for small or handheld devices print: Used for printers projection: Used for projected presentations, like slides screen: Used for computer screens tty: Used...

04 May, 2013   

How to read text file and print its contents to the console line by line.

07 March, 2011   

Shows how to upload a single file to a FTP server.

28 December, 2011   

Delphi Code Example for Print Screen using Quick Reports

I would like to find the position of the last occurrence of a character in a string and print every thing after that.

The pyperl dist provide an interface to the Perl DBI (dbi.py). This allow direct access to all the perl supported databases from python. Full documentation of the API from 'perldoc DBI' or the ORA "Programming the Perl DBI" book, by A. Descartes and T. Bunce.

Sending short text messages with socket datagrams is simple to implement and provides a very lightweight message passing idiom.

PHP & Mysql based code to Print table with client-side sorting function.

18 August, 2011   

The example Python code to Rotate sequences left or right

Fortran programmer should always write new code in Fortran 90 or Fortran 95, but for those of you stuck on a desert island with only a FORTRAN 77 compiler at your disposal, here's a way to write a recursive subroutine. FORTRAN 77 subroutines and functions are not allowed to call themselves directly. Attempting to do such will result in a compile...

22 January, 2012   

C++ example code for showing how to allocate and free memory

30 August, 2011   

This snippet to show how to use the Last-Modified and the ETag header to optimize the caching of a website. If used correctly this will speed up your page loads.

04 May, 2013   

C++ code example shown here how to write to text file.

07 May, 2012   

An example code to Copy data into dotNet array

15 November, 2011   

Source code of C/C++ program, showing how to work with arrays.

06 August, 2012   

Showing how to work with dynamically allocated arrays

19 February, 2012   

Throwtest an application that demonstrates how to define, throw, and handle exceptions. This application doesn't do anything other than print out some text, but if you might want to study it and play around with it to learn more about how exceptions work in Java. See the usage instructions in the source code.

07 December, 2011   

Php code to guessing a number using in html page