- Use nodejs without installing it on the host OS
- Use docker-compose to accomplish this
- On your local/remote machine:
curl https://gist.githubusercontent.com/learnwell/953aa51d2322dad484178f3738513c71/raw/docker-compose.yml > docker-compose.yml`
| A uniform disk turns at 2.4 rev/s around a frinctionless spindle. A nonrotating rod, of the | |
| same mass as the disk and length equal to the disk's diameter, is dropped onto the freely | |
| spinning disk. They then both turn around the spindle with their centers superposed. What is | |
| the angular frequency in rev/s of the combination? |
Use filter() method to check if an array of object includes what we seek via TypeScript Sandbox online: https://typescript-play.js.org/#code/Q
// testing how the out-of-box `filter` for ES6 ecma works without utilities like lodash
// https://typescript-play.js.org/#code/Q
let knownFiles = [
{ file: 'xxx', status: 0 },| <div class="container"> | |
| <div class="row"> | |
| <div class="col-4 bg-secondary"> | |
| .row > .col-xs-4 | |
| </div> | |
| <div class="col-4 bg-primary"> | |
| .row > .col-xs-4 | |
| this is | |
| a much | |
| taller |
| // https://pdfkit.org/demo/browser.html | |
| // create a document and pipe to a blob | |
| var doc = new PDFDocument(); | |
| var stream = doc.pipe(blobStream()); | |
| doc.text('hello'); | |
| doc.text(lorem, { | |
| columns: 3, |
| // create a document and pipe to a blob | |
| var doc = new PDFDocument(); | |
| var stream = doc.pipe(blobStream()); | |
| doc.text('MY COVER PAGE'); | |
| doc.text('i will not add a page number in the footer here'); | |
| doc.text('please scroll down to see other pages'); | |
| doc.text('they do have page numbers starting with 1'); | |
| function footer(counter) { |
| %% Setup to use an index card | |
| \documentclass[10pt]{book} | |
| \usepackage[vcentering,dvips]{geometry} | |
| \geometry{papersize={3in,5in},total={2.9in,4.9in}} | |
| %% render a frame marking the margins of a document | |
| % \usepackage{showframe} | |
| %% show landscape view | |
| \usepackage{pdflscape} |