Skip to content

Instantly share code, notes, and snippets.

View carlosparadis's full-sized avatar

Carlos Paradis carlosparadis

View GitHub Profile
@carlosparadis
carlosparadis / LaTeX.sublime-build
Created December 25, 2019 03:54 — forked from evgenyneu/LaTeX.sublime-build
LaTeX build file for Sublime Text 3 for MacOS. Builds PDF (Command-B) and bibliography (Shift-Command-B).
{
"cmd": ["/Library/TeX/texbin/pdflatex","$file"],
"selector": "text.tex.latex",
"variants": [
{
"name": "Build Bibliography",
"cmd": ["/Library/TeX/texbin/bibtex","$file_base_name"],
}
]
}
@carlosparadis
carlosparadis / LaTeX.sublime-build
Created December 25, 2019 03:54 — forked from evgenyneu/LaTeX.sublime-build
LaTeX build file for Sublime Text 3 for MacOS. Builds PDF (Command-B) and bibliography (Shift-Command-B).
{
"cmd": ["/Library/TeX/texbin/pdflatex","$file"],
"selector": "text.tex.latex",
"variants": [
{
"name": "Build Bibliography",
"cmd": ["/Library/TeX/texbin/bibtex","$file_base_name"],
}
]
}
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
d3 = function() {
var d3 = {
version: "3.2.7"
};
if (!Date.now) Date.now = function() {
return +new Date();
};
var d3_document = document, d3_documentElement = d3_document.documentElement, d3_window = window;
try {
d3_document.createElement("div").style.setProperty("opacity", 0, "");
#! /usr/bin/env Rscript
## This file is part of Codeface. Codeface is free software: you can
## redistribute it and/or modify it under the terms of the GNU General Public
## License as published by the Free Software Foundation, version 2.
##
## This program is distributed in the hope that it will be useful, but WITHOUT
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
## FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
## details.
#remove namespace
#http://effbot.org/zone/element-namespaces.htm
def normalize(name):
if name[0] == "{":
uri, tag = name[1:].split("}")
return tag
else:
return name
#Find root node