Skip to content

Instantly share code, notes, and snippets.


Daniel Jonsson djonsson

View GitHub Profile
djonsson /
Last active May 2, 2022
OS X installation instructions for Elasticsearch + Kibana + Marvel

What is this?

Following this guide will set up a local Elasticsearch with Kibana and Marvel using Homebrew and Homebrew Cask


If you already have Java installed on your system, skip steps Install Cask and Install Java

If you already have Java and Homebrew installed on your system, skip steps Prerequisites, start at Install Elasticsearch and Kibana after running $ brew update

Install Homebrew

  • $ ruby -e "$(curl -fsSL"
View autoCookieClicker
//One-liner to autoclick in cookieClicker
setInterval(function() {$("#bigCookie").click()},1);
djonsson / getCodeFromGithub
Created Sep 6, 2013
Get code from github repository
View getCodeFromGithub
var repository = '';
$.getJSON(repository, function(data) {
var code = data.content;
var codeArray = code.split("\n");
var output;
for (var i = 0; i < codeArray.length; i++) {
output += window.atob(codeArray[i]);
djonsson / darcula.css
Created Sep 5, 2013
Darcula theme for jsonview (google chrome plugin)
View darcula.css
body {
white-space: pre;
font-family: monospace;
background: #393939;
color: #b5c4d0;
.property {