Skip to content

Instantly share code, notes, and snippets.

View kot-behemoth's full-sized avatar

Greg Goltsov kot-behemoth

View GitHub Profile
@kot-behemoth
kot-behemoth / altair_app.py
Created March 24, 2020 17:18 — forked from germayneng/altair_app.py
Altair plot in Plotly Dash
# -*- coding: utf-8 -*-
import dash
import dash_core_components as dcc
import dash_html_components as html
from dash.dependencies import Input, Output
import pandas as pd
import sqlalchemy
import altair as alt
import io
from vega_datasets import data
@kot-behemoth
kot-behemoth / latex.template
Created December 10, 2012 21:14 — forked from bosmacs/latex.template
Simple Pandoc latex.template with comments
%!TEX TS-program = xelatex
\documentclass[12pt]{scrartcl}
% The declaration of the document class:
% The second line here, i.e.
% \documentclass[12pt]{scrartcl}
% is a standard LaTeX document class declaration:
% we say what kind of document we are making in curly brackets,
% and specify any options in square brackets.
@kot-behemoth
kot-behemoth / photos_tag.rb
Created August 18, 2012 13:35 — forked from sukima/photos_tag.rb
Jekyll Plugin for easy FancyBox usage
# Title: Photos tag for Jekyll
# Authors: Devin Weaver
# Description: Allows photos tag to place photos as thumbnails and open in fancybox. Uses a CDN if needed.
#
# ** This only covers the markup. Not the integration of FancyBox **
#
# To see an unabridged explination on integrating this with [FancyBox][1]
# Please read my [blog post about it][2].
#
# [1]: http://fancyapps.com/fancybox/