Skip to content

Instantly share code, notes, and snippets.

View jkva's full-sized avatar

Job van Achterberg jkva

  • 3ode
  • The Netherlands
View GitHub Profile
epmd 2023 rabbitmq cwd DIR 8,1 4096 2 /
epmd 2023 rabbitmq rtd DIR 8,1 4096 2 /
epmd 2023 rabbitmq txt REG 8,1 26968 30735131 /usr/lib/erlang/erts-5.7.4/bin/epmd
epmd 2023 rabbitmq mem REG 8,1 1638120 5650814 /lib/x86_64-linux-gnu/libc-2.13.so
epmd 2023 rabbitmq mem REG 8,1 543104 5650851 /lib/x86_64-linux-gnu/libm-2.13.so
epmd 2023 rabbitmq mem REG 8,1 14696 5650824 /lib/x86_64-linux-gnu/libdl-2.13.so
epmd 2023 rabbitmq mem REG 8,1 10640 5650892 /lib/x86_64-linux-gnu/libutil-2.13.so
epmd 2023 rabbitmq mem REG 8,1 141088 5650801 /lib/x86_64-linux-gnu/ld-2.13.so
epmd 2023 rabbitmq 0r CHR 1,3 0t0 6146 /dev/null
epmd 2023 rabbitmq 1w CHR
Activating RabbitMQ plugins ...
6 plugins activated:
* amqp_client-2.6.1
* mochiweb-1.3-rmq2.6.1-git9a53dbd
* rabbitmq_management-2.6.1
* rabbitmq_management_agent-2.6.1
* rabbitmq_mochiweb-2.6.1
* webmachine-1.7.0-rmq2.6.1-hg0c4b60a
@jkva
jkva / gist:1434930
Created December 5, 2011 19:35
es query
curl -XGET 'http://127.0.0.1:9200/brandweer/video/_search?pretty=1' -d '
{
"sort" : [
{
"published" : "desc"
}
],
"query" : {
"text" : {
"status" : "active"
@jkva
jkva / gist:1434936
Created December 5, 2011 19:36
es quey response
# [Mon Dec 5 20:34:37 2011] Response:
# {
# "hits" : {
# "hits" : [
# {
# "_source" : {
# "owner" : "Bi-duZ1tTTyScoj1TF6MIA",
# "video_type" : "vimeo",
# "status" : "active",
# "created" : 1323107088,
curl -XGET 'http://127.0.0.1:9200/brandweer/video/_mapping?pretty=1'
# [Mon Dec 5 20:37:38 2011] Response:
# {
# "video" : {
# "properties" : {
# "owner" : {
# "type" : "string"
# },
# "video_type" : {
@jkva
jkva / csun16.md
Last active April 6, 2016 12:54
A light-hearted description of my CSUN 2016 attendance

CSUN 2016 was fun. A lot of fun.

Mostly because of the people I got to hang out with for a week. Thinking about it, I can't really come up with anything I didn't like. Which is good.

What I took away from CSUN '16:

  • Getting a local AT&T sim card is really useful to be able to SMS, call and tweet. It makes synchronising get-togethers a breeze.
  • #a11y people like to party.
  • Sign language karaoke is a thing. See above.
  • Intro, Job
  • Job van Achterberg, A space adventure for everyone
  • Frank Schaap, selling a11y
  • Jake Abma, Menabling
  • Wilco Fiers, Unit Testing & a11y
  • Michiel Bijl, A picture is worth more than 140 characters
  • Mallory van Achterberg, DictationBridge
  • Eva Westerhoff, Conference a11y
  • Hans Grimm, misschien??
  • Outro, Michiel

CSUN '17 Pattern Language Talk Abstract

Current considerations

  • doesn't touch a11y enough
  • doesn't get into practical information fast enough

Speaker introduction

2 min. Self-explanatory.

{
"status": {
"success": true
},
"statistics": {
"pagetitle": "ATV, drone, elbil, elsykkel, rc helikopter, ATV, robot, elatv",
"pageurl": "http://www.arngren.net",
"time": "8.71",
"allitemcount": 2311,
"totalelements": 13373,

Add this as a bookmark to get a small span fixed to the top-right of the viewport. I use this to find breakpoints in designs, comments welcome.

javascript:((w, d) => {
const el=d.createElement('span'),calc=()=>{const a=w.getComputedStyle(d.body).getPropertyValue('font-size').match(/(\d+)/)[1],b=parseInt(w.innerHeight/a)+'em',c=parseInt(w.innerWidth/a)+'em';el.textContent=c+' '+b};el.style.cssText='position: fixed; right: 0; top: 0; background-color: #000; color: #fff; padding: .2em; z-index:9001',d.body.appendChild(el),w.addEventListener('resize',calc),calc();
})(window, document);