Skip to content

Instantly share code, notes, and snippets.

View i2000s's full-sized avatar

Xiaodong Qi i2000s

View GitHub Profile
@i2000s
i2000s / README.md
Last active February 8, 2018 18:15
genesis_public_key

README

This key is generated through the genesis project fork.

Please feel free to forward this recommendation who might be interested and refer my github ID: i2000s. If you do want to add your own genesis_public_key file on gist, please replace the first string of bits with your generated public key after staring the project page, and the last bit of string with my ID i2000s.

Thanks!

@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 / README.md
Last active January 15, 2022 03:29
Add an Export-to-Outlook button for The Events Calendar

This code snipet is based on the events-calendar-outlook-import-fix code. It is aiming at adding a button on the Wordpress Event page to let users export event to various calendars.

Code is licensed under the GPL 2.0 or greater license.

@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');