Skip to content

Instantly share code, notes, and snippets.

@yoshi415
yoshi415 / git-recentco
Created January 15, 2021 20:41 — forked from fritz-c/git-recentco
Git: Check out a branch from a list of recently checked out branches/tags/commits
#!/usr/bin/env bash
# Source: https://gist.github.com/fritz-c/c1e528b09bc1c0827a3c
# Original: https://gist.github.com/jordan-brough/48e2803c0ffa6dc2e0bd
# Download this script as "git-recentco" (no extension), chmod it to be executable and put it in your
# path somewhere (e.g. /usr/bin). You can then use it via `git recentco` from inside any git repo.
# Example:
#
@yoshi415
yoshi415 / setup.sh
Last active January 14, 2021 05:14
echo "Creating an SSH key for you..."
ssh-keygen -t rsa
echo ""
echo "Please add this public key to Github \n"
echo "https://github.com/account/ssh \n"
read -p "Press [Enter] key after this..."
echo ""
// previous
componentWillMount() {
const { fetchSchedule, someOtherMethod, taskerInfo: { user_id } } = this.props;
fetchSchedule(user_id);
someOtherMethod();
}
export default connect(mapStateToProps, {
...recommendationActions,