Install Deno, see https://deno.land/manual/getting_started/installation
Run ./sfz2sf.sh
with the path of the SingleFileZ page as first parameter
#!/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') |
// 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
// 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 |
Updates for both 1.18.2 and newer versions can be found at https://minecraft.wiki/w/Tutorial:Custom_structures
This guide will showcase how to create a data pack that adds a custom structure to the world. There is also a data pack download of this complete example.
Always leave the world and rejoin to apply the new changes!
tell application "Safari" | |
repeat with tabItem in tabs of window 1 | |
set link to URL of tabItem | |
tell application id "cc.anybox.Anybox" | |
save link | |
end tell | |
end repeat | |
end tell |
#!/usr/bin/env sh | |
# Implements: OSC 8 <URL> ST <Link-text> OSC 8 ST | |
# Prints a terminal-clickable hyperlink | |
# See: https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda | |
# | |
# @Params | |
# $1: The hyperlink URL | |
# $2: The optional hyperlink text (defaults to URL) | |
# |
/* | |
* HTMLGradient | |
* | |
* HTMLGradient(gradient: string): Promis<gradient> | |
* | |
* example | |
* ------------ | |
* const widget = new ListWidget() | |
* widget.backgroundGradient = await HTMLGradient("to left, red, green 25%, blue-yellow") | |
* widget.presentSmall() |
# Apple Script by chris1111 | |
# Copyright (c) 2021 chris1111 All rights reserved. | |
set Term to choose from list {"Pro", "Homebrew", "Basic", "Grass", "Man Page", "Novel", "Ocean", "Red Sands", "Silver Aerogel", "Solid Colors"} with title "Setup Terminal Profiles" with prompt "Which profiles do you want to uses?" default items "Pro" OK button name {"Profiles"} cancel button name {"Cancel"} | |
tell application "Terminal" | |
activate | |
end tell | |
do shell script "killall -c Terminal" |