~/.dosbox/dosbox-*.conf
;-------- bottom part
[autoexec]
# Lines in this section will be run at startup.
# You can put your MOUNT lines here.
mount c: /home/myusername/projects/dos
c:
The files
A.BAT – Runs editor, masm,linker (start with a<space>progname
DEBUG.COM – msdos debugger
EXE2BIN.EXE – exe to com (if segments allow)
GFX.ASM – example template (see below)
LINK.EXE – masm linker
MASM.EXE – masm compiler
Q* – editor stuff
Q.EXE – editor
SR.EXE – sourcer
SYMDEB.EXE
TASM.EXE – turbo assembler
TD.EXE – turbo debugger
TLINK.EXE – turbo linker
Template
; everything in 64k CS, DS, and SS are the same
.model small
; start pointer
.stack 100h
.code
start:
; set mode 13 (320x200 * 265 colors palette)
mov ah,0
mov al,13h
int 10h
; set pixel in the middle color 2 (cyan)
mov ah,0ch
mov al,2
mov cx,160
mov dx,100
int 10h
; wait key input
mov ah,0
int 16h
; set mode back to text
mov ah,0
mov al,3
int 10h
; exit to dos
mov ax,4c00h
int 21h
end start
Usage
start dosbox a gfx (edit gfx.asm example) esc, q, e gfx (run program)
Although not original music written for the movie, because Tarantino likes to pick out tunes to fit the scenes. 3/4 Of the music of Kill Bill is amazing!
Shooglenifty – Celtic Fusion ( The recordings with Angus )
The Sidh
Ross Ainsley Partners in Crime (with Jarlath Henderson)
Fred Morrison All of his CD’s His tunes played others Breizh by Claymore pipes and Drums, I will put my version online also.
Gordon Duncan Thunderstruck, bellydancer, fourth floor, Pressed for time, Sleeping tune and many more
Manran
Kyle Warren Sampled
Fraser Shaw Air Chall (I play this one on tinwhistle)
Martyn Bennett Mackay’s Memoirs (Based around the theme and first variation of the piobaireachd ‘Lament For Mary MacLeod’)
Callum Armstrong ( Branschke/Armstrong Duo ) Like his tune Burrito Hurricane on a Triple Chanter!
Tunes:
Jutland by Tommy O’Sullivan (We play this one with our Folkband, I play this on Uilleann) Versions I like: Paddy Keenan and Tommy O’Sullivan Michael McGoldrick and John McSherry
Bellydancer by Gordon Duncan Tape on B and F sound holes to produce the Middle-Easterny, B-flat phrygian scale. Gordon Duncan – Thunderstruck CD Session A9
I’ve got many, some can’t be found online in a streaming service
(Maybe i’ll add some track info)
One of the first I bought because I had some cassette tapes with the Corries. Legends in Scottish Folk
PM of the Shotts and Dykehead. I’ve met the guy on a contest on the mainland, and got to speak to him and his mate Jimmy Killpatrick. Liked his melodies, some easy to play but always interesting. On of the first tunes I played with a natural C was Ebb-Tide.
This CD made me fall in love with “Cauld wind pipes” (Not mouth blown) There are many kinds of pipes on this CD. It made me want to have a set of smallpipes.
Dick Lee’s Book
Again amazing stuff, fusion of instruments and styles. Dick Lee plays clarinets, saxes and melodicas. But composed as a non-piper amazing tunes! With the amazing playing of Hamish Moore, a joy for your ears! https://pipetunesearch.henriaanstoot.nl/?select=listbook&book=DICKLEE
He died far to young, this amazing musical wonder. Hard to explain his style. From Classical piping to electronical music.
Example uses a shelly sensor, which has a offset mode in its new firmware. So below is not needed any more. But the example can be used for any calibration/adjustments.
I’ve put two examples in the NodeRed function
First the solution
var temperature=msg.payload.tC;
var humidity=msg.payload.tF;
// calc new offset example
// simple offset + 2.3 off real measurement
msg.payload.tC=temperature + 2.3;
// more complex example
// take two measurements (with a big difference)
msg.payload.tF=1.11 * (humidity - 1);
return msg;
First adjustment is plus or minus a value. Second is more precise when the temperature needs more adjusting
Dots on the red line are measured values Blue is how it should be
So measured was 2.8 but should be 2 And measured 14.5 but needs to be 15
slope = (14.5-2.8)/(15-2) = 0.9
To get the multiplication factor = 1/0.9 = 1.1111
=(2.8-heightadjust)*1,1111 should give us 2
2/1.1111 = 2.8 – heightadjust
1.8 = 2.8 – heightadjust = 1
So the formula is realhumid = 1,1111 * ( measuredhumid – adjust )
Moving dhcp from isc-dhcp-server to Mikrotik. And playing with theDude and speedtesting.
I got an old linux gateway which only runs a dhcp server. Time to move this to a Mikrotik router.
The config on this isc-dhcp-server is huge! So i was planning to migrate some one by one by hand. Maybe writing a script to do this automatically later on.
I’ve got loads of static configured hosts, so I change these
Change static entry in dhcp to a deny booting entry
The dude is a cool tool which connects to your MT and generates all kinds of cool info. I was trying to get the frequency spectral scan working. But it generates a nice network map also.
Easy to install under linux
Install wine
Download thedude from the MT website
start “wine dude_install.exe”
cd ” /home/$USER/.wine/drive_c/Program Files (x86)/Dude”
wine dude.exe
While moving a lot from my gateway to Mikrotik, I still have to come up with a plan to migrate my netboot.xyz PXE server to TFTP/ipxe using a migrated dhcpd server. I probably end up using a separate dhcp instance which handles only the PXE requests.
I was playing around with Phantomjs a headless browser. Using this as a scraper for a ajax enabled site.
After scraping a wallpaper site, I wanted to take the big pictures and display these as background.
First sort and resize to a better size.
Below does the following:
Image width larger than 1800 AND
Image height larger than 900
Resize to 1920×1080 ( enlarge or reduce size )
Not screen filling (portrait mode) ? Than add black bars on the side.
Place the image in wallpaper directory
Convert script, if you resize huge images beforehand, you safe cpu resources later. You also can place other colors or even another background instead of black.
mkdir -p wallpaper
ls * | while read ; do
info=$(identify "$REPLY" | awk '{ print $3 }' 2>/dev/null)
height=$( echo $info | cut -f2 -dx)
width=$( echo $info | cut -f1 -dx)
if [ $width -gt 1800 ] && [ $height -gt 900 ] ; then
convert -resize 1920x1080 -gravity center -background black -extent 1920x1080 "$REPLY" "wallpaper/$REPLY"
fi
done
Set a random wallpaper as background using cron.
#!/bin/bash
DISPLAY=":0.0"
XAUTHORITY="/home/henri/.Xauthority"
XDG_RUNTIME_DIR="/run/user/1000"
cd /home/henri/Pictures/
getranpic=$(ls wallpaper/ |sort -R |tail -1)
#gsettings set org.gnome.desktop.background picture-options 'wallpaper'
#Set different modes ( enum 'none' 'wallpaper' 'centered' 'scaled' 'stretched' 'zoom' 'spanned' )
gsettings set org.gnome.desktop.background picture-uri-dark "$(realpath wallpaper/$getranpic)"
logger "$(realpath $getranpic)"
Using some python and a scraped list I can now mark which movies we’ve seen, or have to see. (Own the movie or have it seen streamed in the cinema)
I just have to place a X after the title in the first column. Run the python script, and presto
First column, the list we started with. Second column, mark the movie. 3rd until the end .. years 2000-2023
Blue – seen Light Blue – seen but was not in original list (so a new movie) Green – have this movie, but still have to watch it Light Green – Have this movie but it’s not in the original list Orange – New in that year (could be an oldie reemerging in the top 250)
Now the python script, maybe it useful for you.
# 20230813 18:49 IMDB overview
# pip install openpyxl
import openpyxl
from openpyxl.styles import PatternFill
from openpyxl.styles.colors import Color
wb = openpyxl.load_workbook("clearsheet.xlsx")
sheet = wb['Sheet1']
colors = ['00660066', '00FFFFCC',
'007b8cf2', '005ace97', '00ffac58','00dddddd','009bd8ff','007aeeb7']
fillers = []
for color in colors:
temp = PatternFill(patternType='solid',
fgColor=color)
fillers.append(temp)
# Mark found previous years
for colt in range(4, 27):
for colr in range(3, colt):
for rowr in range(2, 252):
for rowrr in range(2, 252):
if sheet.cell(row=rowrr, column=colr).value == sheet.cell(row=rowr, column=colt).value :
sheet.cell(row=rowr, column=colt).fill = fillers[4]
# Mark Our Old list matched with all years
for titlerow in range(2, 252):
for colr in range(3, 26):
for rowr in range(2, 252):
if sheet.cell(row=titlerow, column=1).value == sheet.cell(row=rowr, column=colr).value :
sheet.cell(row=titlerow, column=1).fill = fillers[5]
# Mark Have / Seen
for title in range(2, 252):
for j in range(3, 27):
for i in range(2, 252):
if sheet.cell(row=i, column=j).value == sheet.cell(row=title, column=1).value :
if sheet.cell(row=title, column=2).value == "x":
sheet.cell(row=i, column=j).fill = fillers[2]
else:
sheet.cell(row=i, column=j).fill = fillers[3]
# Mark non old list but seen
for title in range(252, 400):
for j in range(3, 27):
for i in range(2, 252):
if sheet.cell(row=i, column=j).value == sheet.cell(row=title, column=1).value :
if sheet.cell(row=title, column=2).value == "x":
sheet.cell(row=i, column=j).fill = fillers[6]
else:
sheet.cell(row=i, column=j).fill = fillers[7]
# Info cells
sheet['D255'] = "Downloaded seen org list"
sheet['D256'] = "Downloaded not seen org list"
sheet['D257'] = "Title matches found in 2000-2023"
sheet['D258'] = "Titles found in 2000-2023 not in org list have"
sheet['D259'] = "Titles found in 2000-2023 not in org list have seen"
sheet['D260'] = "Titles found in 2000-2023 previous years"
sheet.cell(row=255, column=4).fill = fillers[2]
sheet.cell(row=256, column=4).fill = fillers[3]
sheet.cell(row=257, column=4).fill = fillers[5]
sheet.cell(row=258, column=4).fill = fillers[7]
sheet.cell(row=259, column=4).fill = fillers[6]
sheet.cell(row=260, column=4).fill = fillers[4]
wb.save("imdbexport.xlsx")