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
$ ls ~/Adventures/JDFTx/ | |
CMakeCache.txt commands Doxyfile.in jdftx libjdftxElectronic.so SourceFileTemplate.txt | |
CMakeFiles config.h electronic jdftx.cpp libjdftxFluid.so tests | |
cmake_install.cmake config.in.h fluid jdftx.kdev4 Makefile | |
CMakeLists.txt COPYING generate_tarball.sh libjdftxCommands.so opt | |
CMake-Modules core images libjdftxCore.so scripts |
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
gomaster () { | |
odir=$(pwd) | |
echo The following are not on the master branch: | |
for i in `find $GOPATH -name .git` | |
do | |
if [[ $(cd $i && git branch | grep master) == '* master' ]] | |
then | |
echo $i | sed 's/\/.git//' | sed 's/.*src\///' | |
fi | |
done |
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
jdftx_path:=/home/josiah/Adventures/JDFTx | |
outfiles:=whist.oct whistSpherical.oct whistEnergyMomentum.oct filmPlasmonDecay-run plasmonDecayMetropolis-run | |
.PHONY: all | |
all: ${outfiles} | |
.PHONY: clean | |
clean: | |
rm -rf ${outfiles} |
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 main | |
import ( | |
"testing" | |
) | |
func BenchmarkAaa(b *testing.B) { | |
ints := make([]int, 0) | |
for i := 0; i < b.N; i++ { | |
ints = append(ints, i) |
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
Step 0 : Dockerfile0000644000175000001550000000020712375205124012540 0ustar jenkinsdockerFROM busybox:ubuntu-14.04 | |
[91m# Skipping unknown instruction DOCKERFILE0000644000175000001550000000020712375205124012540 |
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
git_color() { | |
color=$White | |
git tag 2> /dev/null > /dev/null && color=IRed | |
git diff --exit-code 2> /dev/null > /dev/null && color=IGreen | |
[[ "$(git_added_count)" != "0" ]] && color=IYellow | |
git_untracked || color=U$color | |
echo ${!color} | |
} |
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
fmt_targetfile:=.gofmt | |
build: check_format | |
check_format: $(fmt_targetfile) | |
@if [[ `cat $(fmt_targetfile)` != "" ]]; then \ | |
echo "These need to be formatted:\n\t$(shell cat $(fmt_targetfile))"; \ | |
exit 1; \ | |
else \ | |
echo 'Good to go!'; \ |
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
fmt_targetfile:=.gofmt | |
build: check_format | |
check_format: $(fmt_targetfile) | |
@if [[ `cat $(fmt_targetfile)` != "" ]]; then \ | |
echo "These need to be formatted:\n\t$(shell cat $(fmt_targetfile))"; \ | |
else \ | |
echo 'Good to go!'; \ | |
fi |
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
# BusyBox | |
# ldd scout | |
checking sub-depends for '/lib64/libpthread.so.0' | |
ld64-uClibc.so.0 => /lib/ld64-uClibc.so.0 (0x7f368b2a6000) | |
libdl.so.0 => /lib/libdl.so.0 (0x7f368b0a2000) | |
libc.so.0 => /lib/libc.so.0 (0x7f368ae4a000) | |
checking sub-depends for 'not found' | |
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000000) | |
libc.so.6 => not found (0x00000000) | |
/lib/ld64-uClibc.so.0 => /lib/ld64-uClibc.so.0 (0x00000000) |
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
Test failures in: ./daemon/graphdriver/devmapper | |
2014/07/28 14:11:56 Error response from daemon: Cannot destroy container 8dfda30d837bea7c2c35e838a24adcaacc4fbcc944f945510fdf89beed88016d: Driver aufs failed to remove root filesystem 8dfda30d837bea7c2c35e838a24adcaacc4fbcc944f945510fdf89beed88016d: rename /mnt/sda1/var/lib/docker/aufs/diff/8dfda30d837bea7c2c35e838a24adcaacc4fbcc944f945510fdf89beed88016d /mnt/sda1/var/lib/docker/aufs/diff/8dfda30d837bea7c2c35e838a24adcaacc4fbcc944f945510fdf89beed88016d-removing: device or resource busy |