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
small: | |
provider: aws-frankfurt | |
image: ami-m1am1 | |
size: t2.small | |
ssh_username: root | |
script: bootstrap-salt | |
script_args: -F -D -L -A saltmaster.my.domain -i | |
tag: {'Environment': 'production', 'Role': 'generic'} | |
sync_after_install: all | |
block_device_mappings: |
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
import std.stdio; | |
import vibe.http.client; | |
import vibe.stream.operations : readAllUTF8; | |
import vibe.http.common : HTTPMethod; | |
import vibe.core.concurrency; | |
import vibe.core.core; | |
import std.datetime; | |
shared static Task dbTask; | |
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
require "json" | |
File.each_line("/dev/stdin") do |line| | |
pull = JSON::PullParser.new(line) | |
pull.on_key!("meta") do | |
pull.on_key!("timestamp") do | |
puts pull.read_int | |
end | |
end | |
end |
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
import std.stdio; | |
//import std.format; | |
import std.container.rbtree : RedBlackTree; | |
struct MyStruct | |
{ | |
long id; | |
alias id this; |
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
import vibe.d; | |
import std.format : format; | |
import core.atomic : atomicOp; | |
import std.stdio; | |
shared int serial; | |
shared shared(Log)*[int] logstore; | |
shared struct Log |
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 x; | |
import vibe.d; | |
import std.format : format; | |
import core.atomic : atomicOp; | |
import std.stdio; | |
import routes; | |
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
Process: bug-shared [24451] | |
Path: /Users/USER/*/bug-shared | |
Identifier: bug-shared | |
Version: 0 | |
Code Type: X86-64 (Native) | |
Parent Process: dub [24431] | |
Responsible: Terminal [498] | |
User ID: 501 | |
Date/Time: 2015-04-27 17:27:37.344 +0200 |
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
import std.stdio; | |
import std.container.dlist; | |
void main() | |
{ | |
auto dl = DList!string(); | |
dl.insertBack("eins"); | |
dl.insertBack("zwei"); |
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
video_driver = "gl" | |
audio_driver = "pulse" | |
phoenix_last_rom = "/home/infoscreen/roms/Bust-A-Move '99.z64" | |
input_max_users = "16" | |
input_axis_threshold = "0.530000" | |
video_gpu_record = "false" | |
input_remap_binds_enable = "true" | |
netplay_client_swap_input = "true" | |
input_descriptor_label_show = "true" | |
autoconfig_descriptor_label_show = "true" |
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
==11723== Memcheck, a memory error detector | |
==11723== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. | |
==11723== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info | |
==11723== Command: ./yadmp | |
==11723== Parent PID: 587 | |
==11723== | |
--11723-- | |
--11723-- Valgrind options: | |
--11723-- --leak-check=full | |
--11723-- -v |