###Making the tablet useful
####Enabling apt-get and installing normal apps Follow this guide
uname -a
lsb_release -a
lscpu
cat /proc/cpuinfo
mkdir .ssh
# Your snippets | |
# | |
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to | |
# expand the prefix into a larger code block with templated values. | |
# | |
# You can create a new snippet in this file by typing 'snip' and then hitting | |
# tab. | |
# | |
# An example CoffeeScript snippet to expand log to console.log: | |
# |
# Geany's snippets configuration file | |
# | |
# use \n or %newline% for a new line (it will be replaced by the used EOL char(s) - LF, CR/LF, CR). | |
# use \t or %ws% for an indentation step, it will be replaced according to the current document's indent mode. | |
# use \s to force whitespace at beginning or end of a value ('key= value' won't work, use 'key=\svalue'). | |
# use %key% for all keys defined in the [Special] section. | |
# use %cursor% to define where the cursor should be placed after completion. You can define multiple | |
# %cursor% wildcards and use the "Move cursor in snippet" to jump to the next defined cursor | |
# position in the completed snippet. | |
# You can define a section for each supported filetype to overwrite default settings, the section |
###Making the tablet useful
####Enabling apt-get and installing normal apps Follow this guide
uname -a
lsb_release -a
lscpu
cat /proc/cpuinfo
mkdir .ssh
/* makes a small report of all tickets with details on orders */ | |
SELECT DISTINCT | |
TICKET.ID, | |
CREATE_DATE, | |
TICKET.TOTAL_PRICE, | |
TICKET.PAID_AMOUNT, | |
CAST( VOIDED AS UNSIGNED) AS VOIDED, | |
PAYMENT_TYPE, (SELECT GROUP_CONCAT( CATEGORY_NAME, ".", ITEM_NAME,": ", ITEM_PRICE SEPARATOR ', ') | |
FROM TICKET_ITEM | |
WHERE TICKET_ITEM.TICKET_ID = TICKET.ID |
{ | |
"fileExtensions": [".less", ".css"], | |
"excludedFiles": ["src/less/*.less"], | |
"spaceAfterPropertyColon": { | |
"enabled": true, | |
"style": "one_space" // Comments are allowed | |
}, | |
"maxCharPerLine": 999999, | |
"spaceAfterPropertyColon": "no_space", | |
"urlQuotes": false, |
/* FROM LESS */ | |
svg.clock { | |
background: #ffffff; | |
width: 120px; | |
height: 120px; | |
/* Don't define height - not overridable */ | |
fill: none; | |
/* time markers */ | |
/* Clock face and center */ | |
} |
I tried to run https://dev.to/andraconnect/augmented-reality-in-10-lines-of-html and https://github.com/jeromeetienne/ar.js from my own computer and got the following error:
Can't access user media :()
This error comes from:
https://github.com/jeromeetienne/jsartoolkit-experiments/blob/master/basic.html Line 100: navigator.getUserMedia
0x0a47bDaf1b1FD7E79273e286717Cb001cc05Bc48 |
// http://www.teacherschoice.com.au/Maths_Library/Trigonometry/triangle_given_3_points.htm | |
const triangle = { | |
corners: {}, | |
angles:{}, | |
sides: {}, | |
create: function (a,b,c,d,e,f) { | |
this.corners.A = [ a, b ], | |
this.corners.B = [ c, d ], | |
this.corners.C = [ e, f ] | |
return this; |
// hard disk holder | |
module stand( | |
wall=3, | |
height=20, | |
dw=20, | |
dd=80 | |
) { | |
wall2 = wall*2; |