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 debian:stretch | |
MAINTAINER demons:[email protected] | |
# reference: https://stackoverflow.com/questions/25019183/docker-java7-install-fail/25020555#25020555 | |
ENV DEBIAN_FRONTEND noninteractive | |
ADD sources.list /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y curl wget | |
RUN apt-get install -y git |
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
time_namelookup: %{time_namelookup}\n | |
time_connect: %{time_connect}\n | |
time_appconnect: %{time_appconnect}\n | |
time_pretransfer: %{time_pretransfer}\n | |
time_redirect: %{time_redirect}\n | |
time_starttransfer: %{time_starttransfer}\n | |
----------\n | |
time_total: %{time_total}\n | |
// curl -w "@curl-format.txt" -o /dev/null -s "http://wordpress.com/" | |
// reference: https://stackoverflow.com/questions/18215389/how-do-i-measure-request-and-response-times-at-once-using-curl |
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
########################################## | |
# # | |
# STL GDB evaluators/views/utilities # | |
# # | |
########################################## | |
# | |
# The new GDB commands: | |
# are entirely non instrumental | |
# do not depend on any "inline"(s) - e.g. size(), [], etc | |
# are extremely tolerant to debugger settings |
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
/* ********************************************************** | |
* Copyright (c) 2013-2014 Google, Inc. All rights reserved. | |
* **********************************************************/ | |
/* Dr. Memory: the memory debugger | |
* | |
* This library is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU Lesser General Public | |
* License as published by the Free Software Foundation; | |
* version 2.1 of the License, and no later version. |
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 maven:latest | |
MAINTAINER demons [email protected] | |
ADD settings.xml /usr/share/maven/conf/settings.xml | |
ADD sources.list /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y vim | |
RUN apt-get install -y git |
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 | |
mkdir -p $HOME/.kube | |
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config | |
sudo chown $(id -u):$(id -g) $HOME/.kube/config |
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 python:latest | |
ADD shadowsocks.json /home/shadowsocks.json | |
RUN pip install shadowsocks | |
CMD cd /home && ssserver -c shadowsocks.json |
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 cppvimgtest:latest | |
ADD sources.list /etc/apt/sources.list | |
RUN gpg --keyserver pgpkeys.mit.edu --recv-key 15CF4D18AF4F7421 | |
RUN gpg -a --export 15CF4D18AF4F7421 | apt-key add - | |
RUN apt-get update | |
RUN apt-get install -y llvm |
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 debian:latest | |
ADD sources.list /etc/apt/sources.list | |
ADD aptgetforceyes /etc/apt/apt.conf.d/aptgetforceyes | |
RUN apt-get update | |
RUN apt-get install git | |
ADD gitconfig ~/.gitconfig | |
RUN apt-get install zsh curl |
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 | |
if [ ! -d "Repository/Compiler_Lab" ]; then | |
cd Repository && git clone https://github.com/Clcanny/Compiler_Lab.git | |
fi | |
cd Repository/Compiler_Lab && git pull |
NewerOlder