- Buy a mac mini
- Install 10.8
- Create a user account for Jenkins
- Install xcode
- Turn on screen sharing
- Turn off energy save sleeping
- Login as your jenkins user
- Use ssh-keygen to create a key for github
- Create a github account for your build machine
- Add the key to your build machine github account
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
using UnityEngine; | |
using System.Collections; | |
public class PlayerRunning : MonoBehaviour | |
{ | |
[HideInInspector] | |
public bool facingRight = true; | |
[HideInInspector] | |
public bool jump = false; | |
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
Pod::Spec.new do |s| | |
s.name = 'Sparrow-Framework' | |
s.version = '2.0rc' | |
s.license = 'Simplified BSD' | |
s.summary = 'Objective-C library inspired by Adobe™ Flash and Starling that was built from ground up for iPhone, iPad and iPod Touch.' | |
s.description = 'Sparrow is a pure Objective-C library that was built from ground up for iPhone, iPad and iPod Touch. If you have already worked with Adobe™ Flash or Starling, you will feel right at home: Sparrow uses the same concepts and naming schemes.' | |
s.homepage = 'http://gamua.com/sparrow/' | |
s.author = { 'Daniel Sperl' => 'https://twitter.com/PrimaryFeather', | |
'Holger Weissböck' => 'https://twitter.com/holgua', | |
'Gamua' => 'http://gamua.com/' } |
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
// | |
// ViewController.m | |
// Chapter2 | |
// | |
// Created by Marek Štefkovič on 24.1.13. | |
// Copyright (c) 2013 two bits s.r.o. All rights reserved. | |
// | |
#import "ViewController.h" |
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
// | |
// ViewController.m | |
// test | |
// | |
// Created by Marek Štefkovič on 17.1.13. | |
// Copyright (c) 2013 two bits s.r.o. All rights reserved. | |
// | |
#import "ViewController.h" |
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
from SimpleXMLRPCServer import SimpleXMLRPCServer | |
import xml.etree.ElementTree as ET | |
from collections import deque | |
import httplib | |
class Cache(object): | |
def __init__(self): | |
self.cache = deque() | |
self.count = 0 |
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
from SimpleXMLRPCServer import SimpleXMLRPCServer | |
import xml.etree.ElementTree as ET | |
import httplib | |
class Parser(object): | |
def parse_XML(self, isbn): | |
response = self.get_response(isbn) | |
if response != None: | |
tree = ET.fromstring(response) |
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
<?php | |
class Utilities | |
{ | |
/** | |
* Generate UUID v4 | |
* | |
* @return string | |
**/ | |
public static function uuid() |