Archive | NoteToSelf

My git notes

Been playing around with git to manage my “Environment”. This is a note to self. May add more at some point
List files that have been “staged”
  • git diff –name-only –cached
To create a “Centro repo”
  • To setup an empty central repo:
    • mkdir /your/path/folder/project.git
    • cd /your/path/folder/project.git
    • git init –bare –shared
  • To add files to the central repo:
    • Go to the existing file structure and setup a new git repo (if it is not there already)
    • cd your/local/workspace/project
    • git init
    • git add .
    • git commit -m “First Commit”
    • git remote add origin server.domain.com:/your/path/folder/project.git
    • git push origin master
  • If you make a change ¬†in your local copy and you want to push it up to the Centro repo
    • git add .
    • git commit -m “This is what changed”
    • git push origin master
  • And to get those changes to other machines
    • git pull origin master
  • And to setup a new machine
    • git clone¬†server.domain.com:/your/path/folder/project.git

Got most of the info from here

RSS feed for a vBulletin forum

I am constantly having to look this up. What is a vBulletin’s form’s rss feed?

http://www.myforum.com/external.php?type=rss&forumids=1

Obviously the admin has to enable it. Have not tested against all versions

 

Powered by WordPress. Designed by WooThemes