View magit-duet-commit.el
This file contains 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
(require 'dash) | |
(require 'magit) | |
(defvar magit-duet--default-commit-popup-actions nil | |
"Store the magit-commit-popup here for | |
de-initializing. magit-duet-commit") | |
(defun magit-duet-commit (&optional args) | |
"Create a new duet commit" | |
(interactive (if current-prefix-arg |
View brewv
This file contains 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 | |
# | |
# Installs the previous version of a Homebrew formula | |
# | |
# Usage: brewv formula_name desired_version | |
if [ $# -ne 2 ] | |
then | |
echo "Usage: $0 <formula_name> <desired_version>"; | |
exit 0; |
View JarResourceRequestHandler.java
This file contains 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
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import org.apache.commons.lang.StringUtils; | |
import org.apache.log4j.Logger; |