sudo apt-get -y install yasm \
libavcodec-dev libavformat-dev libswscale-dev \
libxcb-shm0-dev libxcb-composite0-dev libxcb-xv0-dev \
libgcrypt20-dev libqt4-dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(root,factory) { | |
if (typeof define === 'function' && define.amd) { define(['underscore'], factory); } | |
else if (typeof exports === 'object') { module.exports = factory(require('underscore')); } | |
else { root.returnExports = factory(root.underscore); } | |
}(this, function(_) { | |
'use strict'; | |
return { | |
// thing public interface | |
}; | |
})); |
- Notepad++
- Atom (text editor) https://atom.io
- TortoiseGit + git bash
- Node
node-v4.4.4-x64
- MongoDB
- https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/
- https://support.microsoft.com/en-us/kb/2731284
mongodb-win32-x86_64-2008plus-ssl-3.2.7-signed.msi
C:\mongodb\bin\mongod.exe --dbpath "d:\test\mongo db data"
{"requireType":"scripterror","requireModules":["galleria"],"originalError":{"isTrusted":true}} main.js:30:3
Error: Script error for "galleria", needed by: app
http://requirejs.org/docs/errors.html#scripterror
The error occurs for a variety of reasons, but with no actual useful detail.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This works as intended: | |
``` | |
updcss: { | |
files:[ | |
{ | |
cwd: 'deps/pure', | |
expand: true, | |
nonull: true, | |
flatten: true, | |
src: '**/*.css', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function myFunction() { | |
var startRow = 2; // First row of data to process | |
var numRows = 16; // Number of rows to process | |
//startRow = 13; | |
//numRows = 1; | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
// Columns expected: Name, Extended Price, Email1, Email2, Purchase Order | |
var files = DriveApp.getFilesByName("EXAMPLE TAX INVOICE.docx"); |
Contrasty option that worked:
//My pins on teensy 32
Adafruit_PCD8544 display = Adafruit_PCD8544(2, 3, 9, 20, 10);
display.begin(45, 3);
// and comment this out --> // display.setContrast(45);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sendEmails() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var startRow = 2; // First row of data to process | |
var numRows = 2; // Number of rows to process | |
// Fetch the range of cells A2:B3 | |
var dataRange = sheet.getRange(startRow, 1, numRows, 2) // r, c, NR, NC | |
// Fetch values for each row in the Range. | |
var data = dataRange.getValues(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function listFilesInFolder(id) { | |
var folder = DriveApp.getFolderById('MyFolderID'); | |
var contents = folder.getFiles(); | |
var file; | |
var name; | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var date; | |
var size; | |
sheet.clear(); |
Client Gateway Broker
| | |
PUBLISH() -->| --- SERCHGW ----> | |
| <-- GWINFO ----- | |
| --- CONNECT ----> | |
| <--WILLTOPICREQ-- | |
| --- WILLTOPIC --> | |
| <-- WILLMSGREQ -- | |
| --- WILLMSG ----> | ---- CONNECT ----> |(accepted)