Skip to content

Instantly share code, notes, and snippets.

Daniel Jonsson djonsson

Block or report user

Report or block djonsson

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@djonsson
djonsson / install_elasticsearch_osx.md
Last active Jul 10, 2019
OS X installation instructions for Elasticsearch + Kibana + Marvel
View install_elasticsearch_osx.md

What is this?

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

Prerequisites

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 https://raw.githubusercontent.com/Homebrew/install/master/install)"
View autoCookieClicker
//One-liner to autoclick in cookieClicker
setInterval(function() {$("#bigCookie").click()},1);
@djonsson
djonsson / getCodeFromGithub
Created Sep 6, 2013
Get code from github repository
View getCodeFromGithub
var repository = 'https://api.github.com/repos/fredr/silex-html5-boilerplate/contents/README?ref=master';
$.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
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 {
}
You can’t perform that action at this time.