Skip to content

Instantly share code, notes, and snippets.

@ehwei
ehwei / _general.md
Last active October 8, 2021 03:48
wow macros

Check quest completion

/script print(IsQuestFlaggedCompleted(1952))

Item links in trade chat spam

/run SendChatMessage(format("WTS %s (226) 725k ",select(2,GetItemInfo("item:183010:0:0:0:0:0:0:0:0:0:0:0:4:7187:6652:1498:6646"))),CHANNEL,nil,GetChannelName("Trade - City"))

javascript:(function(){ function getJavaScript(url, success) { var script = document.createElement('script'); script.src = url; var head = document.getElementsByTagName('head')[0], done = false; script.onload = script.onreadystatechange = function(){ if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { done = true; success();

@ehwei
ehwei / README.md
Created March 8, 2021 04:27 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@ehwei
ehwei / PDFCreator_EmailAllResponses.js
Created March 11, 2021 00:21
Google Apps Script to create a PDF from each of the rows in a Google Sheet
/*
PDF Creator - Email all responses
=================================
When you click "Create PDF > Create a PDF for each row" this script
constructs a PDF for each row in the attached GSheet. The value in the
"File Name" column is used to name the file and - if there is a
value - it is emailed to the recipient in the "Email" column.
@ehwei
ehwei / tbcc-hunter.md
Last active October 8, 2021 03:44
TBCC Hunter Macros

Quick dismiss pet

/use [nopet] Call Pet
/cast [pet]Steam Tonk Controller
/cancelaura Steam tonk Controller
/use [nopet] Call Pet

Pet attack totems