Skip to content

Instantly share code, notes, and snippets.


Shouko shoukolate

View GitHub Profile
shoukolate / gist:a830d073aaef769d50482a3436af8a56
Created Apr 24, 2020 — forked from DD3Boh/gist:6c51fd3c5f91b1042e956771483714de
How to merge a newer CAF tag in an android kernel
View gist:a830d073aaef769d50482a3436af8a56
First go here:
This site gives information about all msm soc release details with tag + android version
Search your msm here.. Check the latest one and look for correct android version and mark that tag.
Now open one of the following links (dependent on your linux kernel version)
shoukolate / google-translate-API.txt
Created Mar 26, 2020
Google Translate API (Free and Unlimited use)
View google-translate-API.txt
You can use google translate API (free for unlimited use AFAIK) from google translate extension from chrome browser (someone posted it on stackoverflow)こんにちは
You can replace "auto" if with source language if you want to disable auto detection and "en" for choosing a target language. Replace "こんにちは" with text you want to translate.
JSON response:
[[["Hello","こんにちは",null,null,1] ] ,null,"ja",null,null,null,1.0,[] ,[["ja"] ,null,[1.0] ,["ja"] ] ]
shoukolate / covid-19-api.txt
Created Mar 26, 2020
API to get latest data on COVID-19 pandemic
View covid-19-api.txt
shoukolate / hosts
Created Mar 6, 2019
Hosts File to Block Facebook from my Machine
View hosts
shoukolate /
Created Mar 1, 2019 — forked from alvarobrey/
Authorize ADB for a non-booting device
#!/usr/bin/env bash
adb shell 'echo "persist.service.adb.enable=1" >> default.prop'
adb shell 'echo "persist.service.debuggable=1" >> default.prop'
adb shell 'echo "persist.sys.usb.config=mtp,adb" >> default.prop'
adb shell 'echo "persist.service.adb.enable=1" >> /system/build.prop'
adb shell 'echo "persist.service.debuggable=1" >> /system/build.prop'
adb shell 'echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop'
adb push ~/.android/ /data/misc/adb/adb_keys
shoukolate /
Created Jul 13, 2018
Command to show your whole name in Linux terminal
finger $(whoami) | sed 's/.*: *//;q'
You can’t perform that action at this time.