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 re | |
# Bold: Mathematical Sans-Serif Bold | |
def char_to_bold(c): | |
if 'a' <= c <= 'z': | |
return chr(0x1D5EE + (ord(c) - ord('a'))) | |
elif 'A' <= c <= 'Z': | |
return chr(0x1D5D4 + (ord(c) - ord('A'))) | |
elif '0' <= c <= '9': | |
return chr(0x1D7CE + (ord(c) - ord('0'))) |
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
*anydesk.com | |
*anydesk* |
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 urllib2 | |
import json | |
# Set the endpoint URL and the prompt text | |
url = "https://api.openai.com/v1/completions" | |
# Set the API key and other parameters | |
data = json.dumps({ "model": "text-davinci-003", "prompt": prompt, "temperature": 0.5, "max_tokens": 1024}) | |
headers = { "Content-Type": "application/json", "Authorization": "Bearer {0}".format(api_key) } |
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
// Update to version 1 | |
const { | |
aceVimMap, | |
mapkey, | |
imap, | |
imapkey, | |
getClickableElements, | |
vmapkey, | |
map, |