Skip to content

Instantly share code, notes, and snippets.


Moyang Wang googolmo

View GitHub Profile

Keybase proof

I hereby claim:

  • I am googolmo on github.
  • I am momowang ( on keybase.
  • I have a public key ASDXezlaKS8yaFlbUqmCKDn2RSWntPFOFw5dQr6uncXR7wo

To claim this, I am signing this object:

googolmo / init.vim
Last active Mar 8, 2018
NeoVim Config
View init.vim
" Specify a directory for plugins
" - For Neovim: ~/.local/share/nvim/plugged
call plug#begin("~/.local/share/nvim/plugged")
Plug 'autozimu/LanguageClient-neovim', { 'do': ':UpdateRemotePlugins' }
Plug 'roxma/nvim-completion-manager'
" Using a tagged release; wildcard allowed (requires git 1.9.2 or above)
Plug 'fatih/vim-go', { 'tag': '*' }
googolmo / blinks2.zsh-theme
Created Mar 7, 2018
config for oh_my_zsh
View blinks2.zsh-theme
# zsh theme
# This theme works with both the "dark" and "light" variants of the
# Solarized color schema. Set the SOLARIZED_THEME variable to one of
# these two values to choose. If you don't specify, we'll assume you're
# using the "dark" variant.
case ${SOLARIZED_THEME:-dark} in
light) bkg=white;;
*) bkg=black;;
View simple-obfs.rb
# Documentation:
class SimpleObfs < Formula
desc "Simple-obfs is a simple obfusacting tool, designed as plugin server of shadowsocks."
homepage ""
url ""
sha256 "cfd7b847be57401e1c664662781d41bc5b089b341232d94375ca4dd612b3852f"

#About Gradle# ##What is Gradle##

Gradle is build automation evolved. Gradle can automate the building, testing, publishing, deployment and more of software packages or other types of projects such as generated static websites, generated documentation or indeed anything else.

Gradle combines the power and flexibility of Ant with the dependency management and conventions of Maven into a more effective way to build. Powered by a Groovy DSL and packed with innovation, Gradle provides a declarative way to describe all kinds of builds through sensible defaults. Gradle is quickly becoming the build system of choice for many open source projects, leading edge enterprises and legacy automation challenges.


11-15 14:40:28.774 24973-24973/ E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process:, PID: 24973
java.lang.UnsatisfiedLinkError: Couldn't load amapv3 from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/"],nativeLibraryDirectories=[/data/app-lib/, /vendor/lib, /system/lib]]]: findLibrary returned null
at java.lang.Runtime.loadLibrary(
at java.lang.System.loadLibrary(
at com.autonavi.amap.mapcore.MapCore.<clinit>(
at com.amap.api.mapcore.b.<init>(
at com.amap.api.mapcore.b.<init>(
at com.amap.api.maps.SupportMapFragment.onCreateView(
View copy_file_to_jniLibs.gradle
android.LibraryVariant.all { variant ->
if (variant.packageLibrary) {
def originFolder = ""
copy {
from "$originFolder"
into variant.packageLibrary.jniDir
googolmo / index.php
Created Jan 30, 2012 — forked from rpetrich/index.php
Twitter self-hosted image service/url shortener
View index.php
// Twitter self-hosted image service/url shortener by Ryan Petrich
// Installation:
// 1. Paste this script into the top of your HTTP root's index.php (rename index.html to index.php if it doesn't exist)
// 2. Add the following to your HTTP root's .htaccess file (create .htaccess if it doesn't exist):
// ErrorDocument 404 /index.php
// 3. Create a "s" subfolder and give it 777 permissions
// 4. Add the following as the custom URL for URL shortening in Twitter for iPhone's settings:
// 5. Add the following as the custom URL for Image service:
googolmo / sdcard
Created Sep 16, 2011
Installing Android apps to the SD card
View sdcard
<android xmlns:android="">
<manifest android:installLocation="preferExternal">
<uses-sdk android:minSdkVersion="7" />