Skip to content

Instantly share code, notes, and snippets.

View yonekawa's full-sized avatar

Kenichi Yonekawa yonekawa

  • freee K.K.
  • Japan
View GitHub Profile
@yonekawa
yonekawa / fastlane-actions-appium.rb
Last active April 6, 2016 20:30
Appium support action for fastlane
module Fastlane
module Actions
class AppiumAction < Action
INVOKE_TIMEOUT = 30
APPIUM_PATH_HOMEBREW = '/usr/local/bin/appium'
APPIUM_APP_PATH = '/Applications/Appium.app'
APPIUM_APP_BUNDLE_PATH = 'Contents/Resources/node_modules/.bin/appium'
def self.run(params)
Actions.verify_gem!('rspec')
@yonekawa
yonekawa / defer.go
Created October 18, 2017 07:16
Defer playground
package main
import "sync"
// deferはreturnの後だよ
func A() string {
str := "A"
defer func() {
str = "B"
}()