This file contains 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
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base | |
RUN apt-get update \ | |
&& apt-get install -y --allow-unauthenticated \ | |
libc6-dev \ | |
libgdiplus \ | |
libx11-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
# your other stuff below |
This file contains 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
source 'https://github.com/CocoaPods/Specs.git' | |
platform :ios, '9.0' | |
target 'your-app-name' do | |
pod 'ExpoKit', | |
:git => "http://github.com/expo/expo.git", | |
:tag => "ios/1.20.3", | |
:subspecs => [ | |
"Core", | |
"CPP" |
This file contains 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
{ | |
"Version": null, | |
"ControllerDescriptions": [ | |
{ | |
"ControllerName": "Login", | |
"ActionDescriptions": [ | |
{ | |
"ActionName": "PerformLogin", | |
"Routes": [ | |
"v1/private/users/login" |
This file contains 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
// by John Muchow | |
- (UIImage *)convertImageToGrayScale:(UIImage *)image | |
{ | |
// Create image rectangle with current image width/height | |
CGRect imageRect = CGRectMake(0, 0, image.size.width, image.size.height); | |
// Grayscale color space | |
CGColorSpaceRef colorSpace = CGColorSpaceCreateDeviceGray(); | |
This file contains 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
@interface YouTubeView : UIWebView | |
{ | |
} | |
- (YouTubeView *)initWithStringAsURL:(NSString *)urlString frame:(CGRect)frame; | |
@end | |
#import "YouTubeView.h" | |
This file contains 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
@interface YouTubeView : UIWebView | |
{ | |
} | |
- (YouTubeView *)initWithStringAsURL:(NSString *)urlString frame:(CGRect)frame; | |
@end | |
#import "YouTubeView.h" | |