Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Ryan Wang aelam

🎯
Focusing
View GitHub Profile
@aelam
aelam / instruments_write.xml
Last active Nov 3, 2020
instruments_write
View instruments_write.xml
/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/
View temp-testng-customsuite.xml
/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
View LogParserTest.java
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}
View temp-testng-customsuite.xml
/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 Mar 2, 2018
genesis_public_key
View genesis_public_key
04cdfa61027f84e8b01222b93a20fe45867d8523496c5d0db5b1575561b5759c1a462cdc2be2d97f002ed42bd81640b47a3c429f888d896664715ebb632a930c0e;sun1534
View 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 Apr 22, 2016
Find Unused Images in Xcode Projects
View unused_image.sh
#!/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]'`
View GoogleOAuth.R
library(httr)
library(yaml)
library(RGoogleAnalytics)
library(rjson)
library(RCurl)
library(bitops)
###
#
###
View gist:6506762
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}
View build.gradle
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.5.+'
}
}