Skip to content

Instantly share code, notes, and snippets.

@udonba
udonba / CatchLog.cs
Last active March 1, 2024 23:56
UI.TextにDebug.Log出力を表示する
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// Debug.Log()をUI.Textに表示
/// </summary>
@neon-izm
neon-izm / HumanTrait.MuscleNames.csv
Created September 17, 2018 02:36
HumanPose.musclesの中身の95個のfloatはこんな感じ。55から94に指の情報が入っている
0 Spine Front-Back
1 Spine Left-Right
2 Spine Twist Left-Right
3 Chest Front-Back
4 Chest Left-Right
5 Chest Twist Left-Right
6 UpperChest Front-Back
7 UpperChest Left-Right
8 UpperChest Twist Left-Right
9 Neck Nod Down-Up
@erhangundogan
erhangundogan / index.js
Created December 5, 2017 13:43
AWS Lambda HTTP basic auth
'use strict';
exports.handler = (event, context, callback) => {
// Get request and request headers
const request = event.Records[0].cf.request;
const headers = request.headers;
// Configure authentication
const authUser = 'user';
const authPass = 'pass';