Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Yoshiki yoshiki-0428

🏠
Working from home
Block or report user

Report or block yoshiki-0428

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Spring Security OAuth2 Env.env
SECURITY_OAUTH2_CLIENT_REGISTRATION_BIZTOI-APP-CLIENT_CLIENT-ID:
SECURITY_OAUTH2_CLIENT_REGISTRATION_BIZTOI-APP-CLIENT_CLIENT-SECRET:
SECURITY_OAUTH2_CLIENT_REGISTRATION_BIZTOI-APP-CLIENT_CLIENT-NAME:
SECURITY_OAUTH2_CLIENT_REGISTRATION_BIZTOI-APP-CLIENT_PROVIDER:
SECURITY_OAUTH2_CLIENT_REGISTRATION_BIZTOI-APP-CLIENT_SCOPE:
SECURITY_OAUTH2_CLIENT_REGISTRATION_BIZTOI-APP-CLIENT_REDIRECT-URI:
SECURITY_OAUTH2_CLIENT_REGISTRATION_BIZTOI-APP-CLIENT_AUTHORIZATION-GRANT-TYPE:
SECURITY_OAUTH2_CLIENT_PROVIDER_COGNITO_AUTHORIZATION-URI:
SECURITY_OAUTH2_CLIENT_PROVIDER_COGNITO_TOKEN-URI:
SECURITY_OAUTH2_CLIENT_PROVIDER_COGNITO_USER-INFO-URI:
View jooq-trunc-date.md

jooq DateでGroupByのコード


Result<Record3<Integer, Integer, BigDecimal>> fetch1
                    = DSL.using(conn)
                            .select(DSL.year(TABLE.DATE),
                                    DSL.month(TABLE.DATE),
                                    DSL.sum(TABLE.MYBIGINT))
View AWS Summit【初級】今から始めるサーバレスアプリケーション.md

今から始めるサーバレスアプリケーション

モジュールの流れ

モノリシック -> サービス思考アーキテクチャ(SOA)-> マイクロサービスアーキテクチャ どれがいいというわけではない、規模や組織による

サーバレスとは

  • サーバの管理
  • パッチ、最適化、スケーリングの運用する必要がない
@yoshiki-0428
yoshiki-0428 / setUp.sh
Last active Jun 22, 2019
Mac OSの初期化時に設定するshellです。1: Setup Mac 2: Brew install 3: Apple App install
View setUp.sh
#!/bin/bash
# ================================================================================
# 【For Mac】MacOS.sh : Setup MacOS
# ================================================================================
if [ "$(uname)" != "Darwin" ] ; then
echo 'Not macOS!'
exit 1
View .bashrc
exec fish
alias vi='vim'
alias d='docker'
alias d-c='docker-compose'
alias gb='git branch'
alias gc='git checkout'
alias gcb='git checkout -b'
alias git st='git status'
View .vimrc
" setting
"文字コードをUFT-8に設定
set fenc=utf-8
" バックアップファイルを作らない
set nobackup
" スワップファイルを作らない
set noswapfile
" 編集中のファイルが変更されたら自動で読み直す
set autoread
" バッファが編集中でもその他のファイルを開けるように
View .gitconfig
[user]
name = Yoshiki Ohashi
email = rrrtcdish2@gmail.com
[core]
excludesfile = /Users/YOSHIKI/.gitignore_global
pager = less -cm
quotepath = false
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
@yoshiki-0428
yoshiki-0428 / Device.m
Last active Oct 25, 2018
【iPhoneXR,Xs,XsMaxの判別対応】Nativeコード内での判別方法(解像度での判別) ref: https://qiita.com/yoshiki-0428/items/30151967574791a02a0c
View Device.m
#define ScreenHeight [UIScreen mainScreen].nativeBounds.size.height
#define ScreenWidth [UIScreen mainScreen].nativeBounds.size.width
#define ScreenScale [UIScreen mainScreen].scale
// iphoneX以上の端末を判別
+ (BOOL)isIphoneXOver {
return (Device.isIphoneX || Device.isIphoneXs || Device.isIphoneXR || UIDevice.isIphoneXsMax);
}
@yoshiki-0428
yoshiki-0428 / file0.txt
Last active Aug 3, 2018
iOSアプリのunrecognized selector sent to instanceエラーについて ref: https://qiita.com/yoshiki-0428/items/80ea88f65f5a62ffcc11
View file0.txt
// 指定のViewControllerインスタンスを作成、その際に
HogeDialogViewController *vc = [
[UIStoryboard storyboardWithName:@"HogeDialogViewController" bundle:nil]
instantiateViewControllerWithIdentifier:@"HogeDialogViewController"];
// Dictionary型を作成し、Entityを作成する
NSDictionary *responseObject = [NSDictionary dictionaryWithObjectsAndKeys:
@"id", @1111,
nil];
HogeData *hogeData = [[HogeData alloc] initWithDictionary:responseObject];
vc.hogeData = hogeData;
You can’t perform that action at this time.