Skip to content

Instantly share code, notes, and snippets.

@vmlinz
vmlinz / build_strongswan_android.md
Last active March 6, 2021 07:31
Instructions to build StrongSwan android client from git source

Instructons of building StrongSwan android client from git source

Official guide

https://wiki.strongswan.org/projects/strongswan/wiki/AndroidVPNClientBuild

  • Preparing the dev environment(Build on Ubuntu 14.04 amd64 to prevent various issues), see the [Doc] [1]
  • Preparing the source code: ./autogen.sh && ./configure && make dist
  • Preparing the dev environment with Android sdk and ndk for further development
@vmlinz
vmlinz / android_notes.md
Last active August 29, 2015 14:24
Android gradle notes

Various notes on Android

Gradle

Build.gradle attributes will override the ones in Manifest.xml

Manifest.xml build.gradle
package applicationId
minSdkVersion minSdkVersion
@vmlinz
vmlinz / load_balancing.md
Created July 11, 2015 16:24
Load balancing
@vmlinz
vmlinz / shadowsocks_goagent.md
Last active January 31, 2018 13:43
Shadowsocks with goagent through meow proxy

Shadowsocks with goagent

前几天写了一个GoAgent开多线程教程,里面提到使用Shadowsocks前置代理GoAgent,一直有网友发帖问如何操作,现在明确一下具体作法。
(只讨论在windows下)


ss前置代理GoAgent主要适用于SS看视频慢的用户。因为ss没有大文件自动分段下载功能,下载大文件(看视频)的时候会产生持续的tcp连
接。这种持续的tcp连接很容易被GFW干扰GoAgent有一个独特的“大文件自动分段下载”功能,且可以多线程下载。多线程可以加快下载速度,
自动分段可以避免产生持续的tcp连接,减少被GFW干扰的可能。ss前置代理GoAgent的目的就是使用GoAgent的“大文件自动分段下载”使ss不

产生持续的tcp连接,多线程加快下载速度,改善视频体验。