If you haven't already, install Angular CLI:
npm install -g @angular/cli
Use Angular CLI to create a minimal Angular app:
#!/bin/bash | |
sudo apt-get remove --yes docker.io | |
sudo /bin/bash -c 'echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty edge" > /etc/apt/sources.list.d/docker.list' | |
sudo apt update | |
sudo apt install --yes docker-ce |
#!/bin/bash | |
# Install git cmake build-essential python2.7 nodejs default-jre | |
sudo apt-get install git cmake build-essential python2.7 nodejs default-jre | |
wget https://s3.amazonaws.com/mozilla-games/emscripten/releases/emsdk-portable.tar.gz | |
tar -zxvf emsdk-portable.tar.gz | |
cd ./emsdk-portable | |
./emsdk update | |
./emsdk install sdk-incoming-64bit #If you are getting "collect2: error: ld returned 1 exit status" error, try running ./emsdk install -j1 sdk-incoming-64bit | |
./emsdk activate sdk-incoming-64bit |
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at OfficeOpenXml.Drawing.ExcelDrawing.GetPixelHeight () <0x41fcfc10 + 0x0009b> in :0 at OfficeOpenXml.Drawing.ExcelDrawing.GetPositionSize () <0x41fcd540 + 0x00037> in :0 at OfficeOpenXml.Drawing.ExcelDrawing+ExcelPosition.set_Row (Int32 value) <0x41fcd3f0 + 0x00046> in :0 at OfficeOpenXml.Drawing.ExcelDrawing..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.String nameXPath) <0x41fccbe0 + 0x002a3> in :0 at OfficeOpenXml.Drawing.Chart.ExcelChart..ctor (OfficeOpenXml.Drawing.ExcelDrawings drawings, System.Xml.XmlNode node, System.Uri uriChart, OfficeOpenXml.Packaging.ZipPackagePart part, System.Xml.XmlDocument chartXml, System.Xml.XmlNode chartNode) <0x41fcc950 + 0x0011f> in :0 at OfficeOpenXml.Drawing.Chart.ExcelScatterChart..ctor (OfficeOpenXml.Drawing.ExcelDrawing
#!/bin/bash | |
#Repositiories | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo add-apt-repository ppa:webupd8team/java | |
#sudo add-apt-repository ppa:chris-lea/node.js | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
wget -O - http://deb.opera.com/archive.key | sudo apt-key add - | |
sudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list' |
APACHE_USER=$(ps axho user,comm|grep -E "httpd|apache"|uniq|grep -v "root"|awk 'END {if ($1) print $1}') |
#!/bin/bash | |
#Repositiories | |
sudo add-apt-repository ppa:webupd8team/sublime-text-3 | |
sudo add-apt-repository ppa:webupd8team/java | |
sudo add-apt-repository ppa:chris-lea/node.js | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' | |
wget -O - http://deb.opera.com/archive.key | sudo apt-key add - | |
sudo sh -c 'echo "deb http://deb.opera.com/opera/ stable non-free" >> /etc/apt/sources.list.d/opera.list' |
sudo add-apt-repository ppa:reviczky/context-daily | |
sudo apt-get update | |
sudo apt-get install context texworks kbibtex | |
#Copy this to ~/.bashrc or ~/.profile | |
export OSFONTDIR=~/.fonts:/usr/share/fonts:/usr/share/texmf/fonts/opentype/:/opt/libreoffice/basis3.3/share/fonts/ | |
mtxrun --script fonts --reload | |
mtxrun --script fonts --list --all --pattern=* | |
context --reload |
jQuery(function($) { | |
$(document).on('submit', 'form[data-async]', function(event) { | |
var $form = $(this); | |
var $target = $($form.attr('data-target')); | |
$.ajax({ | |
type: $form.attr('method'), | |
url: $form.attr('action'), | |
data: $form.serialize(), |