Skip to content

Instantly share code, notes, and snippets.

文房具

Flexispot E5 (E7)の電動昇降机。

  • 電動で昇降できる
  • プリセットが用意できる
  • 最低の天板高さが60cmまで下げられる

という点で採用。
天板はホームセンターで買って加工してもらった幅180cm x 奥行70cm。絵を描くならもう少し奥行きがあると良いかも。

@neon-izm
neon-izm / M5StickC_BT_SPP_killer.ino
Created October 11, 2020 19:13
これを焼いたM5StickCにBT SPPの接続、切断を繰り返すと勝手にloop()内でSerialBTがコケてloopが止まる。
#include <M5StickC.h>
#include <BluetoothSerial.h>
BluetoothSerial SerialBT;
/* Set the delay between fresh samples */
#define DELAY_MS (5)
int led = HIGH;
@neon-izm
neon-izm / before_join_socialgame.md
Last active August 7, 2020 16:18
ソーシャルゲームのクライアントエンジニア入門以前 目次案
@neon-izm
neon-izm / PushNotificationTestWindow.cs
Created June 10, 2020 18:56
UnityEditorからプッシュ通知を特定端末に送るサンプル [email protected] を前提にしています。
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Unity.EditorCoroutines.Editor;
using UnityEditor;
using UnityEngine;
using UnityEngine.Networking;
namespace PushNotificationSample.EditorOnly
{
@neon-izm
neon-izm / suiseiseki.txt
Created February 16, 2020 07:51
インターネットの海に漂っていたコピペをアーカイブしておきます。
あまりにも翠星石が好きすぎたから地域の家出少女の掲示板探して12万用意して釣った19歳無職女に1週間翠星石コス&口調マネさせて暮らさせた最終的に4日目で逃げられたけど……
翠星石としては駄目だったよ
そもそも衣装はLLで女のサイズはMでブカブカ
タバコ吸うし茶髪と金髪混じってるしリスカしてるし
マトモに演じられるタマではなかった
でも2日目あたりの「◯◯さん冷蔵庫のアイス食べていいんですぅ?」は今も心に残ってる
ていうか「逃げたかったら別に逃げてもいいよ」って言ってたし

用途

ふつうのUnity開発やゲームを遊ぶ、たまにライトベイクが走る。

構成 

CPU

Ryzen 9 3900X (65000円) サンキュー ツクモ池袋さん

memory

済:Samsung DDR4(2666) 32GB モジュール *2

@neon-izm
neon-izm / CopyVRMSettings.cs
Created July 17, 2019 17:02 — forked from esperecyan/301 Moved Permanently.ja.md
『CopyVRMSettings.cs』 セットアップ済みのVRMプレハブから、正規化直後のVRMプレハブへ、UniVRMのコンポーネントの設定をコピーします。「Editor」という名前のフォルダをAssets内に作成し、その中にこのスクリプトを保存すると、上部メニューに次の項目が追加されます: VRM ▸ UniVRM ▸ CopyVRMSetting.cs / Copies the settings of UniVRM components from a set-up VRM prefab to a just normalized VRM prefab. You create the folder named “Editor” in Assets and save this scr…
using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEditor;
using UnityEditorInternal;
using UniGLTF;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
/// <summary>
/// ポップアップしてメッセージをユーザに伝える
/// Debug.LogErrorは読んでもらえないがち…それはそう…
/// </summary>
public class PopupContentMessage : PopupWindowContent
@neon-izm
neon-izm / PathChecker.cs
Created February 24, 2019 16:45
日本語パスを判定したい時に使う
using System.Text.RegularExpressions;
using System;
public class PathChecker{
static bool IsContainHiragana(string str)
{
return Regex.IsMatch(str, @"[\p{IsHiragana}]");
}