This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# ================================================================================ | |
# 【For Mac】MacOS.sh : Setup MacOS | |
# ================================================================================ | |
if [ "$(uname)" != "Darwin" ] ; then | |
echo 'Not macOS!' | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SECURITY_OAUTH2_CLIENT_REGISTRATION_YOURAPP-CLIENT_CLIENT-ID: | |
SECURITY_OAUTH2_CLIENT_REGISTRATION_YOURAPP-CLIENT_CLIENT-SECRET: | |
SECURITY_OAUTH2_CLIENT_REGISTRATION_YOURAPP-CLIENT_CLIENT-NAME: | |
SECURITY_OAUTH2_CLIENT_REGISTRATION_YOURAPP-CLIENT_PROVIDER: | |
SECURITY_OAUTH2_CLIENT_REGISTRATION_YOURAPP-CLIENT_SCOPE: | |
SECURITY_OAUTH2_CLIENT_REGISTRATION_YOURAPP-CLIENT_REDIRECT-URI: | |
SECURITY_OAUTH2_CLIENT_REGISTRATION_YOURAPP-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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# エイリアスの設定 | |
# ls(カラー表示) | |
alias vi='vim' | |
alias d='docker' | |
alias dc='docker-compose' | |
#alias gb='git branch' | |
#alias gc='git checkout' | |
#alias gcb='git checkout -b' | |
#alias git st='git status' | |
#alias gst='git status' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Solution: | |
def romanToInt(self, s: str) -> int: | |
symbol_map = { | |
"I": 1, | |
"V" : 5, | |
"X": 10, | |
"L" : 50, | |
"C" : 100, | |
"D" : 500, | |
"M" : 1000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function execCopy(string){ | |
// 空div 生成 | |
var tmp = document.createElement("div"); | |
// 選択用のタグ生成 | |
var pre = document.createElement('pre'); | |
// 親要素のCSSで user-select: none だとコピーできないので書き換える | |
pre.style.webkitUserSelect = 'auto'; | |
pre.style.userSelect = 'auto'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 指定の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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 = |
NewerOlder