Skip to content

Instantly share code, notes, and snippets.

View yacchin1205's full-sized avatar

Satoshi Yazawa yacchin1205

View GitHub Profile
@yacchin1205
yacchin1205 / docker-compose.override.yml
Last active August 2, 2024 01:27
Development configuration for RCOSDP/RDM-osf.io
version: "3.4"
services:
fakecas:
image: yacchin1205/fakecas:latest
elasticsearch:
image: elasticsearch:7.17.8
ports:
- 9200:9200
- 9300:9300
@yacchin1205
yacchin1205 / ep_kodama-docker-compose.yml
Last active May 28, 2024 02:01
ep_kodama on etherpad/etherpad
volumes:
postgres_data_vol:
external: false
solr_data_vol:
external: false
services:
postgresql:
image: postgres:15
environment:
FROM yacchin1205/notebook:fix-lab-extensions-202405
# latest 2023-06
FROM jupyter/minimal-notebook@sha256:bc16782798e37d5bc8d5295b812deaf31b3d2f4d19972a0c49e3f177529af2fa
USER root
# Installing jupyter_contrib_nbextensions
RUN pip install --no-cache git+https://github.com/ipython-contrib/jupyter_contrib_nbextensions.git \
&& jupyter contrib nbextension install --sys-prefix \
&& jupyter nbclassic-extension enable collapsible_headings/main --sys-prefix
FROM jupyter/minimal-notebook@sha256:8ab8520a9e9f67ee26d87a3f8a3e191e5cf9eeff20b993b1bc7b716f6855acad
# Install https://github.com/Jupyter-contrib/jupyter_nbextensions_configurator
RUN pip --no-cache-dir install jupyter_nbextensions_configurator && \
jupyter nbclassic-extension install --py jupyter_nbextensions_configurator --sys-prefix && \
jupyter nbclassic-extension enable --py jupyter_nbextensions_configurator --sys-prefix && \
jupyter nbclassic-serverextension enable --py jupyter_nbextensions_configurator --sys-prefix
FROM asia-northeast1-docker.pkg.dev/cog-pds-plr/plr/notebook:latest
# 追加でインストールしたいツールがあればDockerfile https://docs.docker.com/engine/reference/builder/ の記法にしたがってインストールできます。
#include <M5StickCPlus.h>
#include <driver/rtc_io.h> // from ESP-IDF
// ビープ音の音程
#define NOTE_F5 698
#define NOTE_C6 1047
// begin: wake-on-motion
// ref: https://lang-ship.com/blog/work/m5stickc-int-2-imu-mpu6886/
void setImuInt(uint8_t threshold) {
### Keybase proof
I hereby claim:
* I am yacchin1205 on github.
* I am yacchin1205 (https://keybase.io/yacchin1205) on keybase.
* I have a public key ASDDvd6caLJbGTShdQifWiQx6xbwZi_oDxt242ubYsvXnAo
To claim this, I am signing this object:
@yacchin1205
yacchin1205 / object_detection_tutorial.py
Created July 21, 2017 23:18
Object Detection on Pepper
# coding: utf-8
# Original Notebook: https://github.com/tensorflow/models/blob/master/object_detection/object_detection_tutorial.ipynb
# # Object Detection Demo
# Welcome to the object detection inference walkthrough! This notebook will walk you step by step through the process of using a pre-trained model to detect objects in an image. Make sure to follow the [installation instructions](https://github.com/tensorflow/models/blob/master/object_detection/g3doc/installation.md) before you start.
# # Imports
@yacchin1205
yacchin1205 / test.md
Last active July 13, 2017 03:27
Test of Markdown renderer