[Howto] merge solids in FreeCAD
FreeCAD v0.16 create two cutting solids select both solids click “boolean operation” → select “merge” → ok now both solids became unvisible and a new fusion is created select the newly created fusion menu → part → refine shape
[Howto] project lines from volume to sketch in FreeCAD
FreeCAD version 0.16 create a new sketch close the newly created sketch select a face in the modell click in the toolbar the button “assign sketch to face” choose the newly created sketch from the displayed drop-down-list click ok, done … Continued
[Howto] SAMBA and Windows XP
you must set the following parameters to get a working authentification: SAMBA Server (version 4.6.7) #smb.conf server min protocol = NT1 Windows XP #regedit.exe HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\lmcompatibilitylevel = 3
[Howto] read the search-path for building-tools (cpp, gcc, ld)
c-preprocessor (GNU cpp) environment-variable: $CPATH #cpp -v /usr/include compiler (GNU cc) environment-variable: $CPATH #gcc -E -Wp,-v – /usr/include linker (GNU ld) environment-variable: $LIBRARY_PATH #ld –verbose | grep -i ‘search_dir’ SEARCH_DIR(“/lib”); SEARCH_DIR(“/usr/lib”); SEARCH_DIR(“/usr/local/lib”)
[Howto] Low Level Discovery (LLD) of disks with Zabbix and FreeBSD
you have to create a user parameter, which starts a “disk-search”-script on the host. This script searches for the disks and outputs a list (in json notification). #discovery-disks.sh #!/bin/sh disks=`ls -l /dev/*da* | awk ‘{print $NF}’ | awk -F … Continued
[Howto] monitor ZFS and S.M.A.R.T. with Zabbix and FreeBSD
You have to create user parameters (see the zabbix documentation for explanations/examples). #zabbix_agentd.conf UserParameter = zpool.health[*], zpool list -H -p -o health $1 UserParameter = zpool.size[*], zpool list -H -p -o size $1 UserParameter = zpool.capacity[*], zpool list -H -p … Continued
[Howto] move mouse / press key automatically in X
you have to install the package xautomation apt-get install xautomation now you can customize or script your automation #move the mouse cursor relative x+1 and y+1 xte ‘mousermove 1 1’ #press and release the left shift button xte ‘key … Continued
[Howto] color calibration with argyllcms + X11 + Spyder 5 Pro
ArgyllCMS is the preferred Color-Managment-System for Linux. Short summary: 1) xset dpms 0 0 0 #disable energy-saving 2) dispcal -yl -qm -t6500 -G2.2 -F file #create calibration-file 3) dispwin file.cal #active calibration-file 4) dispread -yl -F -r #test calibration … Continued
[Howto] resolve pam-systemd login error
Debian error message (/var/log/auth.log) pam_systemd(login:session): pam-systemd initializing Jun 28 02:53:26 debian login[3173]: pam_systemd(login:session): Asking logind to create session: uid=1000 pid=3173 service=login type=tty class=user desktop= seat= vtnr=0 tty=/dev/tty1 display= remote=no remote_user= remote_host= Jun 28 02:53:26 debian systemd: PAM no modules loaded … Continued
[Howto] enable Auto-Updates in WordPress
default setting: only minor updates (4.7.1 → 4.7.2) are applied automatically major updates (4.7 → 4.8) must bei applied manually #edit your wp-config.php and insert the following: #to enable major-release updates define(‘WP_AUTO_UPDATE_CORE’, true)