Skip to content

Instantly share code, notes, and snippets.

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

Tsuyoshi Yonemoto yoneapp

🏠
Working from home
View GitHub Profile
runtime: nodejs8
automatic_scaling:
min_idle_instances: automatic
max_idle_instances: 1
min_pending_latency: 3000ms
max_pending_latency: automatic
handlers:
- url: /_nuxt
import UIKit
extension UIStackView {
// https://gist.github.com/Deub27/5eadbf1b77ce28abd9b630eadb95c1e2
func removeAllArrangedSubviews() {
let removedSubviews = arrangedSubviews.reduce([]) { (allSubviews, subview) -> [UIView] in
self.removeArrangedSubview(subview)
return allSubviews + [subview]
}
@yoneapp
yoneapp / main.go
Created March 22, 2018 13:02
GO言語で画像のExifを使ってファイルのリネームを行う
package main
import (
"io/ioutil"
"os"
"path/filepath"
"strconv"
"strings"
"github.com/rwcarlsen/goexif/exif"