Skip to content

Instantly share code, notes, and snippets.

@Beherith
Beherith / CUS_GL4.lua
Last active March 10, 2022 15:05 — forked from lhog/CUS_GL4.lua
so incremental works
function widget:GetInfo()
return {
name = "CUS GL4",
author = "ivand",
layer = 0,
enabled = true,
}
end
-- Beheriths notes
function widget:GetInfo()
return {
name = "Unitshapes Rendering",
version = "v0.2",
desc = "Unitshapes Rendering",
author = "ivand",
date = "2020",
license = "GPL",
layer = 0,
enabled = false,
@Beherith
Beherith / ParseFastQ.py
Created July 18, 2019 08:39 — forked from xguse/ParseFastQ.py
Simple Python FastQ Parser class
class ParseFastQ(object):
"""Returns a read-by-read fastQ parser analogous to file.readline()"""
def __init__(self,filePath,headerSymbols=['@','+']):
"""Returns a read-by-read fastQ parser analogous to file.readline().
Exmpl: parser.next()
-OR-
Its an iterator so you can do:
for rec in parser:
... do something with rec ...