View scientific-twocolumn-tables.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Pandoc filter using panflute: scientific 2column mode fixes | |
This filter does the following: | |
1) fixes longtables -> tabular | |
It's intended use is for scientific papers that require 2 columns in the template layotu. | |
""" | |
from panflute import * |
View acm-pandoc-conf.tex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[sigconf,anonymous=$anonymous$]{acmart} | |
\usepackage{booktabs} | |
\usepackage{caption} % http://mirror.easyname.at/ctan/macros/latex/contrib/caption/caption-eng.pdf | |
\usepackage{balance} % balancing bibstyles as per request in accepted submission | |
\usepackage{graphicx} | |
% We will generate all images so they have a width \maxwidth. This means | |
% that they will get their normal width if they fit onto the page, but | |
% are scaled down if they would overflow the margins. |
View evernoter.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from xml.etree import ElementTree as ET | |
from collections import OrderedDict | |
from appscript import * | |
import base64 | |
import sys | |
import shutil | |
import os | |
class EvernoteProcessor: |
View directives.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
angular.module('uploadComponentModule', []) | |
.directive('uploadComponent', ['Alert', function(Alert) { | |
return { | |
templateUrl: 'partials/component/uploadComponent.html', | |
restrict: 'A', | |
link: function(scope, element, attrs) { | |
element.closest("form") | |
.attr('enctype', 'multipart/form-data') |
View gist:3870664
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export CLICOLOR=1 | |
export LSCOLORS=ExFxCxDxBxegedabagacad | |
alias l="ls -la" | |
export SBT_OPTS="-XX:MaxPermSize=256m" | |
export BASE_PATH=$PATH | |
function useplay2 { | |
useplay "2.0.4" | |
} |
View CollectionUtil.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CollectionUtil { | |
public static interface EnkelvoudigeTeller<TellerType> { | |
boolean magMeegeteldWorden(TellerType object); | |
} | |
public static interface MeervoudigeTeller<TellerType> { | |
int geefAantalMeegeteld(TellerType object); | |
} |