Skip to content

Instantly share code, notes, and snippets.

🐧

Shoukolate shoukolate

🐧
  • Za Warudo
Block or report user

Report or block shoukolate

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@shoukolate
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)
https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=en&dt=t&q=こんにちは
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
shoukolate / covid-19-api.txt
Created Mar 26, 2020
API to get latest data on COVID-19 pandemic
View covid-19-api.txt
https://covid19.mathdro.id/api
@shoukolate
shoukolate / hosts
Created Mar 6, 2019
Hosts File to Block Facebook from my Machine
View hosts
127.0.0.1 api.ak.facebook.com
127.0.0.1 api.connect.facebook.com
127.0.0.1 api.facebook.com
127.0.0.1 app.facebook.com
127.0.0.1 apps.facebook.com
127.0.0.1 ar-ar.facebook.com
127.0.0.1 badge.facebook.com
127.0.0.1 blog.facebook.com
127.0.0.1 connect.facebook.com
127.0.0.1 connect.facebook.net
@shoukolate
shoukolate / authorize_adb.sh
Created Mar 1, 2019 — forked from alvarobrey/authorize_adb.sh
Authorize ADB for a non-booting device
View authorize_adb.sh
#!/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/adbkey.pub /data/misc/adb/adb_keys
@shoukolate
shoukolate / ShowMyName.sh
Created Jul 13, 2018
Command to show your whole name in Linux terminal
View ShowMyName.sh
finger $(whoami) | sed 's/.*: *//;q'
You can’t perform that action at this time.