| key | en |
ja |
zh-HK |
zh-TW |
|---|---|---|---|---|
FELICA_PASS_PROPERTIES_TICKET_SEAT_FORMAT |
%1$@-%2$@ | %1$@-%2$@ | %1$@-%2$@ | %1$@-%2$@ |
PASS_VIEW_USER_ACTIVITY_TEMPLATE_NAME_NON_PAYMENT_TICKET |
ticket | チケット | 門票 | 門票 |
PROGRESS_ACTIVATING |
Card Activating… | カードをアクティベート中… | 正在啟用卡⋯ | 正在啟用卡片⋯ |
PASS_MULTIPLE_CHANGES_BULLETIN_PASS |
Pass changed | パスが変更されました | 票證已更改 | 票卡已更改 |
PROGRESS_DOWNLOADING_CARD_IPAD |
Adding to Apple Pay… | Apple Payに追加中… | 正在加至Apple Pay⋯ | 正在加入Apple Pay⋯ |
PROGRESS_CONTACTING_ISSUER |
Contacting the Card Issuer… | カード発行元に問い合わせ中… | 正在聯絡發卡機構⋯ | 正在聯絡發卡機構⋯ |
PASS_VIEW_USER_ACTIVITY_TEMPLATE_NAME_NON_PAYMENT_BOARDING_PASS |
boarding pass | 搭乗券 | 登機證 | 登機證 |
PASS_VIEW_USER_ACTIVITY_TEMPLATE_NAME_NON_PAYMENT_PASS |
pass | パス | 票證 | 票卡 |
| #!/usr/bin/env bash | |
| # checck if pidof exists | |
| PIDOF="$(which pidof)" | |
| # and if not - install it | |
| (test "${PIDOF}" && test -f "${PIDOF}") || brew install pidof | |
| # find app in default paths | |
| CO_PWD=~/Applications/CrossOver.app/Contents/MacOS | |
| test -d "${CO_PWD}" || CO_PWD=/Applications/CrossOver.app/Contents/MacOS |
| [color] | |
| ui = auto | |
| [push] | |
| default = simple | |
| [alias] | |
| lg = log --color --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
| lgf = log --color --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --name-status | |
| lgp = log --color --graph --all --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --word-diff -p | |
| st = status | |
| a = add |
| import requests | |
| import base58 | |
| import base64 | |
| from pprint import pprint | |
| ADDRESS = "T....your address" | |
| PRIV_KEY = 'hex private key' | |
| CONTRACT = "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t" # USDT |
| #!/bin/bash | |
| dbs="admin dbname1 dbname2" | |
| user=admin | |
| password=your-password | |
| host=localhost:27017 | |
| i=0 | |
| for db in $dbs; do | |
| echo [MongoDB] backup db: $db | |
| mongodump -u ${user} -p ${password} --host ${host} --db ${db} |
| <?php | |
| /* | |
| * arg: | |
| * $msg: 要紀錄的內容,可用 string/array | |
| * $source_name: 此 log 的別名,方便於後台辨識 | |
| */ | |
| function my_wc_log($msg, $source_name) { | |
| if (function_exists('wc_get_logger')) { | |
| $log = wc_get_logger(); |
Infura 提供公開的 Ethereum 主網和測試網路節點。到 Infura 官網申請,只要輸入一點基本資料和 Email,就可以收到 API-key。
We dropped Lerna from our monorepo architecture in PouchDB 6.0.0. I got a question about this from @reconbot, so I thought I'd explain our reasoning.
First off, I don't want this post to be read as "Lerna sucks, don't use Lerna." We started out using Lerna, but eventually outgrew it because we wrote our own custom thing. Lerna is still a great idea if you're getting started with monorepos (monorepi?).
Backstory:
(Inspired by https://medium.com/@icanhazedit/clean-up-unused-github-rpositories-c2549294ee45#.3hwv4nxv5)
-
Open in a new tab all to-be-deleted github repositores (Use the mouse’s middle click or Ctrl + Click) https://github.com/username?tab=repositories
-
Use one tab https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall to shorten them to a list.
-
Save that list to some path
-
The list should be in the form of “ur_username\repo_name” per line. Use regex search (Sublime text could help). Search for ' |.*' and replace by empty.
| #!/bin/bash | |
| #requires jq -> http://stedolan.github.io/jq/ | |
| #optional change working_dir | |
| working_dir=${1-$(pwd)} | |
| cd $working_dir | |
| user="github_username" | |
| token="application token" | |
| organization="Organization_Name" |

