Skip to content

Instantly share code, notes, and snippets.

View fokot's full-sized avatar

František Kocun fokot

  • Bratislava, Slovakia
View GitHub Profile
@fokot
fokot / barchart.html
Created May 2, 2016 14:46
D3 barchart
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.bar {
fill: steelblue;
}
.x.axis path {
fill: none;
@fokot
fokot / JIRA2Git.user.js
Last active January 20, 2017 08:34
JIRA 2 git commit name - tampermonkey plugin
// ==UserScript==
// @name JIRA2Git
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://ceai-io.atlassian.net/browse/*
// @grant none
// ==/UserScript==
(function() {
.tooltip {
background: #eee;
box-shadow: 0 0 5px #999999;
color: #333;
display: none;
font-size: 12px;
left: 130px;
padding: 10px;
position: absolute;
text-align: center;
@fokot
fokot / Typeclasses.scala
Last active December 26, 2015 17:49
Expression and Json are typeclasses
package typeclasses
import json._
trait Expression[A] {
def value(expression: A): Int
}
case class Number(value: Int)