Skip to content

Instantly share code, notes, and snippets.

View ArtFeel's full-sized avatar
🍎
Make apps for Apple since iOS 3

Philip Vasilchenko ArtFeel

🍎
Make apps for Apple since iOS 3
View GitHub Profile
@sanemat
sanemat / gist:923282
Created April 16, 2011 16:58
Objective-C gitignore
curl -o .gitignore https://github.com/github/gitignore/raw/master/Objective-C.gitignore
@krisalyssa
krisalyssa / .gitattributes
Created March 21, 2012 14:54
.gitignore and .gitattributes for Xcode 4.3
# treats your Xcode project file as a binary; prevents Git from trying to fix newlines, show in diffs, and excludes from merges
*.pbxproj -crlf -diff -merge
@darkseed
darkseed / singleton.m
Created August 18, 2012 09:32
Objective C GCD singleton
+ (MyObject *)sharedInstance
{
static MyObject *instance;
static dispatch_once_t onceToken;
if (instance==nil) {
dispatch_once(&onceToken, ^{
instance = [[MyObject alloc] init];
});
}
@AlexDenisov
AlexDenisov / svn_aliases.sh
Created November 6, 2012 11:54
Useful aliases for SVN
alias subadd="svn st | grep '^?' | sed 's/^? *\(.*\)/\"\1\"/g' | sed 's/@\(.*\)/@\1@/g' | xargs svn add"
alias subrm="svn st | grep '^!' | sed 's/^! *\(.*\)/\"\1\"/g' | sed 's/@\(.*\)/@\1@/g' | xargs svn rm"
alias subst='svn st'
alias subci='svn ci'
alias subup='svn up'
@AlexDenisov
AlexDenisov / ConformsTo.h
Last active December 14, 2015 11:39
Additional Cedar matchers https://github.com/pivotal/cedar
//
// ConformsTo.h
//
// Created by Alex Denisov on 01.03.13.
//
#pragma once
#import <Foundation/Foundation.h>
#import <Cedar-iOS/Cedar-iOS.h>
@juice
juice / .gitignore
Created June 19, 2012 07:59
Xcode .gitignore
# Mac OS X Finder and whatnot
.DS_Store
# Sparkle distribution Private Key (Don't check me in!)
dsa_priv.pem
# XCode (and ancestors) per-user config (very noisy, and not relevant)
*.mode1
*.mode1v3
*.mode2v3

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@pharan
pharan / LinkedMeshSample.cs
Last active June 21, 2016 14:24
[spine-unity] Sample code for how to dynamically create and image-swap a linked MeshAttachment.
/*****************************************************************************
* LinkedMeshSample code created by John Dy
* Full irrevocable rights and permissions granted to Esoteric Software
*****************************************************************************/
using UnityEngine;
using System.Collections;
using Spine;
using Spine.Unity;
public class LinkedMeshSample : MonoBehaviour {
@DenTelezhkin
DenTelezhkin / README.md
Last active December 8, 2016 10:08
Rakefile for iTunesConnect upload and testing, iOS

What's this stuff about?

This is a build script for installing dependencies, running tests, and uploading your iOS application builds to Apple's iTunesConnect & Testflight.

Used technologies

  • CocoaPods
  • XCTest
  • Ruby gems: xcpretty, deliver, shenzhen
  • Apple's iTunesConnect&Testflight
@pharan
pharan / AnimationState.cs
Last active September 16, 2018 07:53
Mix-compatible Resetting AnimationState for Spine-C#
/******************************************************************************
* Spine Runtimes Software License
* Version 2.3
*
* Copyright (c) 2013-2015, Esoteric Software
* All rights reserved.
*
* You are granted a perpetual, non-exclusive, non-sublicensable and
* non-transferable license to use, install, execute and perform the Spine
* Runtimes Software (the "Software") and derivative works solely for personal