Codes from Developers

Delphi

TDirectory,files,directories,delphi

This examples demonstrates the use of methods in TDirectory class to enumerate files or directories in a file system.


PHP

Paginating,mySQL,data,PHP

Paginating the mySQL data in PHP


Java

Background,tasks,java

Background tasks in Java


HTML JavaScript

load,content,asynchronously,async,partial,views

this code will load server data asyncronously from page load


PHP

PHP,Function,Encrypt,Decrypt,string

PHP Function to EncryptDecrypt a string without a known key The string itself has his own different key for every character


Java

Stored,Procedure,Calling,in,java

Stored Procedure Calling in java


Delphi

log,failed,assertions,event,log,delphi

The following code is a self-contained unit that you can add to a project that logs failed assertions to the event log rather than raising an exception. If /Debug is passed to the application as a command-line parameter, all failed Assert calls cause a call to OutputDebugString, which sends a messages to the Event Log window if run from Delphi, or does nothing if run outside the IDE (OutputDebugString is a no-op if not run from within a debugger). A nice side benefit is that all the line numbers and unit names can be stripped from the EXE by turning off assertions and rebuilding the project. Build the executable in the IDE by pressing Run. Then go to the debug directory for the project and execute the command line "AssertErrorProc_proj /Debug". Note: AssertErrorHandler should do as little as possible. This routine does no cleanup and no variables. Procedure calls are OK. Note: This example was originally provided by Brian Long.


C++

Copying,one,or,more,than,one,file,into,one,file,c++

Copying one or more than one file into one file c++


C# JavaScript

signalr,simplified,real-time,user,connected,application

SignalR Simplified SignalR makes it easy to build real-time multi-user connected applications. The goal of this article is not to provide a detailed explanation of SignalR architecture and internals, but rather to help you to jump start writing SignalR applications. There are 3 steps involved in writing SignalR applications: Add SignalR components either through the new Visual Studio template or the NuGet package. Write the server code in your preferred .NET language. Write the client code in HTML and JavaScript.


Java

Creating,a,ZIP,file,java

Creating a ZIP file in Java


PHP

Decoding,HTML,Entities,php

Decoding HTML Entities in PHP


C#

file,memory,stream,write,read

this codes will let you write a file to memory stream or read a file from memory stream


PHP

JPEG,Directory,thumbnail,system,php

JPEG Directory thumbnail system in PHP


PHP

This,function,allows,you,to,input,your,image,,the,percentage,you,wish

This function allows you to input your image , the percentage you wish the width to be displayed at and the percentage you wish the height to be displayed at imageresize.php code


C++

,Implementation,for,stack,c++

Implementation for stack in C++


PHP

Function,to,generate,calendars,on,the,fly

Function to generate calendars on the fly


JavaScript

generate,unique,id,javascript,guid

this simple js code will generate unique id on client side


C#

c#,background,worker

Here are the minimal steps in using c# background worker


Java

Simple,download,java

Simple download in Java


C++

vector,cpp,If,you,dont,have,a,vector,type

vector.cpp - If you don't have a vector type c++