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
function widget:GetInfo() | |
return { | |
name = "CUS GL4", | |
author = "ivand", | |
layer = 0, | |
enabled = true, | |
} | |
end | |
-- Beheriths notes |
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
function widget:GetInfo() | |
return { | |
name = "Unitshapes Rendering", | |
version = "v0.2", | |
desc = "Unitshapes Rendering", | |
author = "ivand", | |
date = "2020", | |
license = "GPL", | |
layer = 0, | |
enabled = false, |
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
function widget:GetInfo() | |
return { | |
name = "MapLights", | |
desc = "Adds static lights to maps", | |
author = "Beherith", | |
date = "2020", | |
license = "GNU GPL, v2 or later", | |
layer = 5, | |
enabled = false, | |
} |
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
-------------------------------------------------------------------------------- | |
-------------------------------------------------------------------------------- | |
function widget:GetInfo() | |
return { | |
name = "Deferred rendering", | |
version = 3, | |
desc = "Collects and renders point and beam lights", | |
author = "beherith, aeonios", | |
date = "2015 Sept.", |
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
#include <DCC_Decoder.h> | |
# uses library and example from: https://github.com/MynaBay/DCC_Decoder/tree/master/examples/DCC_Monitor | |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
// | |
// Defines and structures | |
// | |
#define kDCC_INTERRUPT 3 //USES PIN 3 on a nano! |
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
#include "ESP8266WiFi.h" | |
#include "WiFiClient.h" | |
const int baudrate = 250000; | |
const int dccpin = 0; //D3 on wemos board | |
int olddcc = 0; | |
unsigned long t = 0; | |
unsigned long lastchangeus = 0; | |
byte ones[16384]; | |
byte zeros[16384]; |
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
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 ... |
NewerOlder