This is a sort of demo file for scriptable-pdfjs
First copy scriptable-pdfjs.html into your Scriptable Documents folder.
Then copy paste below in a new script. Run and watch your console !
This is a sort of demo file for scriptable-pdfjs
First copy scriptable-pdfjs.html into your Scriptable Documents folder.
Then copy paste below in a new script. Run and watch your console !
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: blue; icon-glyph: users; | |
| // Config | |
| // You can change the config here | |
| const WIDGET_TITLE = 'Persons at home'; | |
| // ========================================= | |
| // PLEASE, DON'T CHANGE ANYTHING BELOW THIS COMMENT, | |
| // IF YOU DON'T KNOW WHAT YOU ARE DOING | |
| // ========================================= |
| { | |
| "dns": { | |
| "hosts": { | |
| "domain:googleapis.cn": "googleapis.com" | |
| }, | |
| "servers": [ | |
| "1.1.1.1" | |
| ] | |
| }, | |
| "inbounds": [ |
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: orange; icon-glyph: quote-right; | |
| // Change these to your usernames! | |
| const user = "spencer" | |
| const jike = "4DDA0425-FB41-4188-89E4-952CA15E3C5E" | |
| const telegram = "realSpencerWoo" | |
| const github = "spencerwooo" |
| /* | |
| * MIT License | |
| * | |
| * Copyright (c) 2023 Fabio Lima | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
| { | |
| "workbench.startupEditor": "newUntitledFile", | |
| "editor.fontSize": 14, | |
| "editor.lineHeight": 1.8, | |
| "javascript.suggest.autoImports": true, | |
| "javascript.updateImportsOnFileMove.enabled": "always", | |
| "editor.rulers": [80, 120], | |
| "extensions.ignoreRecommendations": true, | |
| "typescript.tsserver.log": "off", | |
| "files.associations": { |
| \documentclass{article} | |
| \usepackage{tikz} | |
| \usetikzlibrary{shapes,arrows} | |
| \begin{document} | |
| \usetikzlibrary{decorations.markings} | |
| \tikzstyle{block} = [draw, rectangle, | |
| minimum height=3em, minimum width=6em] | |
| \tikzstyle{sum} = [draw, circle, node distance=1cm] |