Skip to content

Instantly share code, notes, and snippets.

@adityam
adityam / publ-imp-ieee.mkvi
Created July 28, 2017 18:22
publ-imp-ieee.mkiv
%D \module
%D [ file=publ-imp-ieee,
%D version=2015.03.22,
%D title=APS bibliography style,
%D subtitle=Publications,
%D author=Alan Braslau and Hans Hagen,
%D date=\currentdate,
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is therefore copyrighted
\setupbodyfont[xits]
\setupmathematics[integral=nolimits]
\starttext
\startformula
\int_{-A}^{B} dx
\stopformula
\stoptext
@adityam
adityam / bestResponse.ipynb
Last active August 29, 2015 14:16
Best Response Dynamics
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# Contributor: rpj8 (Factory) <semidigerati@gmail.com>
pkgname=charm
pkgver=1.9.1
pkgrel=4
pkgdesc="Charm is a full-featured, console-based, cross-platfom blogging client for LiveJournal, Atom (Movable Type, Blogger), and MetaWeb (WordPress)."
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/ljcharm/"
license=('GPL')
depends=('python2')
optdepends=('python-feedparser: atom API posting')
@adityam
adityam / example.md
Created June 2, 2012 00:29
Run a preprocessor in Hakyll
title
Example file

This is an example file to show how preprocessing works. If you want to show source code in a document, you can directly typing it in. However, that means that we cannot compile the code to check if it is working. To test the code, we must include it in a separate file, and then include the file in the main text.

@adityam
adityam / t-irex.tex
Created February 22, 2012 19:02
Style of IREX 1000
\startmodule irex
%D Paper Size
\definepapersize[irexpaper][height=8in,width=6.25in]
\setuppapersize[irexpaper][irexpaper]
%D Layout
\setuplayout
@adityam
adityam / gist:1431606
Created December 4, 2011 23:15
HTML entities
cups ∪︀ cup
b.rhov 𝛠 not defined
loplus ⨭ not defined
notinvb ⋷ not defined
boxplus ⊞ boxplus
DoubleLongLeftRightArrow ⟺ Longleftrightarrow
szlig ß ssharp
xoplus ⨁ bigoplus
ensp   enspace
upharpoonleft ↿ upharpoonleft
@adityam
adityam / meta-imp-hooks.mkiv
Created November 19, 2011 20:10
ConTeXt module for drawing hooked lines
\unprotect
% Override default value in pack-fen.mkiv
\def\setinstalledframedimensions
{\edef\overlaywidth {\the\frameddimenwd\space}%
\edef\overlayheight{\the\dimexpr\frameddimenht+\frameddimendp\relax\space}%
\edef\overlaydepth {\the\frameddimendp\space}%
\edef\overlaycolor {\framedparameter\c!backgroundcolor}%
\edef\overlaylinecolor{\framedparameter\c!framecolor}%
\edef\overlaylinewidth{\the\ruledlinewidth}}