Skip to content

Instantly share code, notes, and snippets.

@satoshin2071
satoshin2071 / NSDate+Appoint.h
Last active August 29, 2015 14:07
カテゴリ
//
// NSDate+Appoint.h
//
// Created by ssato on 2014/10/08.
// Copyright (c) 2014年 eplus. All rights reserved.
//
#import <Foundation/Foundation.h>
#pragma mark interface ----
@satoshin2071
satoshin2071 / file0.txt
Created November 6, 2014 03:48
UICollectionViewでSDWebImageを表示するときにindexPathがzombieになる ref: http://qiita.com/satoshin2071/items/274f3dd4e4b3159667b9
- (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath
{
CollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:_cellIdentifier forIndexPath:indexPath];
// item取得
HogeClass item = self.items[indexPath.row];
// item.urlを使用して画像読み込み
[self.thumbnail sd_setImageWithURL:[NSURL URLWithString:item.url] placeholderImage:nil options:0 progress:nil needIndicatorColor:NO completed:nil];
@satoshin2071
satoshin2071 / gist:b32dd8f16bece6320576
Created November 13, 2014 09:58
openFrameworks 0.8.4 iOS + Xcode6でビルド出来ないときの対処法
main.mmに以下を追加
extern "C"{
size_t fwrite$UNIX2003( const void *a, size_t b, size_t c, FILE *d )
{
return fwrite(a, b, c, d);
}
char* strerror$UNIX2003( int errnum )
{
return strerror(errnum);
@satoshin2071
satoshin2071 / private.xml
Created February 18, 2015 06:30
Karabiner 独自設定用
<?xml version="1.0"?>
<root>
<item>
<name>pagedn stop working</name>
<identifier>remap.pagedn_stop_working</identifier>
<autogen>--KeyToKey-- KeyCode::PAGEDOWN,KeyCode::VK_NONE</autogen>
</item>
</root>
@satoshin2071
satoshin2071 / gist:e172ca431d8a83f7e91f
Created April 1, 2015 07:00
Git チュートリアル 基本編
@satoshin2071
satoshin2071 / gist:4bdd3ee39b7a9e6655bd
Created April 2, 2015 07:27
Git チュートリアル ブランチ

Git チュートリアル ブランチ

#概要

git チュートリアル ブランチ のメモ

ブランチ関連のコマンド git branch, git checkout, git merge の使いかた説明

SVNブランチは作業成果を時折大規模にまとめるのに対し、Gitのブランチは最も利用するワークフローの一部 だということを理解する。

@satoshin2071
satoshin2071 / gist:dc3cd62eaad4f26397df
Created April 2, 2015 10:15
Git チュートリアル 履歴の書き換え

Git チュートリアル 履歴の書き換え

##概要

Git チュートリアル 履歴の書き換えの学習メモ

コミット済みのスナップショットを書き換える必要が発生する理由あるあると、どうやって事故を防ぐかについての説明

##git commit --amend

@satoshin2071
satoshin2071 / new_gist_file.md
Last active August 29, 2015 14:18
Gitチュートリアル リモートリポジトリ

Gitチュートリアル リモートリポジトリ

Gitでは作業レポジトリを中央リポジトリにコミットするのではなく、ブランチ全体をリポジトリ間で共有する。

git remote,git fetch,git pull, git pushこれらのコマンドの機能を学ぶ

##git remote

git remoteは他のリポジトリとの接続の作成、内容確認、削除を行う。

Unity Google Extreme

##概要 エクストリーム! cv.立木文彦

##登壇者 Dan Galpin

Google Playの人

VRを使ったデータビジュアライゼーションの可能性

##概要 Unityを利用してゲーム以外の事に活用してみたよ、の例

##登壇者 谷口直嗣

フリーランスの人。広告案件多め