Skip to content

Instantly share code, notes, and snippets.

View srea's full-sized avatar
🐢
Hi!

Yuki Tamazawa srea

🐢
Hi!
View GitHub Profile
@n0mi1k
n0mi1k / ipagrabber.py
Last active November 27, 2025 03:43
.IPA file extracter for Apple Configurator
import os
import shutil
"""
Steps to retrieve the IPA file from the Configurator app:
1. Install Apple Configurator from the Mac App Store and sign in
2. Connect your iOS device to your Mac
3. Select "Add > Apps..." and search for the app you want to install, click "Add"
4. The newer Apple Configurator deletes the IPA after installing it, so you'll need to use this tool to grab it
@jasonbekolay
jasonbekolay / trigger webViewWebContentProcessDidTerminate in simulator
Last active November 10, 2025 16:50
Killing a WKWebView content process in the iOS simulator to trigger a webViewWebContentProcessDidTerminate call
# In the command line, find the PID of your simulator process:
ps -p `pgrep launchd_sim`
# or if you have many simulators running:
ps -A | grep launchd_sim
# Find the PID of the WebContent process:
pgrep -P <simulator-pid> 'com.apple.WebKit.WebContent'
# kill it
@ryanpato
ryanpato / XCUIElement+Wait.swift
Last active May 24, 2024 07:57
XCUIElement+Wait
//
// XCUIElement+Wait.swift
//
// Created by Ryan Paterson on 12/12/2020.
//
import XCTest
extension XCUIElement {
/// The period of time in seconds to wait explicitly for expectations.
//
// ContentView.swift
// AnimationTimingCurve
//
// Created by Chris Eidhof on 25.09.19.
// Copyright © 2019 Chris Eidhof. All rights reserved.
//
import SwiftUI
@tikidunpon
tikidunpon / wwdc-gorigori20190617.md
Last active September 5, 2019 01:11
参加してなくてもついていけるもん!WWDCゴリゴリキャッチアップ会20190617の参加メモ
// Copyright © 2019 Ooma Inc. All rights reserved.
import Foundation
import RIBs
import RxSwift
// MARK: - Plugin
public protocol Plugin: AnyObject {
associatedtype Component = Dependency
@utgwkk
utgwkk / mysql-accumlate.md
Last active December 27, 2024 06:23
詳説 MySQLで累積和を求める方法

2024/12/27 追記

MySQL 8.0からはウィンドウ関数が使えます。動作確認してないけどたぶんこういう感じで書けるはず:

SELECT
    t1.accum_date
  , t1.count
  , SUM(t1.count) OVER (ORDER BY t1.accum_date) AS accum
FROM (
@qmihara
qmihara / 1.md
Last active July 9, 2018 09:48
MacBook 12-inch 2017 を購入したので Xcode のビルド時間を測ってみた

使用した PC

MacBook 12-inch 2017 MacBook Air 11-inch Early 2014 MacBook Pro 13-inch Early 2015 MacBook Pro 13-inch 2017
CPU 1.4 GHz Intel Core i7 1.7 GHz Intel Core i7 2.7 GHz Intel Core i5 3.5GHz Intel Core i7
メモリ 16 GB 1867 MHz LPDDR3 8 GB 1600 MHz DDR3 16 GB 1867 MHz DDR3 16 GB 2133 MHz LPDDR3

対象プロジェクト

お仕事のプロジェクト

@joyrexus
joyrexus / README.md
Last active June 12, 2025 20:55
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm