Skip to content

Instantly share code, notes, and snippets.

View jchudzynski's full-sized avatar

Janusz Chudzynski jchudzynski

View GitHub Profile
@jchudzynski
jchudzynski / WebServicesHelper.m
Last active December 30, 2015 04:48
Contains methods that are making networking calls and parse the response
/*!
@class WebServicesHelper
@abstract
Contains methods that are making networking calls and parse the response
@discussion
*/
@jchudzynski
jchudzynski / Captcha
Created October 8, 2013 17:15
Instructions for using captcha
1. Copy ajax.cfc to your folder
2. Add the following code to the file's header.
<cfajaxproxy cfc="atcdev.applications.captcha.ajax" jsclassname="proxy" />
<cfinvoke component="ajax" returnvariable="captcha" method="makeRandomString">
<cfset captchaHash = hash(captcha)>
<script type="text/javascript">
<!--
<cfoutput>
@jchudzynski
jchudzynski / MyClass.h
Created October 7, 2013 21:52
Objective-C Class Example
//import necessary frameworks
#import <Foundation/Foundation.h>
//public interface
@interface MyClass : SuperclassOfMyclass
{
//public members declarations
int member1;
}
@jchudzynski
jchudzynski / MFUtilities.h
Last active December 24, 2015 22:49
Example of Objective-C Class
#import <Foundation/Foundation.h>
#import "MFFraction.h"
@interface MFUtilities : NSObject
{
int count;
}
//main intro
-(double)getValueOfFraction:(MFFraction *)fraction;
-(BOOL)isEqual:(MFFraction *)fractionOne and:(MFFraction *)object;