Skip to content

Instantly share code, notes, and snippets.

View 4sskick's full-sized avatar
🏠
Working from home

tian 4sskick

🏠
Working from home
View GitHub Profile
@4sskick
4sskick / Transfer repo from X to Y
Last active November 17, 2021 08:37 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd to old repo folder
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/account/new-repo.git
$ git push origin master
$ git remote rm bitbucket
@4sskick
4sskick / KoinJavaUtils.kt
Created July 18, 2020 10:46 — forked from fredy-mederos/KoinJavaUtils.kt
Koin java utility functions to inject components and properties in java classes.
package com.common.utils
import org.koin.KoinContext
import org.koin.standalone.StandAloneContext
import kotlin.jvm.internal.Reflection
/**
* @author @fredy_mederos
*/