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
nix-build idea-ultimate.nix | |
unpacking 'https://github.com/nixos/nixpkgs/archive/4d2dd155461.tar.gz'... | |
these derivations will be built: | |
/nix/store/3c9f8igscqahra2l8jzhcgk0igbcqqcn-idea-ultimate.desktop.drv | |
/nix/store/7xx8bnrhbgxqkfykrzy1xpjbxb0zsxln-download_file?file_path=jbrsdk-11_0_4-osx-x64-b520.11.tar.gz.drv | |
/nix/store/c4cdhy5161jiw7nkbi34sdridd9i5xpc-jetbrainsjdk-520.11.drv | |
/nix/store/zvlz7lpi2vpsdbkbldb6fgpsq4zbyv9s-download_file?file_path=jbrsdk-11_0_2-osx-x64-b485.1.tar.gz.drv | |
/nix/store/d81ay1ssix632lin2y7mag6137n44mlz-jetbrainsjdk-485.1.drv | |
/nix/store/21p1203xma227z85lszd8hd4k73z4jss-idea-ultimate-2019.2.4.drv | |
these paths will be fetched (170.72 MiB download, 880.98 MiB unpacked): |
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
{ | |
allowUnfree = true; | |
packageOverrides = pkgs: with pkgs; rec { | |
myJetbrainsJdk = pkgs.jetbrains.jdk.overrideAttrs (oldAttrs: rec { | |
version = "520.11"; | |
src = pkgs.fetchurl { | |
url = "https://bintray.com/jetbrains/intellij-jdk/download_file?file_path=jbrsdk-11_0_4-osx-x64-b520.11.tar.gz"; | |
sha256 = "0d1qwbssc8ih62rlfxxxcn8i65cjgycdfy1dc1b902j46dqjkq9z"; | |
}; |
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 |
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; |
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; |