Skip to content

Instantly share code, notes, and snippets.

View funzin's full-sized avatar
🏃‍♂️
💨

Fumito Nakazawa funzin

🏃‍♂️
💨
View GitHub Profile
@Kesin11
Kesin11 / record.sh
Created December 5, 2017 01:48
iOS TestNight #6の公開用サンプルコード
# recordVideoをバックグラウンドで実行
xcrun simctl io booted recordVideo screenshots/test.mov &
# プロセスIDを保存
PID=`echo $!`
# テスト実行
bundle exec rspec spec/scenario_test.rb
# バックグラウンドのrecordVideoにSIGINTシグナルを送信
@jerrymarino
jerrymarino / run_ios_sim.sh
Last active October 9, 2024 18:36
Build and run an iOS application on the simulator from the command line
#!/bin/bash
# run_ios_sim builds and runs an iOS app on the simulator
#
# It is designed to replicate the behavior of "Run" in Xcode and assumes basic
# xcodebuild usage.
#
# USAGE:
# export IOS_SIM_UDID=342F9A20-DF48-41A9-BE60-C6B35F47E97F; \
# export BUNDLE_IDENTIFIER=a.Some; \
# export APP_PATH=$PWD/Build/Debug-iphonesimulator/$APP_NAME.app \
@dealforest
dealforest / slack.py
Last active January 24, 2018 01:53
send to slack in LLDB
#!/usr/bin/env python
import lldb
def slack(debugger, command, result, internal_dict):
frame = lldb.debugger.GetSelectedTarget().GetProcess().GetSelectedThread().GetSelectedFrame()
path = command
lldb.debugger.HandleCommand("""
expr -l swift --
@haranicle
haranicle / AppStoreScreenShotMaker.sh
Last active June 21, 2020 19:57
A shell script to create AppStore screen shots.
#!/bin/sh
# settings ==========
# src file name
fileNamePrefix="ScreenShotFileNameFor5.5inch"
offsetFor3_5=20
# dest directory name
@teppeis
teppeis / tenkaichi-git.md
Last active April 29, 2023 14:58
天下一gitconfig大会

天下一gitconfig大会(サイボウズ社内git勉強会@2012/11/20)の@teppeisの資料です。

ぎっとぎとにしてやんよ

DojoCat

  • gistでmarkdown書いたらbookmarkletでプレゼンになるよ。