Skip to content

Instantly share code, notes, and snippets.

View Gateswong's full-sized avatar

Gates_ice Gateswong

View GitHub Profile
@Gateswong
Gateswong / UI_2024v2.txt
Last active July 24, 2024 05:48
魔兽世界的插件和界面配置字符串
1 39 0 0 0 0 2 MultiBar5 4.0 0.0 -1 ##$$%/&#'%)$+$,$ 0 1 0 0 2 MainMenuBar 4.0 0.0 -1 ##$$%/&#'%(#,$ 0 2 0 0 2 MultiBarBottomLeft 4.0 0.0 -1 ##$$%/&#'%(#,$ 0 3 0 3 3 UIParent 2.0 -579.5 -1 ##$$%/&#'%(#,$ 0 4 0 0 2 MultiBarRight 4.0 0.0 -1 ##$$%/&#'%(#,$ 0 5 0 0 2 MultiBarLeft 4.0 0.0 -1 ##$$%/&#'%(#,$ 0 6 0 5 4 UIParent -2.0 -410.4 -1 ##$%%/&$'%(#,$ 0 7 0 6 8 MultiBar6 4.0 0.0 -1 ##$%%/&$'%(#,$ 0 10 0 8 2 PlayerFrame -18.0 -12.0 -1 ##$$&$'% 0 11 0 6 0 PetFrame 4.0 1.0 -1 ##$$&$'%,# 0 12 0 6 0 PlayerFrame 20.0 -12.0 -1 ##$$&$'% 1 -1 0 2 8 PlayerFrame -24.0 11.0 -1 #%$$%# 2 -1 1 2 2 UIParent 0.0 0.0 -1 ##$#%( 3 0 0 1 1 UIParent -281.0 -936.8 -1 $$3# 3 1 0 1 1 UIParent 278.0 -934.8 -1 %#3# 3 2 0 0 2 TargetFrame -31.5 -4.0 -1 %#&#3# 3 3 1 0 2 CompactRaidFrameManager 0.0 -7.0 -1 '$(#)#-#.#/#1$3# 3 4 1 0 2 CompactRaidFrameManager 0.0 -5.0 -1 ,#-#.#/#0#1#2( 3 5 0 2 2 UIParent -586.3 -643.8 -1 &$*$3# 3 6 0 2 2 UIParent -573.3 -826.8 -1 -#.#/#4& 3 7 0 6 0 StanceBar -4.0 -2.0 -1 3# 4 -1 0 4 4 UIParent 0.0 -325.2 -1 # 5
@Gateswong
Gateswong / InGameInfo.xml
Created April 23, 2020 19:44
GTNH - Added HP, Food and Exp
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<config>
<lines at="topleft">
<line>
<str>{pingicon}$6{username}$f </str>
<str>FPS: </str>
<op>
<str>gt</str>
<var>fps</var>
<num>60</num>
# ##############################
# Configs for EH Forwarder Bot
# ##############################
#
# Basic settings
# ----------------
#
# Master/Slave Channels
#
# Master channel:
@Gateswong
Gateswong / Fishing.vbs
Last active October 25, 2017 09:03
钓鱼脚本 2015年末版
LogStart "D:\keyLog\WOW_Fishing.log"
// Cursors (光标值,需要自己用按键精灵找,设置中需要打开“硬件指针”)
Dim csLure, csDefault
csLure = 1053591638
csDefault = 965986689
// Key Mapping (钓鱼放到热键上)
Dim kFish
kFish = "1"
10 20 40 30 50
@Gateswong
Gateswong / Reflection_Print_Member_Values.cs
Last active April 21, 2016 19:22
This is a code segment can be used in LinqPad 5
public class Student
{
public int ID { get; set; }
public string Name { get; set; }
public DateTime CreateDate { get; set; }
public XDocument XML { get; set;}
}
void Main()
@Gateswong
Gateswong / To-UTF8.ps1
Created September 1, 2015 04:56
Convert a file to utf8 encoding. Usage: To-UTF8.ps1 'encoding' 'infile' 'outfile'
[System.Text.Encoding]::GetEncoding($args[0]).GetString(
(type $args[1] -Encoding Byte)
) | Out-File $args[2] -Encoding utf8
---- Minecraft Crash Report ----
// Ouch. That hurt :(
Time: 6/13/15 5:50 AM
Description: Initializing game
java.lang.IllegalStateException: Splash thread
at cpw.mods.fml.client.SplashProgress.checkThreadState(SplashProgress.java:341)
at cpw.mods.fml.client.SplashProgress.finish(SplashProgress.java:394)
at cpw.mods.fml.client.FMLClientHandler.onInitializationComplete(FMLClientHandler.java:398)
@Gateswong
Gateswong / ec2-01-init_swift.sh
Last active August 29, 2015 14:07
CS553 Support Files
#!/bin/sh
# This script will init the swift on given machine.
# prepare directories we need
cd ~
mkdir -p ~/app
mkdir -p ~/build
mkdir -p ~/work
sudo mkdir /mnt/cs553-data
# README:
# Copy this file to /usr/lib/systemd/system/
# sudo systemctl daemon-reload
# systemctl enable ipython-notebook
# systemctl start ipython-notebook
# The WorkingDirectory and ipython-dir must exist
# If you don't want anything fancy, go to http://127.0.0.1:8888 to see your notebook
# wheneber you want it
[Unit]