(Several of these git examples have been extracted from the book 'Pragmatic guide to GIT' of Travis Swicegood )
git config --global user.name "Fernando Guillen"
git config --global user.email "[email protected]"
cd /develop/myrepo
(Several of these git examples have been extracted from the book 'Pragmatic guide to GIT' of Travis Swicegood )
git config --global user.name "Fernando Guillen"
git config --global user.email "[email protected]"
cd /develop/myrepo
These instructions were tested on Windows 7 Professional w/ Visual Studio 2010
| var page = new WebPage(), | |
| address, output, size; | |
| //capture and captureSelector functions adapted from CasperJS - https://github.com/n1k0/casperjs | |
| capture = function(targetFile, clipRect) { | |
| var previousClipRect; | |
| var clipRect = {top: 0, left:0, width: 40, height: 40}; | |
| if (clipRect) { | |
| if (!isType(clipRect, "object")) { | |
| throw new Error("clipRect must be an Object instance."); |
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 = [email protected]: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:
| [AttributeUsage(System.AttributeTargets.All, AllowMultiple = true, Inherited = true)] | |
| public class ಠ_ಠAttribute : Attribute | |
| { | |
| public ILog Log { get; set; } | |
| public ಠ_ಠAttribute() | |
| { | |
| Log.Info("This code is bad and you should feel bad"); | |
| } | |
| } |
| // 1. Go to page https://www.linkedin.com/settings/email-frequency | |
| // 2. You may need to login | |
| // 3. Open JS console | |
| // ([How to?](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers)) | |
| // 4. Copy the following code in and execute | |
| // 5. No more emails | |
| // | |
| // Bookmarklet version: | |
| // http://chengyin.github.io/linkedin-unsubscribed/ |
| # Works for me. You may need to tweak it. Stick it in your powershell profile FTW | |
| function Rename-Project | |
| { | |
| # designed to run from the solution directory where the project is a child directory | |
| param( | |
| [string]$projectName=$(throw "projectName required."), | |
| [string]$newProjectName=$(throw "newProjectName required.") | |
| ) | |
| config.middleware.use RoutesReloader |