Skip to content

Instantly share code, notes, and snippets.

View baryon's full-sized avatar
💭
Founder of ChainBow

LI Long baryon

💭
Founder of ChainBow
View GitHub Profile
@baryon
baryon / nginx-dev-ssl.md
Last active March 11, 2022 08:45 — forked from LeZuse/nginx-dev-ssl.sh
配合nginx在本地开发https后端服务器

在开发后端服务时, APP中已经写好了服务器地址, 如何在本地开发机器调试呢? 首先,需要设置本地机器的hosts。 最方便的工具是gas masks https://github.com/2ndalpha/gasmask

添加类似如下代码

127.0.0.1		dev.example.com

生成本地证书 copy default OpenSSL config

@baryon
baryon / gist:11246286
Last active August 29, 2015 14:00 — forked from adamgit/gist:3705459
##########################################
#
# c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4
#
# Version 2.7
#
# Latest Change:
# - Supports iPhone 5 / iPod Touch 5 (uses Apple's workaround to lipo bug)
#
# Purpose: