加藤亮(かとうりょう)
2016年からはフリーランスとして働いています。
仕事の内容などは以下の略歴を参照して下さい。
call plug#begin('~/.vim/plugged') | |
Plug 'scrooloose/nerdtree' | |
Plug 'jistr/vim-nerdtree-tabs' | |
Plug 'prabirshrestha/vim-lsp' | |
Plug 'mattn/vim-lsp-settings' | |
Plug 'joshdick/onedark.vim' | |
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
Plug 'junegunn/fzf.vim' | |
Plug 'bronson/vim-trailing-whitespace' | |
Plug 'prabirshrestha/async.vim' |
import maya.cmds as cmds | |
joints = cmds.listRelatives(allDescendents=True, type='joint') | |
cmds.select(joints, add=True) |
<bpy> | |
<Theme> | |
<user_interface> | |
<ThemeUserInterface | |
menu_shadow_fac="0.3" | |
menu_shadow_width="4" | |
icon_alpha="1" | |
icon_saturation="0.5" | |
widget_emboss="#00000005" | |
editor_outline="#1f1f1f" |
#!/bin/bash | |
BOOST_VERSION="1.62.0" | |
BOOST_DEV_VERSION="1.62-dev" | |
# beforehand, you should git clone USD on this directory | |
USD_PATH=/path/to/USD | |
sudo apt-get install libtiff-dev libjpeg-dev libpng-dev |
package com.github.lyokato.rtc360; | |
import android.content.Context; | |
import android.util.Log; | |
import android.view.Surface; | |
import com.serenegiant.usb.Size; | |
import com.serenegiant.usb.UVCCamera; | |
import org.webrtc.SurfaceTextureHelper; |
/************************************************************************************ | |
Copyright : Copyright 2017 Oculus VR, LLC. All Rights reserved. | |
Licensed under the Oculus VR Rift SDK License Version 3.4.1 (the "License"); | |
you may not use the Oculus VR Rift SDK except in compliance with the License, | |
which is provided at the time of installation or download, or which | |
otherwise accompanies this software in either electronic or hard copy form. | |
You may obtain a copy of the License at |
public Quaternion GetVector() | |
{ | |
Quaternion q = Quaternion.AngleAxis( 90.0f, Vector3.right ); | |
Vector3 v1 = q * new Vector3(j_b.x, i_b.x, k_b.x); | |
Vector3 v2 = q * -(new Vector3(j_b.z, i_b.z, k_b.z)); | |
if (v2 != Vector3.zero){ | |
return Quaternion.LookRotation(v1, v2); | |
}else{ | |
return Quaternion.identity; | |
} |
using System.Linq; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace OVROSX { | |
[RequireComponent(typeof(JoyconManager))] | |
public class JoyconTracker : MonoBehaviour { |
public static BatteryStatus batteryStatus | |
{ | |
get { | |
#if UNITY_EDITOR_OSX | |
return BatteryStatus.NotCharging; | |
#else | |
return OVRP_1_1_0.ovrp_GetSystemBatteryStatus(); | |
#endif | |
} | |
} |