Skip to content

Instantly share code, notes, and snippets.


Xiong-Jia.Le xiongjia

Block or report user

Report or block xiongjia

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
xiongjia /
Created Jan 15, 2018 — forked from 52cik/
npm 淘宝镜像配置
npm set registry # 注册模块镜像
npm set disturl # node-gyp 编译依赖的 node 源码镜像
## 以下选择添加
npm set chromedriver_cdnurl # chromedriver 二进制包镜像
npm set operadriver_cdnurl # operadriver 二进制包镜像
npm set phantomjs_cdnurl # phantomjs 二进制包镜像
npm set sass_binary_site # node-sass 二进制包镜像
npm set electron_mirror # electron 二进制包镜像
xiongjia /
Last active Nov 18, 2017
Cheatsheet - DEV Environment #devnotes




  • 管理多个 JDK, JRE 以及 build tools ( Maven, Gradle, 等) , 还有 Groovy 等
  • Github:
  • Notes:
    • Windows OS 上不太好用, 因为依赖 cygwin 基本可放弃
    • 中国区注意修改 CURL 的设置来适应特殊网络环境
      • curl 的 proxy 可以从 $http_proxy & $https_proxy读入
xiongjia /
Last active May 13, 2020
Building freetype2 on Windows #devnotes


Building the freetype Windows 32 DLL & LIB for the Windows OpenJDK Compiling.

Get the freetype source code

Updating the Freetype Visual Studio solution settings

The default Windows building VS solution is "/builds/windows/vc2010/freetype.sln" (I built it via Visual Studio 2015).

xiongjia / proxy.go
Last active Sep 14, 2017 — forked from vmihailenco/proxy.go
Simple TCP proxy in Golang #devtools
View proxy.go
package main
import (
xiongjia / .gitconfig
Last active Sep 14, 2017 — forked from robmiller/.gitconfig
Some useful Git aliases that I use every day #conf #git
View .gitconfig
# Working with branches
# Get the current branch name (not so useful in itself, but used in
# other aliases)
branch-name = "!git rev-parse --abbrev-ref HEAD"
# Push the current branch to the remote "origin", and set it to track
# the upstream branch
publish = "!git push -u origin $(git branch-name)"
xiongjia / 0_main.cxx
Last active Jul 10, 2019
A simple sample of Boost DLL #boost #devsample
View 0_main.cxx
* A simple sample of Boost DLL
#include <iostream>
#include "boost/shared_ptr.hpp"
#include "boost/function.hpp"
#include "boost/dll/import.hpp"
#include "1_plugin.hxx"
xiongjia / LocalRun.cpp
Last active Sep 14, 2017 — forked from feuvan/LocalRun.cpp
LocalRun: Run application in specified locale (chs as hard-coded). #devsample #win
View LocalRun.cpp
* Local(e)Run: Run application in specified locale (chs as hard-coded).
* Originial purpose: run fterm.exe in non-Chinese(PRC) locale.
* Author:
#include <stdio.h>
#include <tchar.h>
xiongjia / CMakeLists.txt
Last active Oct 5, 2019
The example of Windows Job Objects #devsample #win
View CMakeLists.txt
# CMake build script
cmake_minimum_required(VERSION 2.8)
# project name & version
# common settings (Boost libraries)
if (MSVC)
# Enable the static libraries on Windows
foreach (flag_var
xiongjia / .gitignore
Last active Sep 14, 2017
All SQL Joins #db #tips
View .gitignore
xiongjia / .gitignore
Last active Feb 24, 2020
Database schema for leetcode db problems #db
View .gitignore
You can’t perform that action at this time.