Install brew, it will install xcode-shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
# inspired by https://gist.github.com/sberryman/6770363f02336af82cb175a83b79de33 | |
FROM bvlc/caffe:gpu | |
RUN apt-get update -y && apt-get --assume-yes install \ | |
build-essential unzip \ | |
# General dependencies | |
libatlas-base-dev libprotobuf-dev libleveldb-dev libsnappy-dev libhdf5-serial-dev protobuf-compiler \ | |
libboost-all-dev \ | |
# Remaining dependencies, 14.04 | |
libgflags-dev libgoogle-glog-dev liblmdb-dev \ |
FROM gcr.io/tensorflow/tensorflow:1.5.0-gpu-py3 | |
LABEL maintainer="Igor Moiseev <[email protected]>" | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends \ | |
build-essential \ | |
cmake \ | |
git \ | |
wget \ | |
unzip \ |
xstat() { | |
for target in "${@}"; do | |
inode=$(ls -di "${target}" | cut -d ' ' -f 1) | |
fs=$(df "${target}" | tail -1 | awk '{print $1}') | |
crtime=$(sudo debugfs -R 'stat <'"${inode}"'>' "${fs}" 2>/dev/null | | |
grep -oP 'crtime.*--\s*\K.*') | |
printf "%s\t%s\n" "${crtime}" "${target}" | |
done | |
} |
<!-- One Life Widget --> | |
<div style="width:100%"> | |
<iframe src="http://onelife.fm/places/orsohobo/countries/IT.wgt1" frameborder="0" style="overflow:hidden;background-color:#fff;height:100%;width:100%;border: solid 1px #ccc;" height="100%" width="100%">Browser not compatible.</iframe> | |
<div style="font-size:12px;color:#8c8c8c;background-color: #fff;padding: 15px 0 15px 0px;width:100%;clear:both;display: table;border: solid 1px #ccc; border-top: none;"> | |
<div style="float:left;margin-left:10px;">Powered by <a href="http://onelife.fm/places" target=blank>Onelife.fm</a></div> | |
<div style="float:right;margin-right: 20px;"><a href="http://onelife.fm/places" target=blank><img src=http://onelife.fm/assets/places/img/p_small.png></a></div> | |
</div> | |
</div> | |
<!-- One Life Widget --> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script> | |
<script type="text/javascript" src="js/ui.tabs.closable.js"></script> | |
</head> | |
<body> | |
<script type="text/javascript"> |