Quick'n'dirty Jekyll plugin for sorted cycle.
This fork fixes two issues:
- problems when specifiying sort fields like
sort_by:'weight'
(with ' or " characters) - problems when a collection entry does not have the specified sort field
### generate questionnaire data | |
library(triangle) | |
set.seed(0) | |
q1_d1 <- round(rtriangle(1000, 1, 7, 5)) | |
q1_d2 <- round(rtriangle(1000, 1, 7, 6)) | |
q1_d3 <- round(rtriangle(1000, 1, 7, 2)) |
""" | |
Shows how to do a cross join (i.e. cartesian product) between two pandas DataFrames using an example on | |
calculating the distances between origin and destination cities. | |
Tested with pandas 0.17.1 and 0.18 on Python 3.4 and Python 3.5 | |
Best run this with Spyder (see https://github.com/spyder-ide/spyder) | |
Author: Markus Konrad <[email protected]> | |
April 2016 |
This is a simple liquid tag that helps to easily embed images, videos or slides from OEmbed enabled providers. It uses Magnus Holm's great oembed gem which connects to the OEmbed endpoint of the link's provider and retrieves the HTML code to embed the content properly (i.e. an in-place YouTube player, Image tag for Flickr, in-place slideshare viewer etc.). By default it supports the following OEmbed providers (but can fallback to Embed.ly or OoEmbed for other providers):