Skip to content

Instantly share code, notes, and snippets.

View metaleap's full-sized avatar

Phil Schumann metaleap

View GitHub Profile
@metaleap
metaleap / main.go
Created October 25, 2012 05:13
Simple OpenGL 2D drawing
package main
import (
"fmt"
"strings"
gl "github.com/chsc/gogl/gl42"
glfw "github.com/go-gl/glfw"
glutil "github.com/go3d/go-util/gl"
)
@metaleap
metaleap / node.go
Created November 25, 2012 15:22
Manual pull request: xmlx.Node.Bytes(indent int)
// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
// license. Its contents can be found at:
// http://creativecommons.org/publicdomain/zero/1.0/
package xmlx
import (
"bytes"
"encoding/xml"
"fmt"
Q:\>python \google_appengine\appcfg.py --noisy update \d\src\github.com\openbase\ob-gae\demo-app
10:48 AM Host: appengine.google.com
2013-06-13 10:48:32,599 DEBUG appengine_rpc.py:579 Loaded authentication cookies from C:\Users\roxor/.appcfg_cookies
2013-06-13 10:48:32,601 DEBUG appengine_rpc.py:174 Server: appengine.google.com
10:48 AM Application: ob-demo; version: 1
2013-06-13 10:48:32,607 INFO sdk_update_checker.py:244 Checking for updates to the SDK.
2013-06-13 10:48:32,608 DEBUG appengine_rpc.py:392 Sending HTTPS request:
POST /api/updatecheck?api_versions=%5B%271%27%5D&release=1.8.1&runtime=go&timestamp=1368601370 HTTPS/1.1
Host: appengine.google.com
@metaleap
metaleap / helloworld.go
Created June 13, 2013 13:28
This one DOES update fine
// This is the app handler for running the helloworld Site on Google App Engine
package helloworld
import (
"net/http"
_ "io"
_ "io/ioutil"
_ "log"
_ "sort"
@metaleap
metaleap / helloworld.go
Created June 13, 2013 13:31
This one does NOT update:
// This is the app handler for running the helloworld Site on Google App Engine
package helloworld
import (
"net/http"
_ "io"
_ "io/ioutil"
_ "log"
_ "sort"
Q:\>python \google_appengine\appcfg.py --verbose update \d\src\github.com\metaleap\go-leansite\helloworld
03:31 PM Host: appengine.google.com
03:31 PM Application: go-leansite-helloworld; version: 1
2013-06-13 15:31:15,917 INFO sdk_update_checker.py:244 Checking for updates to the SDK.
2013-06-13 15:31:16,730 INFO sdk_update_checker.py:288 This SDK release is newer than the advertised release.
goroutine 1 [running]:
main.main()
q:/d/src/terra/cmd/tx-geonames-makedb/main.go:131 +0x3ca
goroutine 3 [sleep]:
time.Sleep(0x1dcd6500)
C:/Users/ADMINI~1/AppData/Local/Temp/2/bindist417694871/go/src/pkg/runtime/ztime_windows_amd64.c:19 +0x32
github.com/go-forks/mgo.(*mongoCluster).syncServersLoop(0xc0800822a0)
q:/d/src/github.com/go-forks/mgo/cluster.go:326 +0x1ef
created by github.com/go-forks/mgo.newCluster
Shader "Time of Day/Space"
{
// Properties
// {
// _MainTex ("Base (RGB)", 2D) = "white" {}
// }
SubShader
{
Tags
#include "../../CGInclude/Include.cginc"
#if defined(VARIANT_RINGSHADOW) || defined(VARIANT_PLANETSHADOW)
#define VARIANT_SHADOW
#endif
sampler2D cloudsTexture;
sampler2D lightingTexture;
float3 centrePosition;
float3 starDirection;
ImportFBX Warnings:
Node 'Hips' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'Spine' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'Chest' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'Neck' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'Head' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'RightShoulder' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'RightArm' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'RightForeArm' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).
Node 'RightHand' has invalid Scale ChannelValues (0, 0, 0). Resetting it to (1, 1, 1).