Skip to content

Instantly share code, notes, and snippets.


hiroshi mimori mogeta

View GitHub Profile
View Rotate
View LWFSampleObjest.cs
using UnityEngine;
public class LWFSampleObject : LWFObject {
public int count=0;
void Start()
string dir = System.IO.Path.GetDirectoryName(lwfName);
if (dir.Length > 0)
dir += "/";
mogeta / CheckFallDelete.cs
Created Jan 10, 2013
DeleteObject under DELETE_Y_POS
View CheckFallDelete.cs
using UnityEngine;
using System.Collections;
public class CheckFallDelete : MonoBehaviour
GameObject manager;
private const float sendParameter = 1;
private const float DELETE_Y_POS = -3;
View Preferences.sublime-settings
"bold_folder_labels": true,
"caret_style": "phase",
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"draw_minimap_border": true,
"font_face": "Source Code Pro",
"font_size": 12.0,
"highlight_line": true,
"highlight_modified_tabs": true,
View BottomButtonPosition.cs
using UnityEngine;
using System.Collections;
public class BottomButtonPosition : MonoBehaviour
public int XPos;
public int buttonNum;
mogeta / main.go
Created Apr 16, 2013
gae/g using memcached
View main.go
func dataStore(c appengine.Context, id string) {
m = make(map[string]int32)
_, err := memcache.JSON.Get(c, "names", &m)
if err != nil && err != memcache.ErrCacheMiss {
c.Infof("%s", m)
m[id] = int32(time.Now().Unix())
mogeta / cacheMember.go
Last active Dec 16, 2015
gae/g using memcache. channelAPI user cache.
View cacheMember.go
package channelExample
import (
type Users struct {
Name string
View gist:6052633
heroku login
# accountとpassを入力し、ssh keyの登録を行います。
heroku create moge-sandbox -s cedar
#Creating moge-sandbox... done, stack is cedar
# |
git clone
mogeta /
Last active Dec 20, 2015


この資料はGo弱の会向けに作成中の資料です。 Go強の方がいらっしゃいましたら補足とかもらえると助かります。

mogeta / no_goroot
Created Aug 13, 2013
if you run "go run hello.go" without setting GOROOT
View no_goroot
go run hello.go
hello.go:4:2: cannot find package "fmt" in any of:
/usr/local/etc/src/pkg/fmt (from $GOROOT)
/Users/mogetta/Documents/go/src/fmt (from $GOPATH)
package runtime: cannot find package "runtime" in any of:
/usr/local/etc/src/pkg/runtime (from $GOROOT)
/Users/mogetta/Documents/go/src/runtime (from $GOPATH)