Skip to content

Instantly share code, notes, and snippets.

@sanpingz
sanpingz / README-Template.md
Created September 17, 2019 09:06 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@sanpingz
sanpingz / buildsqlite.sh
Last active December 1, 2016 09:32 — forked from Wevah/buildsqlite.txt
Build SQLite dylib
clang -dynamiclib -Os -Wl,-install_name,@rpath/libsqlite3.dylib -mmacosx-version-min=10.10 -o libsqlite3.dylib sqlite3.c
#解决安装Pygments后出现Liquid error: bad file descriptor的问题
diff --git a/lib/albino.rb b/lib/albino.rb
index 387c8e9..b77d55e 100644
--- a/lib/albino.rb
+++ b/lib/albino.rb
@@ -1,4 +1,5 @@
require 'posix-spawn'
+require 'rbconfig'
##