Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <Foundation/Foundation.h> | |
#import <RestKit/RestKit.h> | |
#import "opcUtils.h" | |
@interface opcAPIRequests : NSObject | |
+ (NSMutableURLRequest*) sendRequestTo:(NSString*)relativeURL withMethod:(RKRequestMethod)reqMethod withUID:(NSString*)uid withKey:(NSString*)key; | |
+ (NSMutableURLRequest*) sendRequestTo:(NSString*)relativeURL withParams:(NSDictionary*)params withMethod:(RKRequestMethod)reqMethod withUID:(NSString*)uid withKey:(NSString*)key; | |
+ (NSMutableURLRequest*) sendRequestTo:(NSString*)relativeURL withParams:(NSDictionary*)params withMethod:(RKRequestMethod)reqMethod ; | |
@end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
'''\ | |
Instructions: | |
Make this script Executable:: | |
chmod +x set_date.py | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from hashlib import sha256 | |
from hashlib import sha1 | |
from time import time | |
import hmac | |
from base64 import b64decode | |
from datetime import datetime | |
import re |