<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>
-
URL
<The URL Structure (path only, no root url)>
-
Method:
<?php | |
// Country code | |
$countries = array(); | |
$countries[1] = 'Canada (+1)'; // 1 so array doesn't start at 0 and show empty | |
$countries[] = 'China (+86)'; | |
$countries[] = 'France (+33)'; | |
$countries[] = 'Germany (+49)'; | |
$countries[] = 'India (+91)'; | |
$countries[] = 'Japan (+81)'; | |
$countries[] = 'Pakistan (+92)'; |
#!/bin/bash | |
# https://gist.github.com/949831 | |
# http://blog.carbonfive.com/2011/05/04/automated-ad-hoc-builds-using-xcode-4/ | |
# command line OTA distribution references and examples | |
# http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson | |
# http://nachbaur.com/blog/building-ios-apps-for-over-the-air-adhoc-distribution | |
# http://blog.octo.com/en/automating-over-the-air-deployment-for-iphone/ | |
# http://www.neat.io/posts/2010/10/27/automated-ota-ios-app-distribution.html |
// | |
// UIFont+DahDit.m | |
// DahDit | |
// | |
// Created by Erik Andersson on 2011-07-28. | |
// Copyright 2011 Åva gymnasium. All rights reserved. | |
// | |
#import "UIFont+DahDit.h" |
CIImage* ciImage = [[CIImage alloc] initWithData:[drawnImage TIFFRepresentation]]; | |
if ([drawnImage isFlipped]) | |
{ | |
CGRect cgRect = [ciImage extent]; | |
CGAffineTransform transform; | |
transform = CGAffineTransformMakeTranslation(0.0,cgRect.size.height); | |
transform = CGAffineTransformScale(transform, 1.0, -1.0); | |
ciImage = [ciImage imageByApplyingTransform:transform]; | |
} | |
CIFilter* filter = [CIFilter filterWithName:@"CIColorInvert"]; |
[ | |
{name: 'Afghanistan', code: 'AF'}, | |
{name: 'Åland Islands', code: 'AX'}, | |
{name: 'Albania', code: 'AL'}, | |
{name: 'Algeria', code: 'DZ'}, | |
{name: 'American Samoa', code: 'AS'}, | |
{name: 'AndorrA', code: 'AD'}, | |
{name: 'Angola', code: 'AO'}, | |
{name: 'Anguilla', code: 'AI'}, | |
{name: 'Antarctica', code: 'AQ'}, |
// Taken from the commercial iOS PDF framework http://pspdfkit.com. | |
// Copyright (c) 2014 Peter Steinberger, PSPDFKit GmbH. All rights reserved. | |
// Licensed under MIT (http://opensource.org/licenses/MIT) | |
// | |
// You should only use this in debug builds. It doesn't use private API, but I wouldn't ship it. | |
// PLEASE DUPE rdar://27192338 (https://openradar.appspot.com/27192338) if you would like to see this in UIKit. | |
#import <objc/runtime.h> | |
#import <objc/message.h> |
#import <QuartzCore/QuartzCore.h> | |
// create a perfect circle view | |
- (UIView*)createCircleViewWithRadius:(int)radius | |
{ | |
// circle view | |
UIView *circle = [[[UIView alloc] initWithFrame:CGRectMake(0, 0, 2 * radius, 2 * radius)] autorelease]; | |
circle.layer.cornerRadius = radius; | |
circle.layer.masksToBounds = YES; |
#!/bin/sh | |
parse_yaml() { | |
local prefix=$2 | |
local s='[[:space:]]*' w='[a-zA-Z0-9_]*' fs=$(echo @|tr @ '\034') | |
sed -ne "s|^\($s\)\($w\)$s:$s\"\(.*\)\"$s\$|\1$fs\2$fs\3|p" \ | |
-e "s|^\($s\)\($w\)$s:$s\(.*\)$s\$|\1$fs\2$fs\3|p" $1 | | |
awk -F$fs '{ | |
indent = length($1)/2; | |
vname[indent] = $2; | |
for (i in vname) {if (i > indent) {delete vname[i]}} |
Software development, especially mobile development has been improving rapidly. Nowadays, they are things that are unthinkable as of several years ago.
The world is moving to mobile. And as a (newbie) mobile software/iOS developer, I think there're always many thing for us to learn everyday.
Being able to keep track of what's new in technology today is really difficult, it's daunting, not to say an impossible task; but we can't help but have to keep being updated, unless we want to be left behind.