This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const get = async <T>( | |
path: string, | |
args: RequestInit = { method: "get" } | |
): Promise<IHttpResponse<T>> => { | |
return await http<T>(new Request(path, args)); | |
}; | |
export const post = async <T>( | |
path: string, | |
body: any, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import hashlib | |
import requests | |
import json | |
from googletrans import Translator | |
import urllib | |
import hmac | |
import base64 | |
from urllib.parse import quote | |
import time |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* jd-export.jsx | |
* ------------- | |
* Illustrator script—Exports CMYK, RGB, and Hex values for all the color | |
* swatches in a document. CMYK to RGB conversion using Adobe’s default US | |
* Web Coated SWOP2 to sRGB. | |
* | |
* | |
* LICENSE | |
* ------- |