Skip to content

Instantly share code, notes, and snippets.

View Codingale's full-sized avatar

Codingale Codingale

  • 10:08 (UTC -04:00)
View GitHub Profile
@Codingale
Codingale / cl_surfaceGetURL.lua
Last active October 15, 2019 15:47 — forked from mattkrins/cl_surfaceGetURL.lua
This is a simple Garry's Mod helper function to hot-load images from a web URL for use in your rendering operations.
local WebMaterials = {}
function surface.GetURL(url, w, h, time)
if not url or not w or not h then return Material("error") end
if WebMaterials[url] then return WebMaterials[url] end
local WebPanel = vgui.Create( "HTML" )
WebPanel:SetAlpha( 0 )
WebPanel:SetSize( tonumber(w), tonumber(h) )
WebPanel:OpenURL( url )
WebPanel.Paint = function(self)
if not WebMaterials[url] and self:GetHTMLMaterial() then

Keybase proof

I hereby claim:

  • I am codingale on github.
  • I am codingale (https://keybase.io/codingale) on keybase.
  • I have a public key ASAfNntf70jfoD4pCkUf9LowuaMbO_G5Py-v6kQjxKWhCAo

To claim this, I am signing this object:

@Codingale
Codingale / misc.vpk.txt
Created November 24, 2018 04:54
A list of All TF2 Models as of 23rd of November, 2018. Some models may be missing comment if so.
models\ambulance.mdl
models\empty.mdl
models\bots\headless_hatman.mdl
models\bots\headless_hatman_animations.mdl
models\bots\boss_bot\anim_tank.mdl
models\bots\boss_bot\bomb_mechanism.mdl
models\bots\boss_bot\boss_tank.mdl
models\bots\boss_bot\boss_tank_damage1.mdl
models\bots\boss_bot\boss_tank_damage2.mdl
models\bots\boss_bot\boss_tank_damage3.mdl

Keybase proof

I hereby claim:

  • I am codingale on github.
  • I am codingale (https://keybase.io/codingale) on keybase.
  • I have a public key ASDq0lYIKdvTI7MoYziVJpvop5uN2muq--VeK0NbAi7lIAo

To claim this, I am signing this object: