Example of If Statement in python
A simple PHP script that outputs data into formatted columns.
Open up a text editor, copy & paste the code below. Save the file as: "commandlinefu.py" and exit the editor.
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...
Example shows how to load a text file
How to read text file and print its contents to the console line by line.
Shows how to upload a single file to a FTP server.
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.
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...
C++ example code for showing how to allocate and free memory
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.
C++ code example shown here how to write to text file.
An example code to Copy data into dotNet array
Source code of C/C++ program, showing how to work with arrays.
Showing how to work with dynamically allocated arrays