-
Simplest intro to git by github and codeschool - Try Git
-
[Intro to github]
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
#!/bin/bash | |
# Functions ============================================== | |
# return 1 if global command line program installed, else 0 | |
# example | |
# echo "node: $(program_is_installed node)" | |
function program_is_installed { | |
# set to 1 initially | |
local return_=1 |
This entire guide is based on an old version of Homebrew/Node and no longer applies. It was only ever intended to fix a specific error message which has since been fixed. I've kept it here for historical purposes, but it should no longer be used. Homebrew maintainers have fixed things and the options mentioned don't exist and won't work.
I still believe it is better to manually install npm separately since having a generic package manager maintain another package manager is a bad idea, but the instructions below don't explain how to do that.
Installing node through Homebrew can cause problems with npm for globally installed packages. To fix it quickly, use the solution below. An explanation is also included at the end of this document.
import pdb | |
class Config(pdb.DefaultConfig): | |
sticky_by_default = True |
Instuctions available (moved) at REMOTE ORIGIN website: Extract Subtitles From mkv
# usefull bash commands for moss | |
# print submission dates | |
reset; ls -l */*.{tar,gz,rar} | awk '{for(i=6;i<=9;i++)printf "%s ",$i;printf "\n"}' | sort | |
# unzip archives | |
find . -type f -name *.tar -print0 | xargs -0 -I file sh -c 'tar -xf file -C `dirname file`' | |
find . -type f -name *.tar.gz -print0 | xargs -0 -I file sh -c 'tar -xzf file -C `dirname file`' | |
find . -type f -name *.rar -print0 | xargs -0 -I file sh -c 'unrar -y e file "`dirname file`"' |