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
# -*- coding: utf-8 -*- | |
""" | |
Example implimentation for YDLIDAR X4 | |
""" | |
#pip install pyserial-asyncio | |
import serial_asyncio | |
import asyncio | |
import time | |
#spyderとかipython環境で使うときはシステムですでにasyncio使ってて喧嘩するので |
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
# -*- coding: utf-8 -*- | |
""" | |
Example implimentation for YDLIDAR X4 | |
""" | |
#pip install pyserial-asyncio | |
import serial_asyncio | |
import asyncio | |
import time | |
#spyderとかipython環境で使うときはシステムですでにasyncio使ってて喧嘩するので |
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
""" | |
isotherm functions | |
See: https://www.jstage.jst.go.jp/article/oleoscience/2/5/2_275/_pdf | |
Important variables | |
C:濃度 | |
W:吸着量 | |
S=W+C | |
""" |
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
# -*- coding: utf-8 -*- | |
""" | |
Spyder Editor | |
This is a temporary script file. | |
""" | |
import asyncio | |
import nest_asyncio | |
nest_asyncio.apply() | |
loop = asyncio.get_event_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
#Microsoft storepython3.8をインストール | |
#windowsのファイル名255文字制限を解除しておく (以下のlongfilepath.regを実行) | |
#コマンドラインから以下を実行 | |
pip install -U pip | |
pip install jupyterlab | |
#以下のpipコマンドはhttps://pytorch.org/get-started/locally/で作る。 | |
pip install torch===1.7.0+cu110 torchvision===0.8.1+cu110 torchaudio===0.7.0 -f https://download.pytorch.org/whl/torch_stable.html | |
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
//#define FASTLED_ALLOW_INTERRUPTS 0 | |
#define FASTLED_ESP32_I2S 1 | |
#include <M5Atom.h> | |
#define HANA_PIN 22 | |
#define LED_PIN 25 | |
#define COLOR_ORDER RGB |
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
Shader "Custom/aurora" | |
{ | |
Properties | |
{ | |
_MainTex ("NormalMap", 2D) = "white" {} | |
} | |
SubShader | |
{ |
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
Shader "SupGames/Mobile/PostProcess" | |
{ | |
Properties | |
{ | |
_MainTex("Base (RGB)", 2D) = "" {} | |
} | |
CGINCLUDE | |
#include "UnityCG.cginc" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
conda create -n stan | |
conda activate stan | |
conda install -yc conda-forge jupyterlab-git nodejs ipywidgets widgetsnbextension holoviews bokeh pystan arviz matplotlib pyviz_comms pandas plotly pycrypto mako scikit-learn | |
#Not in conda | |
pip install compoundfiles ipython_blocking | |
jupyter lab clean | |
jupyter labextension install @jupyter-widgets/jupyterlab-manager | |
jupyter labextension install @pyviz/jupyterlab_pyviz |