Skip to content

Instantly share code, notes, and snippets.

View acmiyaguchi's full-sized avatar
🌎

Anthony Miyaguchi acmiyaguchi

🌎
View GitHub Profile
@acmiyaguchi
acmiyaguchi / readme.txt
Created April 1, 2024 17:50
installing intel-mkl for breeze
sudo update-alternatives --install /usr/lib/libblas.so libblas.so /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/libblas.so.3 libblas.so.3 /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/liblapack.so liblapack.so /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
sudo update-alternatives --install /usr/lib/liblapack.so.3 liblapack.so.3 /usr/lib/x86_64-linux-gnu/libmkl_rt.so 1000
https://github.com/fommil/netlib-java/?tab=readme-ov-file
@acmiyaguchi
acmiyaguchi / Instructions.md
Created February 25, 2024 18:26 — forked from jeguzzi/Instructions.md
How to compile CoppeliaSim on Linux

How to compile CoppeliaSim (v4.4) from source on Linux

Tested on Ubuntu 22.04 (arm64 and x64)

  1. Install dependicies

  • pip: sudo apt install python3-pip
  • colcon: pip install -U colcon-common-extensions
@acmiyaguchi
acmiyaguchi / 00-README.md
Last active June 18, 2023 06:27
SMART Response XE

SMART Response XE

I recently got my hands on a SMART Response XE, which is a defunct education device based on a ATMega128RFA1. It's basically a beefy arduino with a keyboard and screen.

Learning BASIC

The device that I bought came preloaded with a fork of Arduino BASIC. It took me an hour or two to get the basic control flow down, but its simpler than I expected.

@acmiyaguchi
acmiyaguchi / Dockerfile
Created April 11, 2023 00:42
skeleton for working with realsense in docker
FROM ros:noetic-ros-base-focal
RUN apt-get update && \
apt-get install -y \
apt-utils \
build-essential \
git \
python3-pip \
python-is-python3
@acmiyaguchi
acmiyaguchi / README.md
Last active April 12, 2023 05:50
Testing realsense-ros with a physical camera

testing realsense-ros

The pick and place simulation repo and the segmentation repo rely on camera functionality. We'd like to test rickstaa/realsense-ros-gazebo on a physical camera.

quickstart

Questions to answer:

  • What is the dimensions of the color and depth channels on the camera?
@acmiyaguchi
acmiyaguchi / README.md
Last active March 10, 2023 03:04
GKNet evaluation reproduction
@acmiyaguchi
acmiyaguchi / main.yml
Created March 8, 2023 03:55
configure local-ssd on gcp via ansible
- name: set ssd mount point variable
set_fact:
ssd_mount_point: /mnt/ssd
ssd_device: /dev/sdb
- name: check if ssd is mounted
become: true
shell: mount | grep {{ ssd_mount_point }}
register: ssd_mounted
ignore_errors: true
- name: configure local-ssd
@acmiyaguchi
acmiyaguchi / docker-compose.yml
Created April 2, 2021 20:40
bigquery-etl docker-compose file
version: "3.8"
services:
app:
build:
context: .
volumes:
- ./:/app
- ${CLOUDSDK_CONFIG:-~/.config/gcloud}/:/tmp/.config/gcloud
environment:
- CLOUDSDK_CONFIG=/tmp/.config/gcloud
@acmiyaguchi
acmiyaguchi / listing.txt
Last active January 28, 2021 20:53
sorted list of bigquery-etl yaml files as of 2021-01-28
sql/moz-fx-data-experiments/monitoring/experimenter_experiments_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/fetch/spend_alignment_by_campaign_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/fetch/spend_alignment_by_month_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/ga_derived/blogs_daily_summary_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/ga_derived/blogs_empty_check_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/ga_derived/blogs_goals_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/ga_derived/blogs_landing_page_summary_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/ga_derived/blogs_sessions_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/ga_derived/www_site_downloads_v1/metadata.yaml
sql/moz-fx-data-marketing-prod/ga_derived/www_site_empty_check_v1/metadata.yaml
WITH table_counts AS
(SELECT "telemetry" AS document_namespace,
`moz-fx-data-shared-prod`.udf.extract_document_type(_TABLE_SUFFIX) AS document_type,
DATE(submission_timestamp) AS submission_date
FROM `moz-fx-data-shared-prod.telemetry_stable.*`
UNION ALL SELECT "messaging-system" AS document_namespace,
`moz-fx-data-shared-prod`.udf.extract_document_type(_TABLE_SUFFIX) AS document_type,
DATE(submission_timestamp) AS submission_date
FROM `moz-fx-data-shared-prod.messaging_system_stable.*`
UNION ALL SELECT "activity-stream" AS document_namespace,