Skip to content

Instantly share code, notes, and snippets.

tencho shop-0761

Block or report user

Report or block shop-0761

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
shop-0761 / trelloForGAS
Created Nov 3, 2017
trello + GAS する時の関数たち
View trelloForGAS
function getTrelloBoardID(trello_API_KEY, trello_TOKEN, trello_USERNAME, boardName){
var url = '' + trello_USERNAME + '/boards?key=' + trello_API_KEY + '&token=' + trello_TOKEN + '&fields=name';
var fetch = UrlFetchApp.fetch(url, {'method':'get'});
var json = JSON.parse(fetch);
for(var i in json){
if(json[i].name == boardName){
return json[i].id;
shop-0761 / GameData.cs
Last active Jan 26, 2019
View GameData.cs
//MessagePack をいれとく
//GameData.Load(gameObject) GameData.Save(gameObject) で使う
public class saveDataFormat
public string name;
shop-0761 / MakeZipForGAS
Created Nov 16, 2017
View MakeZipForGAS
function makeZip(fileName, folderId){
var folder = DriveApp.getFolderById(folderId);
var fileList = folder.getFiles();
var archive = "";
var blobs = new Array();
var file =;
shop-0761 / SelfManagementOfTrackedDevices.cs
Last active Jan 26, 2019
View SelfManagementOfTrackedDevices.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
public class SelfManagementOfTrackedDevices : MonoBehaviour
public GameObject[] targetObjs;
public ETrackedDeviceClass targetClass = ETrackedDeviceClass.GenericTracker;
public KeyCode resetDeviceIds = KeyCode.Tab;
shop-0761 / Hugo_appyaml
Created Feb 7, 2018
View Hugo_appyaml
runtime: go
api_version: go1
- url: /
static_files: public/index.html
upload: /
- url: /css
static_dir: public/css
- url: /fonts
shop-0761 / SteamVR Plugin2.0 Input Sample.cs
Last active Jan 26, 2019
SteamVR Plugin 2.0 で入力を取るサンプル 要UniRx
View SteamVR Plugin2.0 Input Sample.cs
using UnityEngine;
using Valve.VR;
using UniRx;
public class SteamVRNotifierBase
public string buttonName;
public bool isLeft;
shop-0761 / Zaif succession agree mail
Last active Dec 13, 2018
Zaif 「承継同意に関するお手続きのご案内」メール
View Zaif succession agree mail
Date: 2018/11/28
shop-0761 / fragWithSurfSample.shader
Last active Jan 26, 2019
fragment Shader 内で Surface shader を展開する例
View fragWithSurfSample.shader
#include "UnityPBSLighting.cginc"
fixed4 frag(v2f i) : SV_Target
Input surfIN;
SurfaceOutputStandard o;
UNITY_INITIALIZE_OUTPUT(SurfaceOutputStandard, o);
surf(surfIN, o);
return fixed4(o.Albedo,0);
shop-0761 / FragmentWithSurface.shader
Created Feb 11, 2019
Fragment と surface を一緒に使うやつ
View FragmentWithSurface.shader
Shader "Custom/fragmentWithSurface" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Glossiness ("Smoothness", Range(0,1)) = 0.5
_Metallic ("Metallic", Range(0,1)) = 0.0
SubShader {
Tags { "RenderType"="Opaque" }
shop-0761 / ResolvedView
Last active Jul 15, 2019
UE4のResolvedView.hogehoge で取れそうなやつ
View ResolvedView
float4x4 TranslatedWorldToClip;
float4x4 WorldToClip;
float4x4 TranslatedWorldToView;
float4x4 ViewToTranslatedWorld;
float4x4 TranslatedWorldToCameraView;
float4x4 CameraViewToTranslatedWorld;
float4x4 ViewToClip;
float4x4 ViewToClipNoAA;
You can’t perform that action at this time.