Skip to content

Instantly share code, notes, and snippets.

View fujikky's full-sized avatar

Yusuke Fujiki fujikky

  • TimeTree, Inc.
  • Tokyo, Japan
View GitHub Profile
@matsu-chara
matsu-chara / ncu.sh
Last active August 17, 2016 07:33
npmのパッケージでアップデートがあったら自動で上げてプルリクエストを送ってくれるjenkins job
#! /bin/sh
# VARS
# 完全一致でアップデートしたくないライブラリを書く。カンマは要らないので注意
BLACK_LIST=("example1" "exmaple2")
REPO_OWNER="$1"
REPO_NAME="$2"
TOKEN="$3"
@gimenete
gimenete / gist:53704124583b5df3b407
Last active July 31, 2020 16:20
Animated rootViewController transition
// put this in your AppDelegate
- (void)changeRootViewController:(UIViewController*)viewController {
if (!self.window.rootViewController) {
self.window.rootViewController = viewController;
return;
}
UIView *snapShot = [self.window snapshotViewAfterScreenUpdates:YES];
[viewController.view addSubview:snapShot];
self.window.rootViewController = viewController;
@udzura
udzura / LICENSE
Last active May 8, 2021 14:23
やわらかRuby
やわらかRubyはCC BY 4.0 で提供します。
詳細: https://creativecommons.org/licenses/by/4.0/deed.ja
This work is licensed under a Creative Commons Attribution 4.0 International License.
See also: https://creativecommons.org/licenses/by/4.0/deed
import lldb
import re
import shlex
# This script allows Xcode to selectively ignore Obj-C exceptions
# based on any selector on the NSException instance
def getRegister(target):
if target.triple.startswith('x86_64'):
return "rdi"
@shinyaohira
shinyaohira / App States and Multitasking.md
Last active October 5, 2023 07:57
アプリケーションの状態とマルチタスキング

全体的に簡略化し、必要と思われる部分を抜粋しました。

  • Not running

    アプリは起動されていないか、実行されていたけれどもシステムによって終了されています。

  • Inactive

@20m61
20m61 / viewController.h
Created December 10, 2012 09:02
カメラ習作(とりあえず完成版)
//
// ViewController.h
// 121204
//
// Created by changhwi on 12/12/04.
// Copyright (c) 2012年 changhwi. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
@yuua
yuua / oauth2_fugu_book.md
Created October 25, 2012 09:44
OAuth2読書会

1章

重要な用語

1.認証(Authentication) ユーザ自身が何者であると主張しているかを検証するプロセス ユーザ名が表すのはユーザが主張するアイデンティティであり、アプリケーション側は、ユーザの入力したパスワードが正しければ、本人であるとみなす

2.連合型認証(Federated Authentication) ユーザアイデンティティの検証プロセスを外部サービスに依存しているアプリケーションのことをいう。

@jdriscoll
jdriscoll / NSString+Inflections.m
Created October 3, 2012 18:07
NSString+Inflections
// Inspired by suggestion to use NSScanner: http://stackoverflow.com/questions/1918972/camelcase-to-underscores-and-back-in-objective-c
#import "NSString+Inflections.h"
@implementation NSString (Inflections)
- (NSString *)underscore
{
NSScanner *scanner = [NSScanner scannerWithString:self];
scanner.caseSensitive = YES;
@Gab-km
Gab-km / github-flow.ja.md
Last active April 25, 2024 04:01 — forked from juno/github-flow.ja.md
GitHub Flow (Japanese translation)