Codes from Developers

C#

Amazon,S3,Multipart,Upload,c#

Here how to do multipart upload to Amazon S3 Storgae with c# If you have a stream that is broken up into 10 chunks you will be hitting this method 10 times, on the first chunk you will hit step 1 & 2, chunks 2-9 only step 2 and on the last only step 3. Your need to send back to your client the upload id and the etag for each response. At step 3 you will need to provide the etag for all pieces or else it will put together the file on S3 without 1 more pieces. On my client side I had a hidden field where I persisted the etag list (comma delimited).


C#

Chain,of,Responsibility,Pattern

Chain of Responsibility Pattern


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


PHP

Implode,php

Implode in PHP


C++

Project,sample,Employees,Management,System,c++

Project - Employees Management System in C++


PL/SQL

removing,auto,increment,feature,from,column,sql,primary,key

This code block removed auto increment feature from a primary key auto incremented column.


C#

auto,reset,event,c#,thread

this is the usage of autoresetevent in c#


C#

Get,online,users,from,session

This code will return you all online users of your website using sessions.


C#

c#,find,standart,deviation,of,set,given,numbers

This Code Shows How to Find the Standard Deviation of a Set of Given Numbers


PHP

Credit,Card,Identification,Validation,Class

Credit Card Identification and Validation Class - The credit_card class in PHP provides methods for cleaning, validating and identifying the type of credit card numbers


Transact-SQL

sql,get,tables,sizes,of,db,size

this code block returns sizes of tables in your db


JavaScript

scroll,bottom,jquery,div

this code block lets any scrollable control to scroll bottom not the page


C++

Creates,a,file,using,fstream

Creates a file using fstream in c++


JavaScript

is,on,screen,isOnScreen,check,if,element,is,on,screen,or,disappeared

this code block checks if the given element is on screen or disappeared by scrolling down or up.


C++

A,simple,example,of,inheritance,in,c++

A simple example of inheritance in c++


C#

Binary,Search,Tree,c++

Binary Search Tree c++


Delphi

color,form,rgb,delphi

The following code converts the color of the current form, Form1, to a Windows RGB value.


C#

prototype,pattern

Prototype Pattern


C++

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

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


C++

FahrenheitCelsius,converter,c++

Fahrenheit-Celsius converter c++