Blocks
- Google Search's "People Also Search For"
- Instagram seen or likes API (not works anymore)
- Fucking stupid chatbot: exshop.com.tw
Blocks
快速取得資料夾中所有檔案的詳細資訊,加速作業進行,例如:
# https://stackoverflow.com/questions/66783581/converting-a-string-to-hex-in-python-3 | |
def calc_for_lrc(input: str): | |
""" | |
Calculate XOR for [DATA LENGTH] + [DATA] + [ETX] | |
""" | |
# input_example = 'I220001 01 000000000100 123456 ' | |
input = '000' + str(len(input)) + input | |
input = str.encode(input) | |
input = hexlify(input) |
~/Library/Containers/jp.naver.line.mac
可從 Developer Console 中 Network 面板取得 API 路徑
使用 resolution
可統一固定影像大小,有些影像畫質本身比較好,用這個會限縮畫質,需留意
package com.your.packagename | |
import com.txwstudio.app.roadreport.json.imgurupload.ImgurUploadJson | |
import okhttp3.MultipartBody | |
import okhttp3.OkHttpClient | |
import retrofit2.Call | |
import retrofit2.Retrofit | |
import retrofit2.converter.gson.GsonConverterFactory | |
import retrofit2.http.Header | |
import retrofit2.http.Multipart |