Skip to content

Instantly share code, notes, and snippets.

View Stefkovic's full-sized avatar
👻

Marek Štefkovič Stefkovic

👻
View GitHub Profile
using UnityEngine;
using System.Collections;
public class PlayerRunning : MonoBehaviour
{
[HideInInspector]
public bool facingRight = true;
[HideInInspector]
public bool jump = false;
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/' }
  • 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
//
// 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"
//
// 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"
@Stefkovic
Stefkovic / server.py
Created November 19, 2010 19:56
SPJA - school project 3
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
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)
@Stefkovic
Stefkovic / gist:669943
Created November 9, 2010 22:20
UUID v4 generator
<?php
class Utilities
{
/**
* Generate UUID v4
*
* @return string
**/
public static function uuid()