This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' | |
// Unity built-in shader source. Copyright (c) 2016 Unity Technologies. MIT license (see license.txt) | |
// Unlit alpha-blended shader. | |
// - no lighting | |
// - no lightmap support | |
// - no per-material color | |
Shader "Custom/Unlit_Alpha_Trans_hide" { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install requests | |
import requests | |
import urllib.parse | |
if __name__ == "__main__": | |
with open("list.txt") as f: | |
lines=f.readlines() | |
for i in range(len(lines)): | |
pr=urllib.parse.urlparse(lines[i]) | |
qs=urllib.parse.parse_qs(pr.query) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ディレクトリ構造 | |
# |-Steam2VRC.sh | |
# |-VRChat_steam //src | |
# |-VRChat_camera //dst | |
for pic in `ls VRChat_steam/ | grep -v vr | grep jpg`;do | |
new_pic=`echo $pic | awk '{print("VRChat_camera/VRChat_1920x1080_"substr($0,1,4)"-"substr($0,5,2)"-"substr($0,7,2)"_"substr($0,9,2)"-"substr($0,11,2)"-"substr($0,13,2)".000.jpg")}'` | |
if [ -e $new_pic ];then | |
echo "skip $new_pic" | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void evalute_formation() { | |
std::cout << "\033[13;0H\e[J" << std::endl; | |
const auto visible_robots = | |
static_cast<bool>(team_color_) ? world_.robots_yellow() : world_.robots_blue(); | |
if (mode == test::formation) { | |
if (!formation_) reset_formation(); | |
auto agents = formation_->execute(); | |
for (auto agent : agents) { | |
std::string agent_name = typeid(*agent).name(); | |
auto actions = agent->execute(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: $ voice.sh dir | |
dir=$1 | |
cd $1 | |
mkdir etc game_command stage_name | |
array=("stage_name/normal_first_half" "stage_name/normal_half_time" "stage_name/normal_second_half" "stage_name/extra_first_half" "stage_name/extra_half_time" "stage_name/extra_second_half" "stage_name/penalty_shootout" "stage_name/post_game" "game_command/halt" "game_command/stop" "game_command/normal_start" "game_command/force_start" "game_command/prepare_kickoff_yellow" "game_command/prepare_kickoff_blue" "game_command/prepare_penalty_yellow" "game_command/prepare_penalty_blue" "game_command/direct_free_yellow" "game_command/direct_free_blue" "game_command/indirect_free_yellow" "game_command/indirect_free_blue" "game_command/timeout_yellow" "game_command/timeout_blue" "game_command/goal_yellow" "game_command/goal_blue" "game_command/ball_placement_yellow" "game_command/ball_placement_blue" "etc/red_card_yellow" "etc/red_card_blue" "etc/yellow_card_yellow" "etc/yellow_card_blue" "etc/yellow_card_timeup_yellow" "etc/yellow_car |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ファーストハーフ | |
ハーフタイム | |
セカンドハーフ | |
エクストラファーストハーフ | |
エクストラハーフタイム | |
エクストラセカンドハーフ | |
ペナルティーシュートアウト | |
ポストゲーム | |
はると | |
ストップゲーム |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem pecoをのバイナリをダウンロードしてPATHに追加してhttps://github.com/peco/peco/releases | |
chcp 65001 | |
rem 追加するファイル | |
set FILE="C:\Users\hoge\AppData\Local\Yukarinette\plugins\exPlugin.dll.csv" | |
rem 探索するディレクトリ | |
set DIR="E:\Sound" | |
set USER_INPUT="" | |
set WAVPATH="" | |
:LOOP |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem pecoをのバイナリをダウンロードしてPATHに追加してhttps://github.com/peco/peco/releases | |
chcp 65001 | |
:LOOP | |
for /F "delims=*" %%a in ('where /r "E:\Sound" *.wav *.mp3 *.mp4 ^| peco ') do @set WAVPATH=%%a | |
if "%WAVPATH%"=="""" goto LOOP | |
echo 再生中: %WAVPATH% | |
rem 昔の直接WMPを呼び出していたパターン | |
rem "C:\Program Files (x86)\Windows Media Player\wmplayer.exe" /play /close "%WAVPATH%" | |
rem /hiddenをつけるとウィンドウが隠れる |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Windows.Automation; | |
using System.Diagnostics; | |
namespace WMPhandler | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set SERVERSDIR=E:\Game\minecraft\Server\ | |
chcp 65001 | |
cd /d %SERVERSDIR% | |
for /F "delims=*" %%a in ('dir /b ^| peco') do @set SERVERNAME=%%a | |
cd "%SERVERNAME%" | |
chcp 932 | |
start.bat |