Skip to content

Instantly share code, notes, and snippets.

@RMKD
RMKD / test_async_redisgraph.py
Created November 10, 2017 20:48
testing opencypher redisgraph with aioredis (python asyncio)
import asyncio
import aioredis
from redisgraph import Graph, Node, Edge
graph_name = "testgraph"
# define a list of edges
edges = [
('a', 'b', {"weight": 1}),
@RMKD
RMKD / install_for_macos.sh
Last active October 31, 2016 11:40
How to Install UtyMap on MacOs (tested on 10.11.6)
# get the repository
git clone https://github.com/reinterpretcat/utymap.git
cd utymap
# install the required dependencies (get from http://brew.sh if you don't already have it)
brew install cmake boost protobuf
# set up a clean build directory
mkdir code/build
cd core/build
@RMKD
RMKD / d3-radial-menu.js
Created October 24, 2016 02:56
d3 radial menu prototype
/*
requirements: d3, FontAwesome
usage example:
var radialMenuItems = [
{"label": "A", "action":function(){return alert("hello menu A")}, "faIcon":"share-alt"},
{"label": "B", "action":function(){return alert("hello menu B")}, "faIcon":"line-chart"},
{"label": "C", "action":function(){return alert("hello menu C")}, "faIcon":"credit-card"},
@RMKD
RMKD / steam_streaming_crashdump.txt
Created August 7, 2016 15:17
steam_streaming_crashdump.txt
Opening joystick XInput Controller
DispatchAsyncEvent backlog, failed to dispatch all this frame. Queue depth: 1897 (1899 input number was)
DispatchAsyncEvent backlog, failed to dispatch all this frame. Queue depth: 1941 (1943 input number was)
Warning, someone is using SetHTTPRequestRequiresVerifiedCertificate on Linux, where it doesn't work, and we won't actually verifySlow image load - ~/.local/share/Steam/tenfoot/resource/images/welcomeupdates/bigpicture.png (dimensions 1280x288, took 24 msec)
Slow image load - ~/.local/share/Steam/tenfoot/resource/images/systemmenu/capsule_glow.png (dimensions 1920x1080, took 35 msec)
Slow image load - ~/.local/share/Steam/tenfoot/resource/images/profile/activity_bg_wash.png (dimensions 1879x928, took 47 msec)
DispatchAsyncEvent backlog, failed to dispatch all this frame. Queue depth: 1316 (2005 input number was)
Slow image load - ~/.local/share/Steam/tenfoot/resource/images/profile/profile_bg_wash.png (dimensions 1879x928, took 71 msec)
Slow image load - ~/.local/share/