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
-- self-contained script that draws an imgui window and shows "HP / MANA / currently casting spell / target Name" for team | |
-- use MQ2DanNet to query data | |
-- primary used on main toon for debugging purposes. | |
local mq = require("mq") | |
local log = require("knightlinc/Write") | |
require("ezmq") | |
-- needed at least once to get mqoverlay showing |
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
| reads tradeskills.ini and auto banks all stuff you should have | |
Sub Main | |
/echo tradeskill-autobank.mac started | |
/declare MaxInvSlots int outer 10 | |
| XXX TODO abort w error if bank wnd is not opened |
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
-- write current char info to a ini file for later consumption by another tool | |
-- | |
-- | |
-- raw stats: int str etc, hp mana | |
-- all item slots and content | |
-- all bags & bank content (so u can search inventories on resulting webpage) | |
-- TODO: can we record output from /keys to file? | |
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
# WIZ 1.5 pre-quest | |
[ ] Hail Talwyn Flamecaller in Lavastorms | |
eq.set_global("wiz_epic_pre","1",5,"F"); | |
[ ] Say "test of intelligence" | |
e.other:SummonItem(11197); -- Item: Old Parchment | |
eq.set_global("wiz_test_intel","1",5,"F"); -- Start Test of Intelligence |
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
# supress gitlab ssh banner | |
Host gitlab.com | |
LogLevel QUIET |
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
# powershell session init | |
# ~\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 | |
Remove-Item Alias:wget | |
Remove-Item Alias:curl | |
del alias:diff -Force # force remove because its read-only | |
function Prompt { | |
# make prompt yellow | |
$promptString = "" + $(Get-Location) + ">" |
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
$hostOS = Invoke-Expression "go env GOOS" | |
$hostARCH = Invoke-Expression "go env GOARCH" | |
$buildInfoDate = (Get-Date).ToString("yyyy-MM-dd_hh:mm") | |
# NOTE: don't use "arm64", since raspbian is 32-bit only, feb-2017 | |
$env:GOOS = "linux" | |
$env:GOARCH = "arm" | |
$env:GOARM = "7" |
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
class UniversalBrewedPython < Requirement | |
satisfy { archs_for_command("python").universal? } | |
def message; <<-EOS.undent | |
A build of GDB using a brewed Python was requested, but Python is not | |
a universal build. | |
GDB requires Python to be built as a universal binary or it will fail | |
if attempting to debug a 32-bit binary on a 64-bit host. | |
EOS |
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
package main | |
import ( | |
"io" | |
"log" | |
"net/http" | |
"os" | |
"time" | |
) |
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
# alias block from https://gist.github.com/martinlindhe/4c594db58b314d4c780b8fe614e73580 | |
[alias] | |
a = add | |
ad = add | |
adfd = add | |
addd = add | |
dd = add | |
tadd = add | |
afdd = add | |
affd = add |
NewerOlder