Skip to content

Instantly share code, notes, and snippets.

View i2000s's full-sized avatar

Xiaodong Qi i2000s

View GitHub Profile
@i2000s
i2000s / jekyll-tikz.rb
Created November 4, 2017 09:12 — forked from AlexBobkov/jekyll-tikz.rb
Jekyll-tikz is a Jekyll plugin which helps you use Tikz in you Jekyll site.
# Authored my Maxfan http://github.com/Maxfan-zone http://maxfan.org
# This is used to convert tikz code into svg file and load in you jekyll site
#
# Install:
#
# 1. Copy this file in your _plugins/ directory. You can customize it, of course.
# 2. Make sure texlive and pdf2svg are installed on your computer.
# 3. Set path to pdf2svg in _config.yml in "pdf2svg" variable
#
# Input:
@i2000s
i2000s / feeding-mysql-database-with-bibtexbrowser.php
Last active October 9, 2015 08:21 — forked from monperrus/feeding-mysql-database-with-bibtexbrowser.php
Feeds a database with the content of a bibtex file parsed with bibtexbrowser
<?php
/* Feeds a database with the content of a bibtex file parsed with bibtexbrowser
* See: http://www.monperrus.net/martin/feeding-mysql-database-with-bibtexbrowser
* Author: Martin Monperrus, Xiaodong Qi
* Last Modification Date: Oct 2015
* Creation Date: Feb 2012
*/
// if exists, should contain define('DB_PASSWORD', 'dssizyrekzbqsf');, etc.
@include('conf.local.php');