The suffix _aNUMBER indicates the attack type (https://github.com/hashcat/hashcat/blob/0885c0ec6bcd4f2a3d1219acfd8525a9a23e466d/src/opencl.c#L36) 0: straight 1: combi 3: bf
if attack_exec != INSIDE_KERNEL: use suffixless file
| local rt1 = GetRenderTarget("TestRT1", 500, 500) | |
| local rt2 = GetRenderTarget("TestRT2", 500, 500) | |
| local rt_mat = Material("models/weapons/v_toolgun/screen") | |
| hook.Add("HUDPaint", "TestRTHook", function() | |
| render.PushRenderTarget(rt1) | |
| render.Clear(0, 0, 0, 255) | |
| cam.Start2D() |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> | |
| <style> | |
| body { | |
| background-color: rgb(218, 223, 225); | |
| color: black; | |
| font-family: 'Open Sans', sans-serif; | |
| font-size: 14px; |
| local module = {} | |
| worldview = module | |
| module.Requests = module.Requests or {} | |
| module.Rendering = false | |
| function module.Request(id, renderData) | |
| local t = module.Requests[id] | |
| if not t then t={} module.Requests[id] = t end | |
| -- Extremely small OOP library | |
| local function Class(name, parent) | |
| local t = {} | |
| local meta = {} | |
| meta.__call = function(_, ...) | |
| local inst = setmetatable({}, {__index = t}) | |
| if inst.initialize then inst:initialize(...) end | |
| return inst | |
| end |
| local N = 624 | |
| local M = 397 | |
| local MATRIX_A = 0x9908b0df | |
| local UPPER_MASK = 0x80000000 | |
| local LOWER_MASK = 0x7fffffff | |
| local band, bor, bxor, blshift, brshift = bit.band, bit.bor, bit.bxor, bit.lshift, bit.rshift | |
| -- initializes mt[N] with a seed | |
| local function init_genrand(o, s) |
The suffix _aNUMBER indicates the attack type (https://github.com/hashcat/hashcat/blob/0885c0ec6bcd4f2a3d1219acfd8525a9a23e466d/src/opencl.c#L36) 0: straight 1: combi 3: bf
if attack_exec != INSIDE_KERNEL: use suffixless file
| # Delay of 200ms per frame; remove transparent background and fill with white; loop | |
| convert -delay 20 -alpha remove -background white *.png -loop 0 navmesh_weights.gif |
| # Run REPL | |
| iex -S mix |
| function cofetch(url, headers) | |
| local co = coroutine.running() | |
| assert(co) | |
| -- ensure we wait at least one tick | |
| timer.Simple(0, function() | |
| http.Fetch(url, function(body, size, headers, code) | |
| coroutine.resume(co, body, size, headers, code) | |
| end, function(err) | |
| coroutine.resume(false, err) |
| class TabCountSync { | |
| constructor() { | |
| this.bc = new BroadcastChannel("tabcount-sync"); | |
| this.bc.postMessage("opened"); | |
| this.bc.onmessage = (ev) => this.onMessage(ev); | |
| this.count = 1; | |
| this.subscriptions = new Set(); | |
| } |