git clone [email protected]: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
| import pickle | |
| import os | |
| from slack_sdk import WebClient | |
| import vobject | |
| import requests | |
| import base64 | |
| TMP_PATH = '/tmp/people.pkl' | |
| def get_users_list(client): |
| import contacts | |
| ppls = contacts.get_all_people() | |
| changed = False | |
| for p in ppls: | |
| for phone in p.phone: | |
| y, pnum = phone | |
| if pnum.startswith('010'): |
git clone [email protected]: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
| 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()를 만들고, |