터미널에서 아래를 실행하세요.
sudo 를 실행하기 싫으시면 직접 들어가셔서 삭제하셔도 됩니다.
참고로 리소스를 완전삭제하는 거라 되돌리진 못합니다.
복구 생각이 있으신 분은 아래 파일들을 백업해두셨다가 나중에 다시 붙여넣기 하시면 됩니다.
cd /Applications/KakaoTalk.app/Contents/Resources/
sudo rm snowflake.png
// テンプレートリテラル用 | |
const getTemplate = raw => { | |
const rawObj = { raw: raw }; | |
return (...prm) => String.raw(rawObj, ...prm); | |
} | |
// 打牌に関わる文字列を成形する | |
const getDahaiStr = (playerSelectHtmlStr) => { | |
return playerSelectHtmlStr.innerHTML | |
.replaceAll('<span class="role">プレイヤー: </span>', '') |
HISTORY_ID = testMatrix["testExecutions"][0]["toolResultsStep"]["historyId"] | |
EXECUTION_ID = testMatrix["testExecutions"][0]["toolResultsStep"]["executionId"] | |
steps = [] | |
pageToken = None | |
while True: | |
response = results.projects().histories().executions().steps().list( | |
projectId=PROJECT_ID, | |
historyId=HISTORY_ID, | |
executionId=EXECUTION_ID, |
success = testMatrix["outcomeSummary"] == "SUCCESS" | |
if success: | |
print("Test SUCCESS!") | |
else: | |
print("Test FAILED!") |
NON_FINAL_STATES = ["VALIDATING", "PENDING", "RUNNING"] | |
while testMatrix["state"] in NON_FINAL_STATES: | |
sleep(5) | |
# to prevent no output kill, print something. | |
print(".", end="", flush=True) | |
testMatrix = testing.projects().testMatrices() \ | |
.get(projectId=PROJECT_ID, testMatrixId=testMatrix["testMatrixId"]).execute() |
testMatrix = testing.projects().testMatrices().create(projectId=PROJECT_ID, | |
body=testMatrix).execute() | |
testMatrix = { | |
"clientInfo": { | |
"name": "firebase.py v1.0.0", # optional and only for logging purpose only. | |
"clientInfoDetails": [ | |
{ | |
"key": "branch", | |
"value": getoutput("git rev-parse --abbrev-ref HEAD") |
from google.oauth2 import service_account | |
import googleapiclient.discovery | |
SCOPES = ['https://www.googleapis.com/auth/cloud-platform'] | |
credentials = service_account.Credentials.from_service_account_info( | |
loads(YOUR_FIREBASE_CREDENTIAL_HERE, | |
scopes=SCOPES | |
) | |
testing = googleapiclient.discovery.build('testing', 'v1', credentials=credentials) | |
results = googleapiclient.discovery.build('toolresults', 'v1beta3', credentials=credentials) |
from google.oauth2 import service_account | |
import googleapiclient.discovery | |
SCOPES = ['https://www.googleapis.com/auth/cloud-platform'] | |
credentials = service_account.Credentials.from_service_account_info( | |
loads(YOUR_FIREBASE_CREDENTIAL_HERE, | |
scopes=SCOPES | |
) | |
testing = googleapiclient.discovery.build('testing', 'v1', credentials=credentials) | |
results = googleapiclient.discovery.build('toolresults', 'v1beta3', credentials=credentials) |
터미널에서 아래를 실행하세요.
sudo 를 실행하기 싫으시면 직접 들어가셔서 삭제하셔도 됩니다.
참고로 리소스를 완전삭제하는 거라 되돌리진 못합니다.
복구 생각이 있으신 분은 아래 파일들을 백업해두셨다가 나중에 다시 붙여넣기 하시면 됩니다.
cd /Applications/KakaoTalk.app/Contents/Resources/
sudo rm snowflake.png
I hereby claim:
To claim this, I am signing this object: