Skip to content

Instantly share code, notes, and snippets.

View mitolog's full-sized avatar

Yuhei Miyazato mitolog

View GitHub Profile
@mitolog
mitolog / SlackAutoTranslator.gs
Last active December 14, 2019 06:54
Translation bot for slack by using gas (LanguageApp)
// Originally taken from this article
// https://qiita.com/hotpepsi/items/3862618b38b463d37b53
var TOKEN = "xoxp-YOUR_TOKEN_HERE";
function doPost(e) {
try {
var json = JSON.parse(e.postData.getDataAsString());
if (json.type == "url_verification") {
@mitolog
mitolog / Podfile
Created December 19, 2018 10:16
JellyTalkのPodfile晒します
# Uncomment this line to define a global platform for your project
platform :ios, '10.0'
swift_version = '4.0'
target 'JellyTalk' do
# Comment this line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
inhibit_all_warnings!
# Pods for JellyTalk
@mitolog
mitolog / RxFireStorage.swift
Last active December 1, 2017 17:26
FirebaseStorage with RxSwift
//
// RxFireStorage.swift
// RxSwiftSamples
//
// Created by Yuhei Miyazato on 2017/11/25.
// Copyright © 2017 mitolab. All rights reserved.
//
import Foundation
import FirebaseStorage
//
// CAShapeLayer+customShape.m
//
//
// Created by hmiorroi on 5/3/15.
// Copyright (c) 2015 hmiorroi. All rights reserved.
//
#import "CAShapeLayer+customShape.h"
@mitolog
mitolog / file0.txt
Last active February 5, 2016 20:42
slack iosアプリで使われているライブラリ群をとりあえず眺めてみる(2015年6月時点) ref: http://qiita.com/mito_log/items/68da5f5be6545113adf7
NSMutableURLRequest *rq = [OMGHTTPURLRQ GET:@"http://api.com":@{@"key": @"value"}];