This file contains 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
-- Aware turtle module that tracks location and provides movement methods | |
local Aware = {} | |
---Creates a new Aware turtle instance with location tracking and movement capabilities | |
---@return table instance A new turtle instance with the following methods: | |
--- | |
--- Movement Methods: | |
---@field forward fun(distance?: number, canDig?: boolean): boolean Move forward by specified distance | |
---@field back fun(distance?: number, canDig?: boolean): boolean Move backward by specified distance | |
---@field up fun(distance?: number, canDig?: boolean): boolean Move up by specified distance |
This file contains 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
#!/bin/bash | |
# Passwordless Login with Merge Basket! | |
# https://developer.salesforce.com/docs/commerce/commerce-api/references?meta=shopper-login:authorizePasswordlessCustomer | |
# Client needs additional scope `sfcc.pwdless_login`. | |
set -euo pipefail | |
CODE='kv7kzm78' | |
ORG='f_ecom_zzrf_001' | |
CLIENT='d125886c-c45a-49f5-acf5-08e48617b66b' | |
SECRET= |