Skip to content

Instantly share code, notes, and snippets.

💭
coding...

faywong faywong

💭
coding...
Block or report user

Report or block faywong

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View how_to_build_aria2_on_osx.md

安装 libxml2 之类的...

mkdir build-release
cd build-release

brew install python
export PATH="/usr/local/opt/python/libexec/bin:$PATH"
pip install virtualenv
View jni_exception_handle.c
if ((*env)->ExceptionCheck(env)) {
LOGE("faywong step 0-001, exception occured!");
(*env)->ExceptionDescribe(env);
(*env)->ExceptionClear(env);
}
@faywong
faywong / index.js
Created Jul 19, 2017
replace all backslash with slash
View index.js
str.replace(/\\/g, '/');
@faywong
faywong / wxml2html_input.json
Last active Jan 2, 2018
微信小程序 wxml2html 的输出
View wxml2html_input.json
{"config":{"backgroundTextStyle":"light","navigationBarBackgroundColor":"#fff","navigationBarTitleText":"WeChat","navigationBarTextStyle":"black"},"project":{"appid":"wxd0ef619a89d9b761","appname":"mobileDevDaily","projectpath":"/Users/faywong/Downloads/wxapp_mobiledevdaily","projectid":"wxd0ef619a89d9b761_mobileDevDaily","app_head_img":"","app_nickname":"mobileDevDaily","is_admin":1,"isTourist":false,"urlCheck":false,"hash":685122098,"es6":true,"watcher":true,"editWebview":true,"newFeature":{"time":1484540945002,"show":false,"check":false},"initPath":{"enable":true,"page":"pages/index/index","query":""},"uploadPath":{"enable":false},"postcss":true},"url":"http://685122098.debug.open.weixin.qq.com/pages/index/index.html?","pageFrameTpl":"\n<!DOCTYPE html>\n<html lang=\"zh-CN\">\n\n<head>\n <link href=\"https://res.wx.qq.com/mpres/htmledition/images/favicon218877.ico\" rel=\"Shortcut Icon\">\n <meta http-equiv=\"Content-Security-Policy\" content=\"script-src 'self' *.qq.com 'unsafe-inline' 'unsafe-eval'\">\n
You can’t perform that action at this time.