Skip to content

Instantly share code, notes, and snippets.

@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;
@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;
View 📊 Weekly development breakdown
Go 15 hrs 51 mins ███████████████▋░░░░░ 74.8%
HTML 2 hrs 33 mins ██▌░░░░░░░░░░░░░░░░░░ 12.1%
Vue.js 2 hrs 9 mins ██▏░░░░░░░░░░░░░░░░░░ 10.2%
TypeScript 30 mins ▌░░░░░░░░░░░░░░░░░░░░ 2.4%
go.mod 2 mins ░░░░░░░░░░░░░░░░░░░░░ 0.2%