This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; go-template-mode.el --- Major mode for Go template language | |
;;; Commentary: | |
;; 1) Copy this file somewhere in your Emacs `load-path'. To see what | |
;; your `load-path' is, run inside emacs: C-h v load-path<RET> | |
;; | |
;; 2) Add the following to your .emacs file: | |
;; | |
;; (require 'go-template-mode) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SUBDIRECTORY_OK=Yes | |
OPTIONS_KEEPDASHDASH= | |
OPTIONS_SPEC="\ | |
release2 --old <old> --new <new> --base <base> <project1> <project2>... | |
release2 --continue | |
release2 recreates an integration branch, making it easy to remove branches | |
which proved unstable. Merge conflict resolutions are learned from the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use CGI; | |
use File::Spec; | |
use lib $ENV{GL_LIBDIR}; | |
use Gitolite::Rc; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Returns the item between startTime and endTime when oldPath was renamed to file in view. | |
// Searches file and it's folders for a rename event between those two times. | |
// Returns null if a rename event is not found. | |
private Item findRenameEventItem(View view, String oldPath, File file, long startTime, long endTime) { | |
String path = pathname(file); | |
String oldFolderName = FileUtils.getParent(oldPath, "/"); | |
String folderName = FileUtils.getParent(path, "/"); | |
String oldFileName = FileUtils.getName(oldPath, "/"); | |
// file was probably renamed during the time period |