Proof of concept setup for Wordpress running under PHP-FPM with an Nginx frontend
Build a copy of this image:
git clone git://github.com/d9206eacb5a0ff5d6be0.git docker-nginx-fpm
cd docker-nginx-fpm
docker build -t nginx-fpm .
| var uuids = angular.module('uuids', []); | |
| uuids.factory("rfc4122", function () { | |
| return { | |
| newuuid: function () { | |
| // http://www.ietf.org/rfc/rfc4122.txt | |
| var s = []; | |
| var hexDigits = "0123456789abcdef"; | |
| for (var i = 0; i < 36; i++) { | |
| s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1); | |
| } |
| git branch -m old_branch new_branch # Rename branch locally | |
| git push origin :old_branch # Delete the old branch | |
| git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
| /** | |
| * = Recursive descent parser = | |
| * | |
| * MIT Style License | |
| * By Dmitry Soshnikov <dmitry.soshnikov@gmail.com> | |
| * | |
| * In this short lecture we'll cover the basic (non-predictive, backtracking) | |
| * recursive descent parsing algorithm. | |
| * | |
| * Recursive descent is an LL parser: scan from left to right, doing |
| #!/bin/bash | |
| apt-get install mc htop git unzip wget curl -y | |
| echo | |
| echo "=====================================================" | |
| echo " WELCOME" | |
| echo "=====================================================" | |
| echo | |
| echo "Hub" |
NOTE: the content is out-of-date. All development is moved to the https://github.com/yurydelendik/wasmception
# locations, e.g.
export WORKDIR=~/llvmwasm; mkdir -p $WORKDIR
export INSTALLDIR=$WORKDIR
By: @BTroncone
Also check out my lesson @ngrx/store in 10 minutes on egghead.io!
Update: Non-middleware examples have been updated to ngrx/store v2. More coming soon!
Table of Contents
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
| # Pass the env-vars to MYCOMMAND | |
| eval $(egrep -v '^#' .env | xargs) MYCOMMAND | |
| # … or ... | |
| # Export the vars in .env into your shell: | |
| export $(egrep -v '^#' .env | xargs) |
| image: trion/ng-cli-karma | |
| cache: | |
| paths: | |
| - node_modules/ | |
| deploy_stage: | |
| stage: deploy | |
| environment: Stage | |
| only: |