Skip to content

Instantly share code, notes, and snippets.

Avatar
🤯
I may be slow to respond.

C nukc

🤯
I may be slow to respond.
View GitHub Profile
View 📊 Weekly development breakdown
Go 7 hrs 58 mins █████████████▊░░░░░░░ 65.8%
HTML 2 hrs 38 mins ████▌░░░░░░░░░░░░░░░░ 21.8%
Vue.js 1 hr 19 mins ██▎░░░░░░░░░░░░░░░░░░ 11.0%
JavaScript 4 mins ▏░░░░░░░░░░░░░░░░░░░░ 0.7%
TypeScript 4 mins ░░░░░░░░░░░░░░░░░░░░░ 0.6%
@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;