Skip to content

Instantly share code, notes, and snippets.

@zhaozg
zhaozg / lpegxml.lua
Last active August 29, 2015 14:12 — forked from aperezdc/lpegxml.lua
--
-- LPeg-based XML parser.
--
-- * Grammar term names are the same as in the XML 1.1
-- specification: http://www.w3.org/TR/xml11/
-- * Action functions are missing.
--
-- Copyright (C) 2012 Adrian Perez <aperez@igalia.com>
-- Distribute under terms of the MIT license.
--
@zhaozg
zhaozg / openssl-build.sh
Created August 15, 2017 13:34 — forked from foozmeat/openssl-build.sh
A shell script to build openssl for iOS and Mac. It currently builds: Mac -> i386 & x86_64 // iOS -> armv7, arm64 // iOS Simulator -> i386 & x86_64.
#!/bin/bash
# This script builds the iOS and Mac openSSL libraries
# Download openssl http://www.openssl.org/source/ and place the tarball next to this script
# Credits:
# https://github.com/st3fan/ios-openssl
# https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh
@zhaozg
zhaozg / README.md
Last active September 30, 2017 02:15 — forked from hofmannsven/README.md
My simply Git Cheatsheet