Image Image Image Image Image
Scroll to Top

To Top

Node.js

22

Mrz
2018

inNode.js

vonJohannes Hoppe

html2pdf converter

On 22, Mrz 2018 | inNode.js | vonJohannes Hoppe

screenshot

I made a super simple online service to convert websites to PDF files. It uses nodejs/express and a headless chrome (puppeteer) which makes it very bulletproof and easy to install. No struggling around with PhantomJS (no X11 or Xvfb) binaries.
It simply works and does the job. That’s all. 😀

https://github.com/JohannesHoppe/puppeteer-html2pdf

29

Mai
2015

inNode.js

vonJohannes Hoppe

Neues Video: Internet of Things mit Node.js und dem Grove Starter Kit

On 29, Mai 2015 | inNode.js | vonJohannes Hoppe

Thumbnail

Dieser Vortrag wurde am 20.05.2015 bei dem „Karlsruher Entwicklertag 2015“ aufgenommen.

Wenn Sie früher einen Elektrobaukasten hatten, dann wird Ihnen das Galileo-Board mit dem modularen Grove-Bausatz gefallen. Johannes Hoppe zeigt, wie Sie mit dem Arduino-kompatiblen Board und der Programmiersprache JavaScript kreative Ideen umsetzen können. Mithilfe des „Intel XDK IoT Edition“ werden Szenarien für Sensoren wie Touch, Licht und Temperatur sowie für Aktoren wie Relais, LED und Piezo-Signalgeber vorgestellt und während des Vortrags direkt einprogrammiert. Johannes Hoppe stellt das Arduino-System, das Galileo-Board, das „Seeed Studio Grove starter kit plus – Intel IoT Edition for Intel Galileo Gen 2“ sowie die Entwicklungsumgebung „Intel XDK IoT Edition“ vor.

Inhalt

00:00 – Einleitung
05:13 – Vorstellung Arduino
09:08 – Vorstellung Intel Galileo
18:13 – Vorstellung Seeed Studio Grove
22:24 – Vorstellung Node.js
23:24 – LiveCoding mit dem Intel XDK IoT Edition

Weiterlesen…

23

Mrz
2015

inAngularJS
Node.js

vonJohannes Hoppe

Spartakiade: IoT with JavaScript – Examples for node.js & AngularJS

On 23, Mrz 2015 | inAngularJS, Node.js | vonJohannes Hoppe

» iotapp-local-temperature

This app shows how to run a node.js server on an Intel Galileo board. It uses the Grove temperature sensor to periodically read the current room temperature. The temperature is shown on a LCD display. Additionally the server accepts WebSocket connections via socket.io. Connected clients will be periodically informed about the current temperature. This is a fork of the „Local Temperature Node.js sample application“ which is distributed with the Intel® XDK IoT Edition. The code is completely refactored now.

output_lcd_display

 

» iot-companion-spartakiade-app

The “Spartakiade App” is an hybrid app which runs on all smartphones. It utilizes Apache Cordova, AngularJS and the Ionic Framework. It connects to the node.js server and displays the last captured temperatures via chart.js. This is a full replacement for the original Local Temperature Companion App.

screenshot_spartakiade_app

14

Feb
2015

inNode.js

vonJohannes Hoppe

Introducing node-debug for ‪Gulp

On 14, Feb 2015 | inNode.js | vonJohannes Hoppe

gulp-node-debug

gulp_hero

I created a wrapper around node-inspector for gulp, it has the same functionality as the node-debug command. Node-debug for gulp is available on Github and NPM.

It’s perfect for development and easy to use.

  1. Runs node-inspector.
  2. Runs the supplied script in debug mode
  3. Opens the user’s browser, pointing it at the inspector.
node-inspector

 

Installation

npm install gulp-node-debug --save-dev

Usage

This is the minimal setup. The file app.js will be debugged with default values.

