Skip to content

Instantly share code, notes, and snippets.

View 📊 Weekly development breakdown
Go 9 hrs 44 mins ████████████▌░░░░░░░░ 59.7%
Vue.js 4 hrs 29 mins █████▊░░░░░░░░░░░░░░░ 27.5%
Text 51 mins █░░░░░░░░░░░░░░░░░░░░ 5.2%
TypeScript 37 mins ▊░░░░░░░░░░░░░░░░░░░░ 3.8%
HTML 28 mins ▌░░░░░░░░░░░░░░░░░░░░ 3.0%
@nukc
nukc / ZipCommentHelper
Created Jan 18, 2017
获取 apk 文件注释里的渠道号
View ZipCommentHelper
package com.github.nukc.plugin;
import java.io.DataInput;
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.nio.ByteBuffer;
@nukc
nukc / ChannelHelper.java
Last active Feb 8, 2017
获取 META-INF 目录下的空渠道文件名
View ChannelHelper.java
package io.virtualapp.utils;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import java.io.IOException;
import java.util.Enumeration;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;