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
// https://github.com/s-ludwig/taggedalgebraic |
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
module dietbench; | |
import core.vararg; | |
import std.algorithm; | |
import std.ascii : isAlpha; | |
import std.array; | |
import std.conv; | |
import std.format; | |
import std.range; | |
import std.string; |
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
// http://vibed.org/api/vibe.db.redis.idioms/RedisStripped |
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
// https://github.com/s-ludwig/taggedalgebraic |
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
sdlang.Tag serializeSDL(T)(T value) | |
{ | |
import vibe.data.serialization; | |
return serialize!SDLSerializer(value); | |
} | |
T deserializeSDL(T)(sdlang.Tag root) | |
{ | |
return deserialize!(SDLSerializer, T)(root); | |
} |
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 PipedProcess { | |
import stdfilestream; | |
private { | |
ProcessPipes m_pipes; | |
StdFileStream m_stdout; | |
StdFileStream m_stdin; | |
Thread m_waitThread; | |
SysTime m_startTime; | |
SysTime m_endTime; |
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
{ | |
"name": "myapp", | |
"dependencies": { | |
"mylib": "~master" | |
}, | |
"subConfigurations": { | |
"mylib": "import" | |
} | |
} |
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
// NOTE: This class is now part of vibe.d, see http://vibed.org/api/vibe.stream.stdio/StdFileStream |