// gulpfile.js
var gulp = require('gulp');
var nodeDebug = require('gulp-node-debug');
gulp.task('debug', function() {
 
    gulp.src(['app.js'])
        .pipe(nodeDebug());
});

Add debugBrk: true if your script finishes immediately:

// gulpfile.js
var gulp = require('gulp');
var nodeDebug = require('gulp-node-debug');
gulp.task('debug', function() {
 
    gulp.src(['app.js'])
        .pipe(nodeDebug({
            debugBrk: true
        }));
});

30

Nov
2012

inNode.js

vonJohannes Hoppe

SolarTournament – November 2012 Update

On 30, Nov 2012 | inNode.js | vonJohannes Hoppe

After some busy months I published a new version of SolarTournament to Azure. The public git repository was updated, too.

Under the hood it’s a massive rewrite of the client-side code. I would like to thank Ingmar Wietig for his great work. He is definitely more skilled in math and general game related concepts than me! :-)

Improvements of the physics engine:

  • free 360° movement; it’s now possible to fly a loop
  • the spaceships model gets a tilt when changing direction
  • new collision detection that calculates the intersection of meshes
  • third-person view

18

Sep
2012

inGeneral
Node.js

vonJohannes Hoppe

WDC 2012: Die Zukunft von Browser-Games mit HTML5 und WebGL

On 18, Sep 2012 | inGeneral, Node.js | vonJohannes Hoppe

Mit HTML5 & JavaScript lassen sich Browser-Games kreieren, die vormals nur mit proprietären Plugins möglich waren. Dazu zählen hardwarebeschleunigte 3D-Grafiken, welche über den WebGL-Standard unterstützt werden. Johannes Hoppe stellt die Tools und Technologien vor, die für die Erstellung von SolarTournament verwendet wurden. Allen Teilnehmern wird der Source-Code dieses Multiplayer 3D Action-Shooters sowie eine Auswahl der Arbeitsdateien zur Verfügung gestellt.


Demos:

01. Rotating Cube
02. Cube with Texture
03. Complex Model
04. Cube Explosion
SolarTournament

Download:

SolarTournament auf GitHub

17

Sep
2012

inNode.js
NoSQL

vonJohannes Hoppe

WDC 2012: Node.js & MongoDB – Folien und Downloads

On 17, Sep 2012 | inNode.js, NoSQL | vonJohannes Hoppe

Zwei neue Technologien für die Cloud sind das JavaScript-Framework Node.js und die NoSQL-Datenbank MongoDB. Johannes Hoppe gibt einen Schnellstart in die beiden Open-Source-Systeme.


Downloads:

19

Mrz
2012

inNode.js
NoSQL

vonJohannes Hoppe

Getting started with Node.js and MongoDB on MS Azure – Slides and VIDEO

On 19, Mrz 2012 | inNode.js, NoSQL | vonJohannes Hoppe

Johannes at MongoDB Berlin 2012

It was a  great pleasure to attend the MongoDB workshops and to speak at the conference about Node.js and MongoDB on MS Azure. Here are my slides and the recorded Video:


Tags | , , ,

19

Mrz
2012

inNode.js
NoSQL

vonJohannes Hoppe

Introducing SolarTournament

On 19, Mrz 2012 | inNode.js, NoSQL | vonJohannes Hoppe

For my latest talk I have prepared a node.js demo project, called „SolarTournament“. It demonstrates a bunch of technologies.
But first of all: Let’s have some fun and enter the live multiplayer tournament!

Don’t get confused: At the moment you can’t destroy other players spaceships, only asteroids. It’s simply not implemented. Or in other words: Nobody gets harmed! ;-)

Screenshot

This is demo code

The game is based on Node.js and uses the express web development framework, the Jade template engine, the Stylus CSS engine, Socket.IO for WebSocket communication and last but not least MongoDB – for storing the highscore. (this feature is not online at the moment)

Tags | , , ,