Skip to content

Instantly share code, notes, and snippets.

View ambethia's full-sized avatar
🐼
PANDAS!

Jason L Perry ambethia

🐼
PANDAS!
View GitHub Profile
@usirin
usirin / tsm-battlepets.txt
Created October 10, 2018 11:02
TSM4 Battle pets with operations including BfA
^1^T^Soperations^T^SMailing^T^S#Default^T^Srestock^b^SmaxQty^N10^SkeepQty^N0^Starget^S^SrestockSources^T^Sguild^b^Sbank^b^t^SmaxQtyEnabled^b^t^t^SAuctioning^T^SBattle~`Pets^T^SaboveMax^SmaxPrice^SnormalPrice^Smax(250%~`avgbuy/.95,~`ifgt(DBRegionMarketAvg,~`2500g,~`min(100%~`DBMarket,~`100%~`DBRegionMarketAvg),~`min(85%~`DBMarket,~`70%~`DBRegionMarketAvg)))^Sduration^N24^SmatchStackSize^b^SkeepQuantity^N0^SpostCap^N1^SbidPercent^N1^SstackSizeIsCap^b^SmaxPrice^Smax(500%~`avgbuy/.95,~`ifgt(DBRegionMarketAvg,~`2500g,~`max(200%~`DBMarket,~`200%~`DBRegionMarketAvg),~`max(125%~`DBMarket,~`125%~`DBRegionMarketAvg)))^SignoreLowDuration^N0^SstackSize^N1^SkeepPosted^N0^Sundercut^S1c^SmaxExpires^N0^SpriceReset^Snone^ScancelRepostThreshold^S1g^ScancelRepost^B^ScancelUndercut^B^SminPrice^Sfirst(105%~`avgbuy/.95,~`ifgt(DBRegionMarketAvg,~`2500g,~`min(80%~`DBMarket,~`60%~`DBRegionMarketAvg),~`min(70%~`DBMarket,~`50%~`DBRegionMarketAvg)))^SkeepQtySources^T^t^Sblacklist^S^t^SVendor~`Items~`Singles~`x~`5^T^SaboveMax^SmaxPrice^S
@chdenat
chdenat / FA2SL.js
Last active May 25, 2024 13:15
JavaScript Class to help you to use Font Awesome Icons (6.5+) into Shoelace (2.0+)
import {findIconDefinition, icon, library} from '@fortawesome/fontawesome-svg-core'
import {registerIconLibrary} from '@shoelace-style/shoelace'
/**
* This class is used to insert font awesome icons (version 6.5 and higher) into Shoelace web components.
*
* Font Awesome : https://fontawesome.com
* Shoelace : https://shoelace.style
*
* Usage: