Linuxmag is onderdeel van Reshift Digital BV
Copyright © 2022
Linuxmag.nl is partner van The Linux Foundation
dikte=10; orde=10; boom(dikte,orde); module boom(d,o) { max_orde=13; o = (o > max_orde) ? max_orde : o; cube([d, d, d], center=true); tak =...
Read moreArjan ten Hoopen LISTING 1 arjan@arjanpc:~> dnsping www.linuxmag.nl dnsping DNS: 10.0.0.150:53, hostname: www.linuxmag.nl, rdatatype: A 41 bytes from 10.0.0.150: seq=0 time=80.446 ms 41 bytes from 10.0.0.150: seq=1 time=0.723 ms 41...
Read moreJe kan het zip bestand HIER downloaden. De link voor Google Streetview: https://www.google.com/maps/@52.4093912,5.2786577,3a,75y,162.34h,13.64t/data=!3m6!1e1!3m4!1sAF1QipMWnmlgc3CmFXGjLZCZseF-aaA5i-foVeRnYzq4!2e10!7i7200!8i3600
Read more#include <stdio.h> #include <pigpio.h> #include <stdlib.h> void start_traffic_light() { printf("Button for traffic is pushed.\n"); time_sleep(0.5); printf("Letting traffic pass.\n"); gpioWrite(15,0); ...
Read more# Something Stranger use_bpm 60 p = (ring :e4, :g4, :b4, :c5) p = p + p.reverse s = (ring 1.0, 0.75, 0.25, 1.0, 1.0) live_loop :theme do play...
Read moreDit is het script waar de url naartoe zou gaan in het Network File System artikel van Arjan ten Hoopen. #!/bin/bash # # Auteur: Arjan ten Hoopen # #...
Read moresystemctl daemon-reload systemctl start icecast ices-Arjan systemctl enable icecast ices-Arjan
Read more# # Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org> # Authors: # * Pascal Bleser # * http://pyn00b.blogspot.be/2012/11/life-with-systemd-part-2.html # * Werner Fink for the postfix.service file # * Arjan ten Hoopen...
Read more<?xml version="1.0"?> <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices"> <Playlist> <!-- This is the filename used as a playlist when using the builtin playlist handler. --> <File>/etc/ices/Arjan/Arjan.txt</File> <!-- Set this to 0 if you...
Read moreimport time import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) knoppen = [5, 6, 13, 19] GPIO.setup(knoppen, GPIO.IN, pull_up_down=GPIO.PUD_UP) def knop_ingedrukt(pin): print('knop %s'%(knoppen.index(pin)+1)) for knop in knoppen: ...
Read more