- Download the perforce visual tool suite from here: http://www.perforce.com/perforce/downloads/index.html
- Copy only the p4merge.app file into your /Applications/ directory
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/sh | |
set -x | |
set -e | |
TMP_GIT=$(mktemp -d) | |
cd $TMP_GIT | |
git init | |
git config user.name "some user" | |
git config user.email "[email protected]" | |
echo A > A |
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
java -jar ~/git/bfg-repo-cleaner/bfg/target/bfg-1.12.13-SNAPSHOT-remotes/upstream/HEAD-8abe03c.jar -D A | |
Using repo : /tmp/tmp.gL9bSDEzqB/.git | |
Found 3 objects to protect | |
Found 2 commit-pointing refs : HEAD, refs/heads/master | |
Protected commits | |
----------------- |
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
package mapr.test; | |
import java.io.IOException; | |
import org.apache.hadoop.conf.Configuration; | |
import org.apache.hadoop.fs.FileSystem; | |
import org.apache.hadoop.fs.Path; | |
import org.apache.hadoop.security.UserGroupInformation; | |
public class Main { |
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/sh | |
set -e | |
PWD=`pwd` | |
TMUX_SRC_DIR=$PWD/tmux-2.3 | |
LIBEVENT_SRC_DIR=$PWD/libevent-2.0.22-stable | |
NCURSES_SRC_DIR=$PWD/ncurses-6.0 | |
PROTOBUF_SRC_DIR=$PWD/protobuf-2.6.1 | |
MOSH_SRC_DIR=$PWD/mosh-1.2.6 |
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
# Create a new file in your home directory called .gtkrc-eclipse | |
# call eclipse with this command: | |
# Gtk2 forced: | |
# export SWT_GTK3=0 | |
# env GTK2_RC_FILES=/usr/share/themes/<YourTheme>/gtk-2.0/gtkrc:/home/<YourUser>/.gtkrc-eclipse '/path_to_eclipse/eclipse' | |
# In your Eclipse directory find the file 'e4_default_gtk.css' | |
# In this file there's a CSS class: |
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
#!/usr/bin/python | |
import pickle | |
from collections import defaultdict | |
from collections import OrderedDict | |
import sys | |
def checkDict(inputData): | |
return (type(inputData) == dict or type(inputData) == defaultdict\ | |
or type(inputData) == OrderedDict) |
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
#!/usr/bin/env bash | |
# OpenSSL requires the port number. | |
SERVER=$1 | |
DELAY=1 | |
ciphers=$(openssl ciphers 'ALL:eNULL' | sed -e 's/:/ /g') | |
echo Obtaining cipher list from $(openssl version). | |
for cipher in ${ciphers[@]} |
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
$ ./gradlew --console=verbose clean assemble check | |
> Task :clean | |
> Task :compileJava | |
> Task :processResources | |
> Task :classes |
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
$ ./gradlew --console=verbose clean build | |
> Task :clean | |
> Task :compileJava | |
> Task :processResources | |
> Task :classes |
OlderNewer