Autorenname: Florian

Systemadministrator aus Bamberg.

How often can you crash your FPV race quads in one weekend?

We went out to fly,  and this time there really was a lot of crashing involved. That’s just the way it’s supposed to be if you’re learning to fly, I guess. Especially if you’re trying to pass things with as little distance as as possible, flying proximity, and if you max out the physics of

How often can you crash your FPV race quads in one weekend? Read More »

Magento Database import: Errno 150

In case your Magento database import fails with errno 150, here’s a quick solution: Put the following statements on top of your import script: SET SQL_MODE=“NO_AUTO_VALUE_ON_ZERO“; SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT; SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS; SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION; SET NAMES utf8; SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE=’NO_AUTO_VALUE_ON_ZERO‘; SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0; Put the following statements at the end of your import script: SET SQL_MODE=@OLD_SQL_MODE;

Magento Database import: Errno 150 Read More »

Connecting the Eachine Racer 180 to Betaflight in Linux

This udev rule worked out just fine: ​rephlex@hera:~$ cat /etc/udev/rules.d/45-stdfu-permissions.rules  # DFU (Internal bootloader for STM32 MCUs) ACTION==“add“, SUBSYSTEM==“usb“, ATTRS{idVendor}==“0483″, ATTRS{idProduct}==“ea60″, MODE=“0664″, GROUP=“plugdev“ Everytime you plug the Eachine in, be sure to  sudo chmod 777 /dev/ttyUSB0 in order to get permission to the serial/USB port as regular user. Now just run the Betaflight Configurator using

Connecting the Eachine Racer 180 to Betaflight in Linux Read More »

Mit Linux und ffmpeg zu Youtube streamen

VBR=“3500k“ # bitrate FPS=“30″ # framerate KEYFRAMEINT=“40″ # keyframe interval QUAL=“medium“ # ffpmeg quality preset YOUTUBE_URL=“rtmp://a.rtmp.youtube.com/live2″ # youtube rtmp url KEY=“XXXX-XXXX-XXXX-XXXX“ sudo modprobe snd_aloop alsactl restore while true do ffmpeg -err_detect explode -thread_queue_size 16384 \ -f alsa -ac 2 -i pulse \ -f v4l2 -video_size 864×480 -thread_queue_size 16384 -i /dev/video1 -deinterlace \ \ -vcodec libx264

Mit Linux und ffmpeg zu Youtube streamen Read More »

Unable to negotiate with [IP] port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1

If you ever encounter this error, add the line KexAlgorithms=+diffie-hellman-group1-sha1 at the end of your /etc/ssh/ssh_config file. Bonus: One-Liner for the impatient sudo echo „KexAlgorithms=+diffie-hellman-group1-sha1“ >> /etc/ssh/ssh_config  

Unable to negotiate with [IP] port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 Read More »

HOWTO: OpenBSD Pakete und Ports aktualisieren

Update der OpenBSD-Pakete pkg_add -Uu -vvvvv Update der OpenBSD-Ports Neueste Ports herunterladen: cvs -qd anoncvs@anoncvs.usa.openbsd.org:/cvs get -rOPENBSD_`uname -r | sed ’s/\./_/’` -P ports Veraltete Ports suchen /usr/ports/infrastructure/bin/out-of-date Beispiel: databases/pkglocatedb # 1.2 -> 1.1 devel/quirks # 2.197 -> 2.114 misc/screen # 4.0.3p5 -> 4.0.3p6 Hier würde das Paket misc/screen ein Update benötigen: cd /usr/ports/misc/screen make update

HOWTO: OpenBSD Pakete und Ports aktualisieren Read More »

Nach oben scrollen