This file contains hidden or 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
FROM hokiegeek/hrs:latest | |
RUN apk add --no-cache curl | |
RUN echo "curl --output /root/.hours https://dl.dropboxusercontent.com/u/6524/.work.hours" >> /tmp/hrs-home | |
RUN echo "hrs" >> /tmp/hrs-home | |
ENTRYPOINT ["/bin/sh", "/tmp/hrs-home"] |
This file contains hidden or 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 | |
branch=$1 | |
./jenkins-trigger-job.sh \ | |
'ApiTest' \ | |
"BRANCH:${branch}" \ | |
"IMAGE_ID:$(echo $branch | tr '[:upper:]' '[:lower:]')" |
This file contains hidden or 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
*.csv |
This file contains hidden or 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
FROM openjdk:jdk | |
## Install scala | |
RUN wget http://downloads.lightbend.com/scala/2.11.8/scala-2.11.8.tgz | |
RUN tar -xvzf scala-2.11.8.tgz | |
RUN cp scala-2.11.8/bin/* /usr/bin | |
RUN cp scala-2.11.8/lib/* /usr/lib | |
RUN rm -rf scala-2.11.8* |
This file contains hidden or 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 | |
IFS='-'; for v in $1; do | |
[[ $v =~ ^([0-9]{2}\.?){3}$ ]] && { echo $v; break; } | |
done |
This file contains hidden or 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
ID: 1 | |
NAME: Uno | |
ID: 2 | |
NAME: Dos | |
ID: 3 | |
NAME: Tres | |
ID: 4 | |
NAME: Cuatro | |
ID: 5 | |
NAME: Cinco |

This file contains hidden or 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
FROM golang:1.6-onbuild | |
RUN go get github.com/hokiegeek/biologistd | |
CMD ["biologistd", "--port", "8081"] |
This file contains hidden or 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
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <map> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
void printSentence(string s, int rows, int cols) { | |
/* |
This file contains hidden or 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
set num_processors=`grep -c processor /proc/cpuinfo | xargs expr 1 +` | |
set f=`mktemp` | |
awk '/NOCSH *$/ { next } /^ *alias/ { sub(/=/, " ", $2); print }' $HOME/.aliases > $f | |
source $f | |
unset num_processors |