Skip to content

Devils Heaven

  • Imprint

Gitlab Runner: Finally use your Raspberry Pi

Leave a Comment / Raspberry Pi / By Andreas Teufel

You got a Raspberry PI at home, but you don´t know what to do with it? With some very simple steps, you can turn it into a Gitlab Runner.

Facebook JavaScript SDK – Photo upload from Canvas

3 Comments / Facebook, JavaScript, Social Media / By Andreas Teufel

This article explains how to upload a photo to Facebook with the Graph API, directly from a Canvas element. No server is needed, as in my recent article about Facebook upload with FormData.

Facebook JavaScript SDK – Photo upload with FormData

5 Comments / Social Media, Facebook, JavaScript / By Andreas Teufel

Uploading a photo to Facebook is quite easy if the photo is on a server already. This tutorials explains how to upload a photo to Facebook directly from the device with FormData, without the need to upload in on a server first.

Building a Lazy Loader for React

Leave a Comment / JavaScript, React / By Andreas Teufel

I recently needed to create a Table/List that loads very fast. The main problem of the existing components for lazy loading is that they are not very flexible, children height must be constant and there is a lot of super-fancy (aka complicated) code involved. So i created a much easier one that just loads everything …

Building a Lazy Loader for React Read More »

Facebook PHP SDK 5.0 Tutorial

74 Comments / Facebook, Social Media / By Andreas Teufel

As a guy who prefers to use modern stuff like Node.js instead of crappy old PHP, I´m not really a fan of the Facebook PHP SDK. But sometimes you just need to use it – so here´s a basic tutorial for the current Facebook PHP SDK, they bumped it up a major version so i …

Facebook PHP SDK 5.0 Tutorial Read More »

Raspberry Pi for N00bs – Compiling and Installing Node.js

3 Comments / Node.js, Raspberry Pi / By Andreas Teufel

Since i am a big fan of Node.js and wanted to use the latest version on my Raspberry, i´ll explain how to install it in this article. We´ll take the pro route this time and compile Node.js on our own, because we want the latest Node.js version and they are not very fast with the …

Raspberry Pi for N00bs – Compiling and Installing Node.js Read More »

Raspberry Pi for N00bs – Minecraft Server

6 Comments / Raspberry Pi / By Andreas Teufel

While the older Raspberry versions (A/B/B+) may not be up for the task, you can easily use the Raspberry 2 for a Minecraft server. At least 5 concurrent users are no problem at all, depending on your bandwidth. My Raspberry 2 did not use more than 300% CPU in a test, which is actually 75% …

Raspberry Pi for N00bs – Minecraft Server Read More »

Raspberry Pi for N00bs – Monitoring

Leave a Comment / Raspberry Pi / By Andreas Teufel

After getting your Raspberry Pi up and running, you may want to know what´s going on with the processor, memory, temperature and stuff. You can do this with your own scripts and Cron Jobs, but i´ll also present some advanced tools in this article.

Raspberry Pi for N00bs – Startup Scripts

3 Comments / Raspberry Pi / By Andreas Teufel

You already know how to run scripts periodically with a cron job if you read my last blogpost about the Raspberry Pi. This time i will explain how to run scripts on startup. Because you do want to restart your Minecraft server when the Raspberry Pi crashes, right? 😉

Facebook API – Login with the JavaScript SDK

21 Comments / Facebook, JavaScript, Social Media / By Andreas Teufel

I´ve seen a lot of weird coding happening around Login with the Facebook JavaScript SDK, so here is one good solution with explanation.

Posts navigation
1 2 3 Next Page →
Copyright © 2023 Devils Heaven | Powered by Astra WordPress Theme