Before we start, you have to create a non root user and switch over to that user
Then
sudo apt update && sudo apt upgrade -y
/* Center of Gravity Finder | |
This script will find the center of gravity (centroid) of all closed paths in the selection set. It was built for a specific purpose so does not have much error | |
handling. For example, if you get errors it may be the result of the selection set containing compound shapes or a self-intersecting polygon. | |
References for the math: | |
http://paulbourke.net/geometry/polygonmesh/ (Calculating the area and centroid of a polygon) | |
https://en.wikipedia.org/wiki/Centroid#Centroid_of_polygon | |
Save this file with a jsx extension and place in your Illustrator/Presets/en_US/Scripts folder. You can then access it from the File > Scripts menu |
const MY_DOMAIN = "YOUR_DOMAIN" | |
const START_PAGE = "URL_TO_NOTION_LANDING_PAGE" | |
addEventListener('fetch', event => { | |
event.respondWith(fetchAndApply(event.request)) | |
}) | |
const corsHeaders = { | |
"Access-Control-Allow-Origin": "*", | |
"Access-Control-Allow-Methods": "GET, HEAD, POST,PUT, OPTIONS", |
placeholder
MoonBegonia on January 22, 2019
太极·Magisk 今天开启了大规模内测,只需要填写问卷即可参加,在这里整理相关内容。
Please read through the documentations carefully. Modding can be risky, proceed with extreme caution. The hardware can be valued where as the data are priceless.
See resources at the end of this document