ee stack install --php7
ee stack install --nginx
apt install nginx-common=1.10.3-10ppa~stable
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>lesson3</title> | |
<meta name="description" content="lesson3"> | |
<meta name="author" content="jbl"> |
<template> | |
<div id="app" class="column is-half is-offset-one-quarter has-text-centered"> | |
<h1>Buttons!</h1> | |
<button class="button is-large" v-on:click="buttonClick($event,'G')">g</button> | |
<button class="button is-large" v-on:click="buttonClick($event,'C')">c</button> | |
<button class="button is-large" v-on:click="buttonClick($event,'E')">e</button> | |
<button class="button is-large" v-on:click="buttonClick($event,'A')">a</button> | |
<button class="button">test</button> | |
</div> | |
</template> |
#!/bin/bash | |
# build emacs snapshopt packages form source on debian jessie | |
# you need to add the the emacs snapshot source to /etc/apt/sources.list.d | |
# sudo echo deb-src [arch=amd64] http://emacs.secretsauce.net unstable main >> /etc/apt/sources.list.d/emacs-snapshot.list | |
# wget -q -O - http://emacs.secretsauce.net/key.gpg | sudo apt-key add - | |
# usage ./build-emacs-snapshot | |
# enter your sudo password when prompted | |
# enjoy emacs snapshot. |
// ==UserScript== | |
// @name booko amazon ISBN link | |
// @namespace https://emacstragic.net/ | |
// @version 0.1 | |
// @description Make the ISBN-13 a clickable link to booko. | |
// @author Jason Lewis [email protected] | |
// @match https://www.amazon.com/* | |
// @copyright 2016+, emacstragic.net | |
// @grant none | |
// ==/UserScript== |
jason@quartz:~/projects/Reports$ DANCER_ENVIRONMENT=test prove -l t/002_index_route.t | |
t/002_index_route.t .. 1/10 # mech success: Test::WWW::Mechanize::PSGI=HASH(0x4694908)->success | |
# loc: http://localhost/ | |
# base: http://localhost/ | |
t/002_index_route.t .. 9/10 [Reports::API:7134] error @2016-05-09 13:46:59> Route exception: No schemas are configured at /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/DBICx/Sugar.pm line 46. in /home/jason/perl5/perlbrew/perls/perl-5.22.2/lib/site_perl/5.22.2/Dancer2/Core/App.pm l. 1288 | |
# Failed test 'GET http://localhost/api/accounts-receivable/customers/AKAGRO' | |
# at t/002_index_route.t line 109. | |
# 500 | |
# Internal Server Error |
#!/usr/bin/env perl | |
use 5.20.0; | |
use strict; | |
use warnings; | |
use Data::Dumper qw(Dumper); |
sudo aptitude install -y build-essential cmake python python-matplotlib libtool | |
sudo aptitude install -y libcoin80-dev | |
sudo aptitude install -y libsoqt4-dev libxerces-c-dev libboost-dev libboost-filesystem-dev libboost-regex-dev libboost-program-options-dev libboost-signals-dev libboost-thread-dev libboost-python-dev libqt4-dev libqt4-opengl-dev qt4-dev-tools python-dev python-pyside pyside-tools | |
sudo aptitude install -y liboce-foundation-dev liboce-modeling-dev liboce-ocaf-dev liboce-ocaf-lite-dev liboce-visualization-dev | |
sudo aptitude install -y libeigen3-dev libqtwebkit-dev libshiboken-dev libpyside-dev libode-dev swig libzipios++-dev libfreetype6 libfreetype6-dev | |
sudo aptitude install -y libsimage-dev checkinstall python-pivy python-qt4 doxygen and libcoin60-doc libspnav-dev |
# dbic loader options | |
loader_options: | |
dump_directory: ./lib | |
components: InflateColumn::DateTime | |
components: TimeStamp | |
constraint: | |
qr/.*/: qr/\Ain_product\z/ | |
use strict; | |
use warnings; | |
use Test::More tests => 7; | |
use Test::WWW::Mechanize::PSGI; | |
use_ok 'Reports'; | |
my %routes = ('/' => undef, |