Skip to content

Instantly share code, notes, and snippets.

View claudia-codes's full-sized avatar

Claudia Donea claudia-codes

  • Edelman
View GitHub Profile
@claudia-codes
claudia-codes / Transfer repo from Bitbucket to Github
Last active April 6, 2020 17:55 — 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 $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket
@claudia-codes
claudia-codes / data-automation.ts
Last active September 4, 2019 15:42
Display data-automation labels
applyStyle = item => {
const attrValue = item.attributes['data-automation'].value;
const tagName = item.tagName;
item.append(tagName + ': ' + attrValue);
item.style = "border: 1.5px solid red";
};
$$("[data-automation]").map(item => applyStyle(item))
@claudia-codes
claudia-codes / gist:3cc76dfe7ce451c25b36511a5dfb1bba
Created December 1, 2017 10:17
Make file automate hybrid build
BPurple=\033[1;35m # Purple
NC=\033[0m # No Color
release_ios: _clear_terminal _clean_ios _add_ios _build_ios
release_android: _clear_terminal _clean_android _add_android _build_android
_update_version:
@echo "\t${BPurple}-> version updated${NC}"
@vi config.xml