- Install and download the free Scriptable app on your iOS device.
- Inside the app, press the "Plus" icon to create a new script
- Paste the content of the JS file into the script
- Place a Scriptable widget on your home screen
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
| -- For the latest version: | |
| -- https://gist.github.com/parterburn/e832b9090ee35eb830529de8bd978b82 | |
| -- Set this property to true to always open in a new window | |
| property open_in_new_window : false | |
| -- Set this property to false to reuse the current tab | |
| property open_in_new_tab : true | |
| -- Handlers |
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
| javascript:(() => { | |
| const requestURL = "http://127.0.0.1:8080/api/readingList"; | |
| const token = "dfgkjlhsdfgkljghklhj"; | |
| const pageTitle = document.title; | |
| const pageURL = window.location.href; | |
| let metaImage = ""; | |
| let metaDescription = ""; | |
| function getMetaValue(propName) { |
- Follow instructions here: https://help.eyeo.com/en/adblockplus/add-a-filter-list?ff0ab00c
- Paste the following url: https://gist.github.com/jerone/512d5b1af56c8570926d077b978e26f2/raw/filters.txt
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
| ############################################################################## | |
| # SHELL ALIASES | |
| # ADD TO .bashrc OR .zshrc | |
| ############################################################################## | |
| # Capacitor | |
| alias csync="npx cap sync" | |
| alias cios="npx cap open ios" | |
| alias cand="npx cap open android" |
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
| #!/usr/bin/env ruby | |
| # frozen_string_literal: true | |
| # 256-color hex interpretation for terminal colorization | |
| # | |
| # Usage | |
| # "text".color256(foreground, background) | |
| # | |
| # print "Colorize this".color256('#f7921e', '#666') |
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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: deep-brown; icon-glyph: magic; | |
| const config = new Array() | |
| // ========= ↓将生成的配置粘贴这以下↓========= | |
| config[0] = "" // uid | |
| config[1] = "cn_gf01" // cn_gf01 天空岛 or cn_qd01 世界树 | |
| config[2] = "" // cookie | |
| // ========= ↑将生成的配置粘贴这以上↑ ======== |
Install Deno, see https://deno.land/manual/getting_started/installation
Run ./sfz2sf.sh with the path of the SingleFileZ page as first parameter
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
| // Variables used by Scriptable. | |
| // These must be at the very top of the file. Do not edit. | |
| // icon-color: red; icon-glyph: terminal; | |
| // SubCounter.js for Scriptable: https://github.com/amirsaam/SubCounter-for-Scriptable | |
| // Change NULL to your prefered Terminal username (only lowercase) you geek! | |
| const user = "NULL" | |
| // Change NULL to your usernames |