Skip to content

Instantly share code, notes, and snippets.

View capoferro's full-sized avatar

Josiah Kiehl capoferro

View GitHub Profile
$ 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
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
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}
package main
import (
"testing"
)
func BenchmarkAaa(b *testing.B) {
ints := make([]int, 0)
for i := 0; i < b.N; i++ {
ints = append(ints, i)
Step 0 : Dockerfile0000644000175000001550000000020712375205124012540 0ustar jenkinsdockerFROM busybox:ubuntu-14.04
# Skipping unknown instruction DOCKERFILE0000644000175000001550000000020712375205124012540
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}
}
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!'; \
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
# 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)
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