Skip to content

Instantly share code, notes, and snippets.

View Minyus's full-sized avatar

Yusuke Minami Minyus

View GitHub Profile
@yhatt
yhatt / diagrams.md
Last active July 3, 2025 12:28
Marp diagram plugin example (Powered by kroki.io)
marp theme
true
default

Marp diagram plugin example

Powered by kroki.io

@kosamari
kosamari / how_i_got_into_google.md
Last active November 1, 2023 02:16
Google に入るまでの話

Googleに入るまでの話 (Developer Relations)

コンテキスト: https://togetter.com/li/1331865

前提条件

部署

グーグルジャパンではなくてUSの本社での採用の話。私が受けたのはSoftware EngineerではなくてDeveloper Advocate。Engineering組織の下についているのでコーディング面接有り。ただし評価項目がSWEとは異なる。

英語

@kinu
kinu / how_i_got_into_google.md
Last active January 16, 2025 08:17
Google に入るまでの話

Google に入ったときの話 (Kinuko)

祭っぽいので私も書いてみることにした!お手軽に gist で。

コンテキスト:https://togetter.com/li/1331865

対策とか(特になし)

と書き出したはいいが、私が受けたときは本も情報もあまりなく、かつ競プロ的なものの存在も知らなかったので、とりあえず家にあったアルゴリズムの本を2回くらい読み直した。そして受かった。最初っから情報があまりない方のパターンで申し訳ない 😄

@mkanenobu
mkanenobu / convert_aliases.bash
Created September 14, 2018 07:03
.bashrcに書いてあるエイリアスをxonshの構文に変換するスクリプト ref: https://qiita.com/mkanenobu/items/7ba1c238ad4fb20a47f8
#!/bin/bash
while read line; do
if [[ $line =~ ^alias ]]; then
echo -n aliases\[\""$(echo "$line" | cut -d'=' -f 1 | sed -e "s/alias //g" )"\"\] =
echo " $(echo "$line" | cut -d'=' -f 2-)"
fi
done < ~/.bashrc
@andrewjong
andrewjong / pytorch_image_folder_with_file_paths.py
Last active October 31, 2024 11:13
PyTorch Image File Paths With Dataset Dataloader
import torch
from torchvision import datasets
class ImageFolderWithPaths(datasets.ImageFolder):
"""Custom dataset that includes image file paths. Extends
torchvision.datasets.ImageFolder
"""
# override the __getitem__ method. this is the method that dataloader calls
def __getitem__(self, index):