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
| Run `start-kubernetes` to create the Kubernetes docker container. | |
| Install kubectl and run `kubectl --server=http://localhost:8080 cluster-info` to see useful URLs. | |
| Delete everything by running `remove-kubernetes`. |
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 busybox | |
| ENV TEST_VAR 1 |
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 | |
| set -o nounset -o errexit | |
| echo "" | |
| echo "Downloading scala-notebook" | |
| echo "--------------------------" | |
| cd /tmp | |
| wget -q https://github.com/chrismyang/scala-notebook/releases/download/0.1-SNAPSHOT/notebook-server-assembly-0.1-SNAPSHOT.jar | |
| echo "" |
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
| BeautifulSoup==3.2.1 | |
| Jinja2==2.7.3 | |
| Mako==0.9.1 | |
| MarkupSafe==0.18 | |
| PAM==0.4.2 | |
| Pillow==2.3.0 | |
| Pygments==1.6 | |
| Twisted-Core==13.2.0 | |
| Twisted-Names==13.2.0 | |
| Twisted-Web==13.2.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| imagemin: { | |
| dist: { | |
| files: [{ | |
| expand: true, | |
| cwd: '<%= yeoman.app %>/images', | |
| src: '{,*/}*.{gif,jpeg,jpg,png}', | |
| dest: '<%= yeoman.dist %>/images' | |
| }, { | |
| expand : true, | |
| flatten : true, |
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
| INSTALL: Installing server software | |
| INSTALL: sudo apt-get update | |
| INSTALL: sudo apt-get upgrade -qq | |
| INSTALL: sudo apt-get install build-essential libpcre3 libpcre3-dev libpcrecpp0 libssl-dev zlib1g-dev python-software-properties unzip git-core libcurl4-openssl-dev libbz2-dev libmysqlclient-dev mongodb-clients libreadline6-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev libgdbm-dev ncurses-dev automake libffi-dev htop libtool bison libevent-dev libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 liborc-0.4-0 libwxbase2.8-0 libwxgtk2.8-0 libgnutls-dev libjson0-dev libmcrypt-dev libicu-dev cmake gettext curl libpq-dev mercurial -qq | |
| INSTALL: sudo DEBIAN_FRONTEND=noninteractive add-apt-repository ppa:ubuntu-toolchain-r/test | |
| INSTALL: sudo apt-get update | |
| INSTALL: sudo apt-get install gcc-4.8 g++-4.8 -qq | |
| INSTALL: cp ../config/benchmark_profile ../../.bash_profile | |
| INSTALL: sudo sh -c "echo '* - nofile 16384' >> /etc/security/limits.conf" | |
| INSTALL: sudo apt-get install maven -qq |
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
| using System; | |
| using System.Net; | |
| using System.Threading; | |
| using Microsoft.WindowsAzure; | |
| using Microsoft.WindowsAzure.ServiceRuntime; | |
| using Microsoft.WindowsAzure.StorageClient; | |
| namespace WorkerRole1 | |
| { | |
| public class WorkerRole : RoleEntryPoint |
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
| public void Write(TableServiceEntity entity) | |
| { | |
| TableServiceContext context = _tableClient.GetDataServiceContext(); | |
| context.AddObject(_tableName, entity); | |
| context.BeginSaveChangesWithRetries((asyncResult => context.EndSaveChangesWithRetries(asyncResult)), null); | |
| } |