Skip to content

Instantly share code, notes, and snippets.

View DanBradbury's full-sized avatar
:shipit:
Doing the work

Dan Bradbury DanBradbury

:shipit:
Doing the work
View GitHub Profile

%title: iOS Distribution %author: Dan Bradury %date: 2014-11-28

iOS Distribution

Goal: Understand the requirements and process of getting a game to the App Store.


%title: iOS Distribution %author: Dan Bradury %date: 2014-11-28

iOS Distribution

Goal: Understand the process required to get a game on the App Store.


%title: iOS Distribution %author: Dan Bradury %date: 2014-11-28

iOS Distribution

Goal: Understand the process required to get a game on the App Store.

Prerequisites: It may seem like quite a lot of requirements just to get started with iOS development but I can assure you that once everything has been setup properly the process is quite painless.

diff --git a/app/controllers/networks_controller.rb b/app/controllers/networks_controller.rb
index 47582da..2f37495 100644
--- a/app/controllers/networks_controller.rb
+++ b/app/controllers/networks_controller.rb
@@ -588,7 +588,7 @@ def advertiser_campaigns_columns tab
r.column :stats_call_count_yesterday, :friendly_name => "<div class='align_center'>Calls<br />Yesterday</div>"
end

- if tab.in?( [:AllButArchived, :Suspended] )
+ if tab.in?( [:AllButArchived, :Suspended, :Paused] )

Pegasus Route

pegasus/signup

10/28/14 09:09:23.718 INFO Started GET "/pegasus/signup" for 127.0.0.1 at 2014-10-28 09:09:23 -0700
10/28/14 09:09:23.751 INFO Processing by Pegasus::SignupController#index as HTML
10/28/14 09:09:23.753 DEBUG   OrganizationMembership Load (0.2ms) rows: 1  SELECT `organization_memberships`.* FROM `organization_memberships` WHERE `organization_memberships`.`id` = 57 LIMIT 1
10/28/14 09:09:23.760 INFO   Rendered pegasus/views/pegasus/signup/index.html.slim within pegasus/layouts/setup (2.1ms)
10/28/14 09:09:23.768 DEBUG   User Load (0.2ms) rows: 1  SELECT `users`.* FROM `users` WHERE `users`.`id` = 64 LIMIT 1
10/28/14 09:09:23.770 DEBUG Network Load (0.3ms) rows: 0 SELECT `networks`.* FROM `networks` WHERE `networks`.`vanity_domain` IN ('.localhost') LIMIT 1
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" " let Vundle manage Vundle, required
Plugin 'dart-lang/dart-vim-plugin'
Plugin 'tpope/vim-dispatch'
Plugin 'neilagabriel/vim-geeknote'
Plugin 'vim-scripts/TeTrIs.vim'
@DanBradbury
DanBradbury / gist:8fb221815161ef6b8286
Last active August 29, 2015 14:15
Automatic Slack Emoticons
# USAGE: ruby emote.rb "fingers crossed" & roll the dice!
1require 'rubygems'
require 'google-search'
require 'ImageResize'
raise "query gone wrong" if !ARGV[0]
puts ARGV[0]
options_found = false
image_count = 0
@DanBradbury
DanBradbury / rebase.md
Last active August 29, 2015 14:17
Rebase -i without fear

Do this in your own branches and not on master

~/Documents/Invoca/web on ⭠ 81/eb/STORY-2324_add_failover_node_ui ⌚ 17:28:16
$ git rebase -i ac28fc8~1                                                                                                                  
# will open up your configd editor of choice and you will be presented with a menu.

@DanBradbury
DanBradbury / vimrc
Last active August 29, 2015 14:18
minmal vimrc
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Mandatory Vim Config (passed down from da masta..)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
set nocompatible " be iMproved, required
filetype off " required
filetype plugin indent on
filetype plugin on
autocmd filetype c,asm,python setlocal shiftwidth=4 tabstop=4 softtabstop=4
set hidden " don't unload buffer when switching away
set modeline " allow per-file settings via modeline
@DanBradbury
DanBradbury / blank_template.rb
Created April 25, 2015 17:57
Ruby sprite template creator
# TO GET STARTED
# brew install imagemagick
# sudo gem install rmagick
# ruby blank_template.rb 200 200 50 50
# For more information on ImageMagick: http://ruby.bastardsbook.com/chapters/image-manipulation/
require 'rubygems'
require 'rmagick'
if ARGV.length != 4