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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace AntminerMonitor | |
{ | |
public class STATUS | |
{ |
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
local function wait_png(matstr) | |
local html = vgui.Create("DHTML") | |
html:AddFunction("console", "memeify", function() | |
html.done = true | |
end) | |
local mat = Material(matstr) | |
local rw, rh = mat:GetInt "$realwidth", mat:GetInt "$realheight" | |
local f = file.Open("materials/"..matstr, "rb", "GAME") | |
local cont = f:Read(f:Size()) |