Skip to content

Instantly share code, notes, and snippets.

View test.swift
for item in res.items {
try self.queue.dispatch(RepoParseJob.self, Repo(url: item.git_url), maxRetryCount: 3).wait()
}
View gist:794e8882f7036669e72294195bdb7028
return try context.application.eventLoopGroup.future(res.items)
.flatMapEach(on: context.application.eventLoopGroup.next()) { item in
return self.queue.dispatch(RepoParseJob.self, Repo(url: item.git_url), maxRetryCount: 3)
}.wait()
-------------
[3/3] Build complete!
[ WARNING ] The operation couldn’t be completed. (RediStack.RedisConnectionPoolError error 1.)
ERROR: Cannot schedule tasks on an EventLoop that has already shut down. This will be upgraded to a forced crash in future SwiftNIO versions.
[ ERROR ] error while closing connection [error: alreadyClosed, rdstk_conn_id: 86ECAABD-89BB-4001-890D-DC527EE785D3, rdstk_conpool_id: 6A4A4567-E47A-4C84-B5DA-99310C19786B]
View gist:f28d7ba85126ef563e0f24e1cd7491ce
https://forum.xda-developers.com/amazon-fire/orig-development/fire-7-2019-mustang-unbrick-downgrade-t3944365
https://forum.xda-developers.com/hd8-hd10/orig-development/rom-lineage-17-1-t4134829
View history.txt
/Desktop $ mkdir test
~/Desktop $ cd test/
~/D/test $ nix-mate init
Template project created!
direnv: error /Users/dawehner/Desktop/test/.envrc is blocked. Run `direnv allow` to approve its content
~/D/test $ direnv allow
direnv: loading ~/Desktop/test/.envrc
./.envrc:1: watchFile: command not found
View keybase.md

Keybase proof

I hereby claim:

  • I am dawehner on github.
  • I am dawehner (https://keybase.io/dawehner) on keybase.
  • I have a public key whose fingerprint is CF0D 250A 071F 0184 FD20 98B9 603F 3793 67C7 1E83

To claim this, I am signing this object:

View gist:c59a19c81a442a2c1fddfeb5064e5732
diff --git a/package.json b/package.json
index 1ae5f33..2c75355 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"react-redux": "^5.0.7",
"react-redux-loading-bar": "^3.1.2",
"react-router-dom": "^4.2.2",
+ "react-router-redux": "^5.0.0-alpha.9",
"redux": "^3.7.2",
View gist:f57f6c4a3160deee8d6bee5390bc07ac
diff --git a/package.json b/package.json
index 1ae5f33..cd9381a 100644
--- a/package.json
+++ b/package.json
@@ -13,6 +13,7 @@
"react-redux": "^5.0.7",
"react-redux-loading-bar": "^3.1.2",
"react-router-dom": "^4.2.2",
+ "react-router-redux": "^4.0.8",
"redux": "^3.7.2",
View gist:3478e542cc9335dbea8b0c896c011c47
######
# Base
#####
FROM debian:jessie
ENV DRUPALCI TRUE
# Install deps + add Chrome Stable + purge all the things
RUN apt-get update && apt-get install -y \
apt-transport-https \
@dawehner
dawehner / .babelrc
Last active Aug 29, 2017
Callback vs promise vs async await
View .babelrc
{
"presets": ["env"]
}
View gist:4f559c36d106e53b5dd138f7edbecbb0
{% block title %}My title{% endblock %}
{% endblock %}
Other kittens
----------
{% extends "base.html" %}
{% block title%} My other title {% endblock %}