Skip to content

Instantly share code, notes, and snippets.

Avatar
🙃
*upside-down*

nk2 nk2IsHere

🙃
*upside-down*
View GitHub Profile
@nk2IsHere
nk2IsHere / 1._Howto_build_Win2k3.md
Last active Mar 1, 2021
an interseting tutoriel
View 1._Howto_build_Win2k3.md
@nk2IsHere
nk2IsHere / GoogleController.kt
Last active May 26, 2020
Get user's google profile by token in Kotlin
View GoogleController.kt
// <...>
// assuming:
// userToken: String - received token from client
private val googleNetHttpTransport = GoogleNetHttpTransport.newTrustedTransport()
private val googleJsonFactory = GsonFactory()
private val oauth2Api = Oauth2.Builder(
googleNetHttpTransport,
googleJsonFactory,