[Comparison] optocoupler for triacs (with zero-crossing)
pricing from farnell-distributor (1 piece) all optocouplers with built-in zero-crossing (= usable with triacs) company modell I_FT in mA I_TM in mA V_DRM in V price in euro (01/2017) Vishay IL4118 1,3 300 800 4,55 Toshiba TLP3064 3,0 100 … Continued
[Howto] use GPIO from Raspberry Pi
the Linux-Kernel manages the GPIO-system under the path /sys/class/gpio. Use the following commands to manage the pins (e.g. GPIO 17): activate GPIO 17: echo 17 > /sys/class/gpio/export deactivate GPIO 17: echo 17 > /sys/class/gpio/unexport configure GPIO 17 as … Continued
[Howto] configure your Grandstream phone for Sipgate VoIP
the minimal working configuration for an sipgate.de SIP-Account is: SIP Server = sipgate.de SIP User ID = <enter-your-user-id-here> SIP Authenticate ID = <enter-your-user-id-here> SIP Password = <enter-your-password-here> Now the phone can register itself through the SIP-protocol at your provider, e.g. … Continued
[Howto] send disk to idle / standby OR set idle / standby timer (FreeBSD)
you can use the CAM-Subsystem from FreeBSD to control your disks. list available disks: camcontrol devlist list disk-information about disk /dev/ada0: camcontrol identify /dev/ada0 send disk /dev/ada0 to idle state: camcontrol idle /dev/ada0 send disk /dev/ada0 to standby state: camcontrol … Continued
[Howto] use videojs with HLS (videojs-contrib-hls.js)
checkout the live-example from http://jsbin.com/liwecukasi/edit?html,output The live-example code is: <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>videojs-contrib-hls embed</title> <link href=”https://cdnjs.cloudflare.com/ajax/libs/video.js/5.10.2/alt/video-js-cdn.css” rel=”stylesheet”> <script src=”https://cdnjs.cloudflare.com/ajax/libs/video.js/5.10.2/video.js”></script> <script src=”https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/3.0.2/videojs-contrib-hls.js”></script> </head> <body> <h1>Video.js Example Embed</h1> <video id=”my_video_1″ class=”video-js vjs-default-skin” controls preload=”auto” width=”640″ height=”268″ data-setup='{}’> <source … Continued
[Howto] debug Horde Groupware
If you receive this webserver-error while querying the horde website [core:notice] [pid 18909:tid 34391285760] AH00052: child pid 18911 exit signal Bus error (10) it is an error in the processing of the horde *.php files, which often cause the killing … Continued
[Howto] modify Midnight Commander keymap options (shortcuts)
the default keymap shortcuts in mc-4.8.18 are stored in the file ~/.config/mc/mc.keymap: 1 [main] 2 ChangePanel = tab 3 Help = f1 4 UserMenu = f2 5 View = f3 6 # ViewFile = 7 Edit = f4 8 # … Continued
[Howto] disable encrypted typo3 backend login
Typo3 v7.6.14 edit the file typo3conf/LocalConfiguration.php and change the security level from rsa (default) to normal loginSecurityLevel’ = ‘normal’
[Howto] resolve very slow aptitude ‘package list’-updates
problem: the update-process for aptitudes “reading package list” takes a very long time. reason: the $LANGUAGE-variable has a wrong value. solution: set a correct value in bash via export LANGUAGE=en and afterwards restart aptitude.
[Howto] create PostgreSQL database with UTF-8 encoding
postgreSQL v9.6 CREATE DATABASE testdb ENCODING ‘utf8’ LC_COLLATE ‘de_DE.UTF-8’ LC_CTYPE ‘de_DE.UTF-8’ TEMPLATE template0;