I hereby claim:
- I am cmsd2 on github.
- I am cmsd2 (https://keybase.io/cmsd2) on keybase.
- I have a public key ASDlWetzKwoqKXC5wYJMjoCO3xpLh2zfpoFkn4Vc4GZVjgo
To claim this, I am signing this object:
package com.example; | |
import software.amazon.awscdk.core.Construct; | |
import software.amazon.awscdk.core.Duration; | |
import software.amazon.awscdk.core.Stack; | |
import software.amazon.awscdk.core.StackProps; | |
import software.amazon.awscdk.services.iam.User; | |
import software.amazon.awscdk.services.iam.Role; | |
import software.amazon.awscdk.services.iam.RoleProps; | |
import software.amazon.awscdk.services.iam.ServicePrincipal; |
extern crate proc_macro; | |
use proc_macro::TokenStream; | |
use proc_macro2::{Ident, Span}; | |
use syn::{ItemType, LitStr}; | |
use quote::quote; | |
#[proc_macro_attribute] | |
pub fn hello(_attr: TokenStream, item: TokenStream) -> TokenStream { | |
let input = syn::parse_macro_input!(item as ItemType); |
@-moz-document url-prefix(https://www.reddit.com/r/rust/) { | |
code { | |
color: white!important; | |
background-color: black!important; | |
} | |
/************************* BEGIN POST TEXT */ | |
div.comment form p:last-of-type:after { | |
font-style: italic; |
I hereby claim:
To claim this, I am signing this object:
TRACE:mio::poll: registering with poller | |
TRACE:mio::poll: registering with poller | |
TRACE:mio::event_loop: event loop tick | |
INFO:zookeeper::io: Connecting to new server V4(172.x.x.x:2181) | |
INFO:zookeeper::io: Connected to V4(172.x.x.x:2181) | |
TRACE:mio::poll: registering with poller | |
TRACE:mio::event_loop: event loop tick | |
TRACE:zookeeper::io: notify Auth | |
TRACE:mio::timer: tick_to; now=0; tick=0 | |
TRACE:mio::timer: ticking; curr=Token(18446744073709551615) |
(gdb) bt | |
#0 0x00007f14bd7768f0 in oom::h8cb42d0549966493atb () | |
#1 0x00007f14bd65ba6c in zookeeper::raw_vec::RawVec<T>::with_capacity (cap=18446744073709551615) at ../src/liballoc/raw_vec.rs:95 | |
#2 0x00007f14bd65b9b0 in zookeeper::vec::Vec<T>::with_capacity (capacity=18446744073709551615) at ../src/libcollections/vec.rs:207 | |
#3 0x00007f14bd65fc90 in zookeeper::vec::from_elem<u8> (elem=0 '\000', n=18446744073709551615) at ../src/libcollections/vec.rs:991 | |
#4 0x00007f14bd68de03 in zookeeper::proto::R.BufferReader::read_buffer (self=0x7f14b9ffcc68) at src/proto.rs:62 | |
#5 0x00007f14bd69af58 in zookeeper::proto::GetDataResponse.ReadFrom::read_from<std::io::cursor::Cursor<collections::vec::Vec<u8>>> ( | |
reader=0x7f14b9ffcc68) at src/proto.rs:399 | |
#6 0x00007f14bd699d11 in zookeeper::zookeeper::ZooKeeper::request<zookeeper::proto::StringAndBoolRequest,zookeeper::proto::GetDataResponse> | |
(self=0x7f14ba026100, opcode=GetData, xid=18, req=..., watch=...) at src/zookeeper.rs:118 |
diff --git a/node_modules/requirejs/bin/r.js b/node_modules/requirejs/bin/r.js | |
index f2b8faa..9451e32 100644 | |
--- a/node_modules/requirejs/bin/r.js | |
+++ b/node_modules/requirejs/bin/r.js | |
@@ -1065,7 +1065,9 @@ var requirejs, require, define; | |
} | |
load = bind(this, function (value) { | |
- this.init([], function () { return value; }, null, { | |
+ var factory = function () { return value; }; |
define(["text","hbs"], function(text,hbs) { | |
"use strict"; | |
var buildMap = {}; | |
var module = { | |
load: function(name, parentRequire, load, config) { | |
parentRequire(["hbs!" + name], function(hbsTemplate) { | |
var rawText = hbsTemplate({}); | |
buildMap[name] = rawText; |
require 'thread' | |
class Counter | |
def initialize(start = nil) | |
@next = start || 0 | |
@mutex = Mutex.new | |
end | |
def next | |
n = nil |
class FixedWindowCacheRefreshPolicy | |
def initialize(window) | |
@window = window | |
end | |
def nearly_expired?(cache_entry) | |
now = Time.now | |
expires_at = cache_entry.expires_at | |
if expires_at and (now + @window) > expires_at |