Skip to content

Instantly share code, notes, and snippets.

View exoego's full-sized avatar
🏠
Working from home

TATSUNO “Taz” Yasuhiro exoego

🏠
Working from home
View GitHub Profile
@exoego
exoego / I'm an early 🐤
Last active May 4, 2024 00:42
I'm an early
🌞 Morning 216 commits ██████▏░░░░░░░░░░░░░░ 29.5%
🌆 Daytime 318 commits █████████░░░░░░░░░░░░ 43.4%
🌃 Evening 186 commits █████▎░░░░░░░░░░░░░░░ 25.4%
🌙 Night 12 commits ▎░░░░░░░░░░░░░░░░░░░░ 1.6%
TypeScript 4 hrs 41 mins ███████▋░░░░░░░░░░░░░ 36.4%
YAML 2 hrs 30 mins ████░░░░░░░░░░░░░░░░░ 19.5%
Markdown 1 hr 21 mins ██▏░░░░░░░░░░░░░░░░░░ 10.6%
JSON 1 hr 11 mins █▉░░░░░░░░░░░░░░░░░░░ 9.2%
Scala 52 mins █▍░░░░░░░░░░░░░░░░░░░ 6.8%
@exoego
exoego / github-longer-status-list.css
Created August 18, 2023 13:55
GitHub Longer status list
@-moz-document regexp("https://github\\.com/.+/pull/.+") {
.merge-status-list {
max-height: 600px !important;
}
.merge-status-list .merge-status-item {
padding: 4px 2px !important;
}
}
@exoego
exoego / README.txt
Created August 17, 2023 03:09
Karabiner-elements long press (long hold) example
1. Put this file `~/.config/karabiner/assets/complex_modifications` and edit
2. Open Karabiner-Elements settings
3. Open "Complex Modifications"
4. Click "Add rule"
5. Enable "Demo > Control + R long press"
6. Test it (Hold `Control + R`)
@exoego
exoego / 転職先に訊きたいチェックリスト.md
Last active April 16, 2023 03:57
転職活動してて訊きたいことのメモ

制度

  • 有休…
  • 病休…
  • 育休…
  • 年収(月給、賞与など)…
  • 残業代…
  • 早朝/深夜手当…
  • 休出手当…
  • 住宅補助…
@exoego
exoego / cli.sh
Created April 13, 2023 01:23
GitHub CLI to filter PRs
#!/bin/bash
# Equivalent to "author:exoego is:merged created:>2022-02-28" in Web UI
gh search prs --limit=1000 --author=exoego --created=">2022-02-28" --merged -- -user:exoego -user:scala-steward-org
@exoego
exoego / ignore-lambda-version-with-jest-cdk-snapshot.ts
Created March 23, 2023 07:40
How to ignore AWS::Lambda::Version with jest-cdk-snapshot
import * as cdk from "aws-cdk-lib";
export function getSubsetResourceTypes(stack: cdk.Stack): string[] {
const subResources = stack.node.children.map((child) => child.node.defaultChild as unknown as cdk.CfnResource | undefined);
return subResources.map((sub) => sub?.cfnResourceType).filter((t) => t !== undefined) as string[];
}
expect(lambdaStack).toMatchCdkSnapshot({
ignoreAssets: true,
subsetResourceTypes: getSubsetResourceTypes(stack.lambda).filter((t) => t !== "AWS::Lambda::Version"),
@exoego
exoego / Stream.xml
Created March 9, 2015 13:29
Intellij IDEA Live Templates for Java8 Stream#collect
<templateSet group="Stream">
<template name=".toList" value=".collect(java.util.stream.Collectors.toList())" description="Stream#collect(toList())" toReformat="true" toShortenFQNames="true" useStaticImport="true">
<context>
<option name="JAVA_CODE" value="true" />
<option name="JAVA_STATEMENT" value="false" />
<option name="JAVA_EXPRESSION" value="false" />
<option name="JAVA_DECLARATION" value="false" />
<option name="JAVA_COMMENT" value="false" />
<option name="JAVA_STRING" value="false" />
<option name="COMPLETION" value="false" />
@exoego
exoego / ruby-version-crawler.sh
Last active March 16, 2022 02:49
Fetch .ruby-version in company repo
#!/bin/zsh
OWNER=my-company
gh search repos \
--owner=$OWNER \
--language=ruby \
--visibility=private \
--archived=false \
--json="name,defaultBranch" \
@exoego
exoego / action.yaml
Created November 25, 2021 06:57
GitHub Actions to update Rust aws-sdk crates
name: Update AWS SDK crates daily
on:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest