Skip to content

Instantly share code, notes, and snippets.

View aelam's full-sized avatar
🎯
Focusing

Lun Wang aelam

🎯
Focusing
View GitHub Profile
@aelam
aelam / instruments_write.xml
Last active November 3, 2020 02:12
instruments_write
/Library/Java/JavaVirtualMachines/openjdk-14.0.1.jdk/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=59482:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/testng/lib/testng-rt.jar:/Users/wanglun/Documents/workspace/JAVA/iMobileDevice-Java/target/test-classes:/Users/wanglun/Documents/workspace/JAVA/iMobileDevice-Java/target/classes:/Users/wanglun/.m2/repository/com/github/aelam/dd-plist/5d82184b4c/dd-plist-5d82184b4c.jar:/Users/wanglun/.m2/repository/io/reactivex/rxjava3/rxkotlin/3.0.1/rxkotlin-3.0.1.jar:/Users/wanglun/.m2/repository/io/reactivex/rxjava3/rxjava/3.0.6/rxjava-3.0.6.jar:/Users/wanglun/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/wanglun/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.4.10/kotlin-stdlib-1.4.10.jar:/Users/wanglun/
@aelam
aelam / temp-testng-customsuite.xml
Created November 2, 2020 17:12
testmanager_send_clean
/Users/wanglun/Library/Java/JavaVirtualMachines/openjdk-14.0.2-1/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=51931:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/testng/lib/testng-rt.jar:/Users/wanglun/Documents/workspace/Java/IMobileDevice/target/test-classes:/Users/wanglun/Documents/workspace/Java/IMobileDevice/target/classes:/Users/wanglun/.m2/repository/com/github/aelam/dd-plist/5d82184b4c/dd-plist-5d82184b4c.jar:/Users/wanglun/.m2/repository/io/reactivex/rxjava3/rxkotlin/3.0.1/rxkotlin-3.0.1.jar:/Users/wanglun/.m2/repository/io/reactivex/rxjava3/rxjava/3.0.6/rxjava-3.0.6.jar:/Users/wanglun/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/wanglun/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.4.10/kotlin-stdlib-1.4.10.jar:/Users/wanglu
@aelam
aelam / LogParserTest.java
Created November 2, 2020 16:45
testmanager_send
Nov 03, 2020 12:43:58 AM org.imobiledevice.Instruments.DTXStream readDTXMessage
INFO: ReadMessage:
DTXMessageHeader{magic=524114809, cb=32, fragmentId=0, fragmentCount=1, length=612, identifier=1, conversationIndex=0, channelCode=0, expectsReply=0}
Nov 03, 2020 12:43:58 AM org.imobiledevice.Instruments.DTXStream readDTXMessage
INFO: body:
�T��
�bplist00�
WNS.keysZNS.objectsV$class�������_%com.apple.private.DTXBlockCompression_com.apple.private.DTXConnection�Z$classnameX$classes_NSMutableDictionary� !\NSDictionaryXNSObject$)27ILQS[ahp{��������������� ")bplist00�
~
DTXMessage{messageType=null, rawMessageHeader=DTXMessageHeader{magic=524114809, cb=32, fragmentId=0, fragmentCount=1, length=612, identifier=1, conversationIndex=0, channelCode=0, expectsReply=0}
@aelam
aelam / temp-testng-customsuite.xml
Created November 2, 2020 16:13
read_from_testmanagerd
/Users/wanglun/Library/Java/JavaVirtualMachines/openjdk-14.0.2-1/Contents/Home/bin/java -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=61862:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA.app/Contents/plugins/testng/lib/testng-rt.jar:/Users/wanglun/Documents/workspace/Java/IMobileDevice/target/test-classes:/Users/wanglun/Documents/workspace/Java/IMobileDevice/target/classes:/Users/wanglun/.m2/repository/com/github/aelam/dd-plist/5d82184b4c/dd-plist-5d82184b4c.jar:/Users/wanglun/.m2/repository/io/reactivex/rxjava3/rxkotlin/3.0.1/rxkotlin-3.0.1.jar:/Users/wanglun/.m2/repository/io/reactivex/rxjava3/rxjava/3.0.6/rxjava-3.0.6.jar:/Users/wanglun/.m2/repository/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar:/Users/wanglun/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.4.10/kotlin-stdlib-1.4.10.jar:/Users/wanglu
@aelam
aelam / genesis_public_key
Last active March 2, 2018 06:05
genesis_public_key
04cdfa61027f84e8b01222b93a20fe45867d8523496c5d0db5b1575561b5759c1a462cdc2be2d97f002ed42bd81640b47a3c429f888d896664715ebb632a930c0e;sun1534
@aelam
aelam / image_rename.py
Created April 22, 2016 15:15
image_rename.py
#!/usr/bin/env python
# -*-encoding:utf-8-*-
import json
import os
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
@aelam
aelam / unused_image.sh
Created April 22, 2016 14:46
Find Unused Images in Xcode Projects
#!/bin/sh
echo $1
FINDING_PATH=$1
if [ -z "$FINDING_PATH" ]
then
echo "FINDING_PATH is empty, will use current path"
FINDING_PATH='.'
fi
# PROJ=`find $FINDING_PATH -name '*.[xib|h|m]' -o -name '*.[mh]'`
@aelam
aelam / GoogleOAuth.R
Created October 3, 2013 07:57
GoogleOAuth.R
library(httr)
library(yaml)
library(RGoogleAnalytics)
library(rjson)
library(RCurl)
library(bitops)
###
#
###
@aelam
aelam / gist:6506762
Created September 10, 2013 08:56
build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
@aelam
aelam / build.gradle
Created September 4, 2013 03:35
build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}