private void a1405(final XC_LoadPackage.LoadPackageParam lpparam) throws ClassNotFoundException,NoSuchFieldException,IllegalAccessException{
String className = "com.tencent.mobileqq.activity.ChatActivity";
String methodName = "a";
Class<?> message = lpparam.classLoader.loadClass("com.tencent.mobileqq.app.message.QQMessageFacade$Message");
XposedBridge.log("Hooking a(QQMessageFacade$Message qQMessageFacade$Message)[1405]");
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package me.gitai.phuckqq.xposed; | |
import android.app.Notification; | |
import android.app.NotificationManager; | |
import android.support.v4.app.NotificationCompat; | |
import android.app.PendingIntent; | |
import android.content.BroadcastReceiver; | |
import me.gitai.library.utils.L; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fonttable <- read.table(header=TRUE, sep=",", stringsAsFactors=FALSE, | |
text=' | |
Short,Canonical | |
mono,Courier | |
sans,Helvetica | |
serif,Times | |
serif,Times | |
,AvantGarde | |
,Bookman | |
,Helvetica-Narrow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bin/bash | |
# 上传图片到 SM.MS 的脚本 | |
# ./sm.sh image1.png image2.png | |
jsonRet="" | |
for f in "$@" | |
do | |
ref=$(curl --progress-bar -F smfile=@$f https://sm.ms/api/upload | jq '"[\(.data.filename)](\(.data.url))"') | |
ref=${ref//\"/} | |
jsonRet=${jsonRet}$ref"\n" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var TINGYUN = function (t, e, n) { | |
function r(t) { | |
var e = !!t && "length" in t && t.length, n = typeof t; | |
return "function" !== n && ("array" === n || 0 === e || "number" == typeof e && e > 0 && e - 1 in t) | |
} | |
function i(t, e) { | |
var n, i = 0; | |
if (t) if (r(t)) for (n = t.length; i < n && !1 !== e.call(t[i], t[i], i); i++) ; else for (i in t) if (!1 === e.call(t[i], t[i], i)) break; | |
return t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
jQuery(document).ready(function() { | |
let Language = { | |
"C": "c_cpp", | |
"C++": "c_cpp", | |
"Java": "java", | |
"JavaScript": "javascript", | |
"Python": "python" | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![allow(dead_code)] | |
use std::collections::HashMap; | |
use std::collections::HashSet; | |
trait Renderable { | |
fn render(&mut self) { | |
unimplemented!() | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ts-node | |
const SymbolCache = Symbol.for("cache"); | |
let miss = 0; | |
function computed(...args) { | |
const _cache = {}; | |
return function ( | |
target, | |
propertyKey: string, |
OlderNewer