Skip to content

Instantly share code, notes, and snippets.

View readytopark's full-sized avatar

Jonghoon Park readytopark

  • Blockchain Labs
  • Seoul
View GitHub Profile
0x19b0a7948906ddce2b6957856ba36fb06cc1049a
@readytopark
readytopark / gist:eef68890a20af6f168fe8118d3a8cd3b
Last active April 25, 2018 09:20
elasticsearch for counting the most popular tags
elasticsearch for counting the most popular tags
# Index Settings
- mapping: Make sure 'tag' field is "eact value" string type
curl -XPUT 'http://localhost:9200/mediaclip/' -d '{
"settings": {
"index": {
"number_of_shards": 5,
"number_of_replicas": 1
@readytopark
readytopark / gist:f6661e42744a0f925159
Created November 17, 2014 02:48
How to get the dimension of Youtube Video
http://stackoverflow.com/questions/9514635/get-youtube-video-dimensions-width-height
@readytopark
readytopark / gist:16af1b007bb59f7a7186
Created September 3, 2014 06:27
Dumping XML file from APK
aapt dump xmltree <APK PATH> AndroidManifest.xml
1. List all packages on Android
> adb shell pm list packages -f
2. Pulling the APK
> adb pull {PATH}
3. Decoding resource files
> apktool d {APK_NAME}
4. Decompilng classes.dex
@readytopark
readytopark / .gitignore
Created April 9, 2014 07:43
gitignore for Android project by gradle
.DS_Store
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# generated files
@readytopark
readytopark / gist:8533009
Created January 21, 2014 01:51
git ignore file for Android Studio project by gradle
.DS_Store
# built application files
*.apk
*.ap_
# files for the dex VM
*.dex
# generated files
@readytopark
readytopark / gist:8470901
Created January 17, 2014 10:01
Print the label and icon for the app declared in APK.
aapt dump badging <apk name>