A comparison of nvm and Volta to manage Node.js projects (without Yarn).
nvm install| echo code --install-extension | |
| code --install-extension aaron-bond.better-comments | |
| code --install-extension alefragnani.project-manager | |
| code --install-extension ardenivanov.svelte-intellisense | |
| code --install-extension cbuelter.vscode-toggle-max-editor | |
| code --install-extension christian-kohler.path-intellisense | |
| code --install-extension DavidAnson.vscode-markdownlint | |
| code --install-extension dbaeumer.vscode-eslint | |
| code --install-extension donjayamanne.githistory | |
| code --install-extension dracula-theme.theme-dracula |
| {"lastUpload":"2020-08-13T16:51:00.817Z","extensionVersion":"v3.4.3"} |
| JSONStream = require('JSONStream'); | |
| es = require('event-stream'); | |
| fileStream = storage.bucket('your-bucket').file('your-JSON-file').createReadStream(); | |
| db = admin.firestore(); | |
| return new Promise( (resolve, reject) => { | |
| batchPromises = []; | |
| batchSize = 0; | |
| batch = db.batch(); |
Nespresso Expert machine has the Bluetooth ability which officially can be used only by Nespresso mobile app and it does not offer any API for 3rd party applications and services. Moreover, the Bluetooth services and characteristics are not documented and easy to use by the other Bluetooth libraries plus there is no documentation for the Bluetooth packets payload that need to be sent or received.
However, after searching a lot and sniffing the packets for a couple of days, I've been able to hack the machine and write the small nodejs application using noble and express to control and monitor the machine with Rest API exposed by express through Bluetooth connection. As I did this application for my ex-company and they are still using it for their demo I cannot share the code but I'm going to explain how it works.
_Thanks to this
Data Down / Actions Up
Plain JSBin's
Ember Version Base JSBin's
| # | |
| # Author: Riyad Preukschas <riyad@informatik.uni-bremen.de> | |
| # License: Mozilla Public License 2.0 | |
| # | |
| # Loads an unsafe (i.e. with several security features disabled) instance of | |
| # Chrome with a temporary profile (i.e. all data is lost once Chrome is closed) | |
| chrome-unsafe() { | |
| # for Homebrew Cask (see http://caskroom.io/) compatibility | |
| local -a CHROME_PATHS |
In addition to the techniques described in the
Asynchronous Routing Guide,
the Ember Router provides powerful yet overridable
conventions for customizing asynchronous transitions
between routes by making use of error and loading
substates.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset=utf-8 /> | |
| <title>JS Bin</title> | |
| <script src="http://code.jquery.com/jquery-1.9.1.js"></script> | |
| <script src="http://builds.emberjs.com/handlebars-1.0.0.js"></script> | |
| <script src="http://builds.emberjs.com/ember-latest.js"></script> | |
| </head> | |
| <body> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="//code.jquery.com/jquery-1.9.1.min.js"></script> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0-rc.3/handlebars.js"></script> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/ember.js/1.0.0-rc.3/ember.js"></script> | |
| <script src="//maps.googleapis.com/maps/api/js?sensor=false"></script> | |
| </head> | |
| <body> | |
| <script> |