git clone git@github.com:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
workflow "Demo workflow" { | |
on = "push" | |
resolves = ["SNS Notification"] | |
} | |
action "Build Image" { | |
uses = "actions/docker/cli@c08a5fc9e0286844156fefff2c141072048141f6" | |
runs = ["/bin/sh", "-c", "docker build -t $IMAGE_URI ."] | |
env = { | |
IMAGE_URI = "xxxxxxxx.dkr.ecr.ap-northeast-1.amazonaws.com/github-action-demo:latest" |
tell application "Contacts" | |
-- repeat with aPerson in people of group "Test Group" | |
repeat with aPerson in people | |
set thePhones to phones of aPerson | |
if thePhones is not {} then | |
set errorList to {} | |
repeat with aPhoneNumber in thePhones | |
set theNumber to value of aPhoneNumber | |
try | |
set value of aPhoneNumber to my getNewNumber(theNumber) |
# coding: utf8 | |
''' | |
사실 문제 자체가 기억 안나서 구글신에 물어볼 뻔. | |
n == 2일 때, 어떻게 움직이면 좋을지 move()를 여러번 적어놓고 해결한 다음, | |
move(1, 3) | |
move(1, 2) | |
move(2, 3) | |
pp()를 만들고, |