I hereby claim:
- I am server4001 on github.
- I am brice_bentler (https://keybase.io/brice_bentler) on keybase.
- I have a public key ASBVtNEBJ5ocEnpeqiIs2deMRO-oD_6Tj9eNk6_gObh_KAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
FROM node:4.4.7 | |
MAINTAINER Brice Bentler <[email protected]> | |
WORKDIR /var/www/html | |
EXPOSE 3000 | |
ENTRYPOINT ["npm", "start"] |
FROM phusion/baseimage:0.9.17 | |
MAINTAINER Brice Bentler <[email protected]> | |
CMD ["/sbin/my_init"] | |
RUN apt-get update && apt-get install -y python-software-properties | |
RUN add-apt-repository ppa:nginx/stable | |
RUN apt-get update && apt-get install -y nginx | |
RUN echo "daemon off;" >> /etc/nginx/nginx.conf |
if [[ -z $TMUX ]]; then | |
# Fix issue where tmux creates duplicate path entries. | |
export PATH=$HOME/bin:$HOME/projects/terminal/shunit2-2.1.6/src:/opt/local/bin:/usr/local/gradle-2.4/bin:$HOME/Library/Android/sdk/tools:$HOME/Library/Android/sdk/platform-tools:$PATH | |
fi |
FROM phusion/baseimage:0.9.17 | |
MAINTAINER Brice Bentler <[email protected]> | |
CMD ["/sbin/my_init"] | |
RUN apt-get update && apt-get install -y python-software-properties | |
RUN locale-gen en_US.UTF-8 && export LANG=C.UTF-8 && add-apt-repository -y ppa:ondrej/php5-5.6 | |
RUN apt-get update && apt-get install -y php5 | |
RUN apt-get install -y php5-dev | |
RUN apt-get install -y php5-curl |
jQuery(document).ready(function($) { | |
$('#myButton').click(function(event) { | |
event.preventDefault(); | |
var id = $('#someInput').val(); | |
callEndpoint(id).done(function(data) { | |
// Do something with the response | |
}).fail(function(jqXHR, textStatus, errorThrown) { | |
// Show error message | |
}); |
#!/bin/sh | |
# Beanstalkd config | |
cat << EOF | sudo tee -a /etc/default/beanstalkd | |
BEANSTALKD_EXTRA="-b /var/lib/beanstalkd" | |
# Start at server boot: | |
START=yes | |
EOF | |
sudo service beanstalkd restart |