ee stack install --php7
ee stack install --nginx
apt install nginx-common=1.10.3-10ppa~stable
| 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 |
| #!/usr/bin/env perl | |
| use 5.20.0; | |
| use strict; | |
| use warnings; | |
| use Data::Dumper qw(Dumper); |
| 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 |
| // ==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== |
| #!/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. |
| <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> |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>lesson3</title> | |
| <meta name="description" content="lesson3"> | |
| <meta name="author" content="jbl"> |
| import machine | |
| from machine import Timer | |
| # see listing one | |
| # https://www.embedded.com/electronics-blogs/break-points/4024981/My-favorite-software-debouncers | |
| np = machine.Neopixel(15,8,machine.Neopixel.TYPE_RGB) | |
| button = machine.Pin(34,machine.Pin.IN) | |
| check_msec = 20 |
| import machine, time | |
| from ssd1306 import SSD1306_I2C | |
| WIDTH = const(132) | |
| HEIGHT = const (64) | |
| sda_pin = 21 | |
| scl_pin = 22 | |
| i2c = machine.I2C(scl=scl_pin, sda=sda_pin, speed=400000) |