Skip to content

Instantly share code, notes, and snippets.

@ibiris
ibiris / pom.xml
Created March 6, 2019 08:15
jackson code dependency
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.9.7</version>
</dependency>
### Keybase proof
I hereby claim:
* I am ibiris on github.
* I am ibiris (https://keybase.io/ibiris) on keybase.
* I have a public key ASBeZvfYv81O0ndlMXg3myq7jBIKU9tnxSJeG4nPkCokfQo
To claim this, I am signing this object:
@ibiris
ibiris / coord_polar_test.R
Created January 30, 2017 22:01
coord_polar(): moving y axis to the right does not move the tickmarks and tick values (https://github.com/tidyverse/ggplot2/issues/2005)
reprex::reprex({
# Really simple dataset
heights <- c(100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200, 210, 220, 230, 240, 250)
weights <- c(50.1, 55.1, 60.1, 65.1, 70.1, 75.1, 80.1, 85.1, 90.1, 95.1, 100.1,105.1, 110.1, 115.1, 120.1, 125.1)
# put it in a data frame
df <- data.frame(heights = heights, weights = weights)
# Prepare a basic line plot
package main
import (
"fmt"
"sort"
"time"
"encoding/json"
)
// FloorDate returns the floor of a date based on the unit given
@ibiris
ibiris / 0_reuse_code.js
Created February 13, 2016 23:30
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console