Skip to content

Instantly share code, notes, and snippets.

@sdkfz181tiger
sdkfz181tiger / GameServiceActivity.java
Created December 22, 2014 00:15
GameService(Android)
package com.ozateck.oyadius4;
import android.app.Activity;
import android.os.Bundle;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;
import com.google.android.gms.common.api.GoogleApiClient;
import com.google.android.gms.games.Games;
@NathanSweet
NathanSweet / Photoshop-LayersToPNG.jsx
Last active November 7, 2023 04:09
Adobe Photoshop script to export to Esoteric Software's Spine: http://esotericsoftware.com/
Please note this script has moved: https://github.com/EsotericSoftware/spine-scripts
@STAR-ZERO
STAR-ZERO / B2DebugDrawLayer.cpp
Created August 20, 2014 02:09
Cocos2d-xでBox2DのDebugDraw
#include "B2DebugDrawLayer.h"
USING_NS_CC;
B2DebugDrawLayer *B2DebugDrawLayer::create(b2World *pB2World, float pPtmRatio)
{
B2DebugDrawLayer *pRet = new B2DebugDrawLayer(pB2World, pPtmRatio);
if (pRet && pRet->init()) {
pRet->autorelease();
return pRet;
@midworld
midworld / GooglePlayAds.java
Created July 22, 2014 03:01
Cocos2d-x Plugin-x for Google Play Ad (not AdMob SDK)
package org.cocos2dx.cpp;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Set;
import org.cocos2dx.plugin.AdsWrapper;
import org.cocos2dx.plugin.InterfaceAds;
import org.cocos2dx.plugin.PluginWrapper;
@Kuniwak
Kuniwak / 2013_11_15_githubjp_note.markdown
Last active October 30, 2018 07:06
「GitHub トレーニングチームから学ぶ Git の内部構造」のノートです。 曖昧なところもあるので、間違いがあったら教えてください! http://connpass.com/event/3808/

GitHub トレーニングチームから学ぶ Git の内部構造

Graphs, Hashes, and Compression, Oh My!

Hash について

従来の CVCS (集中バージョン管理システム)のリビジョン番号は連番。 SVN はサーバーにデプロイした時点でリビジョン番号1と設定される。