You should see a NEW serial port (like /dev/ttyUSB0
) been added to /dev
. Remember that for the later steps.
If not, please refer to this GitHub repo for building and installing the driver for CH341 USB to Serial Converter chips.
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import re | |
import os | |
import sys | |
import tty | |
import fcntl | |
import struct | |
import termios |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import sys | |
import urwid | |
import signal | |
import string | |
import asyncio | |
import serial_asyncio |
You should see a NEW serial port (like /dev/ttyUSB0
) been added to /dev
. Remember that for the later steps.
If not, please refer to this GitHub repo for building and installing the driver for CH341 USB to Serial Converter chips.
Boot into recovery using ⌘R
during reboot, wipe the harddrive using Disk Utility, and select reinstall macOS
Initial installation will run for approximately 1 hour, and reboot once
It will then show a remaining time of about 10-15 minutes
When it reboots again, be sure to press ⌘R
to boot into recovery and continue with Main procedure
Keyboard Matrix | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | ||||||||||
1 | N | M | 7 | 6 | J | H | Y | U | |||||||||
2 | ↓ | Num | Del | NP1 | SP | NP4 | NP7 | ||||||||||
3 | → | NP/ | Ins | NP2 | NP0 | NP5 | NP8 | ||||||||||
4 | F12 | ↵ | F10 | F9 | | | F11 | BKSP | ||||||||||
5 | , | 8 | + | K | F6 | ] | I | ||||||||||
6 | Fn | . | 9 | F8 | L | F7 | O | ||||||||||
7 | C | 3 | F2 | D | F4 | F3 | E |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import logging | |
from gevent import socket | |
from gevent import Greenlet | |
TIME_FORMAT = '%Y-%m-%d %H:%M:%S' |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import re | |
import bs4 | |
import sys | |
import requests | |
if len(sys.argv) != 2: | |
print >> sys.stderr, 'usage: ./get_pixiv.py <illustration_url>' |
import os | |
import fcntl | |
import ctypes | |
import socket | |
import struct | |
PF_OUT = 2 | |
DIOCNATLOOK = 0xc04c4417 | |
class pf_addr(ctypes.Structure): |