A short list of tips and recommendations, for those who use OSS and/or want to contribute to it.
- Give feedback
Before I get into the wrong ways to give feedback, let me be clear: the worst thing you can do is give no feedback at all.
# Example from: http://snipplr.com/view/37063/ | |
include Rails.application.routes.url_helpers | |
# set host in default_url_options: | |
default_url_options[:host] = "localhost" | |
# can then use: | |
url_for() |
#/bin/bash | |
#-- Script to automate https://help.github.com/articles/why-is-git-always-asking-for-my-password | |
REPO_URL=`git remote -v | grep -m1 '^origin' | sed -Ene's#.*(https://[^[:space:]]*).*#\1#p'` | |
if [ -z "$REPO_URL" ]; then | |
echo "-- ERROR: Could not identify Repo url." | |
echo " It is possible this repo is already using SSH instead of HTTPS." | |
exit | |
fi |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"