I've just set up a new computer (macOS) and when I tried to install cordova it failed. It looked like it was doing somthing for a suspiciouly short time and then it exit whitout any error.
It seems the problem was I was trying to install it from an app folder that contained a folder named cordova and although I was running "sudo npm install -g cordova" which is supposed to install it globally it didn't work. All it did was to link my app folder to /usr/local/lib/node_modules . After I removed the link and ran "npm install -g cordova" it installed correctly.
Note to self: next time you install cordova on a new computer make sure you don't do it from a place where there's already a "cordova" folder.
Before you start the calibration check if you have the grid calibration enabled in the smoothieware config file:
My config has this:
#Example for the delta grid leveling strategy
leveling-strategy.delta-grid.enable true # Enable grid leveling
leveling-strategy.delta-grid.radius 140 # Grid radius in millimeters
leveling-strategy.delta-grid.size 29 # Grid size, must be an odd number
The bigger the grid size, the more points it will test and the longer will take.
Heat the printbed to the temperature you normally print with.
Do the grid calibration:
;bltouch alarm release
; probe pin down
; set bed temp to 80C
; do delta calibration
; save trim to sdcard
; probe the grid and enable grid compensation
; save the grid to sd card
;To set the zero for the print head
;Make sure there is no left over material on the nozzle ( maybe heat and wipe it )
;go close to Z=0
; put a sheet of thin paper under the nozzle
; Then move the head ( using the printer controls ) until it presses on the paper sheet, until ; you feel the friction when you pull on the paper. This is the Z=0 point
; Use this point as the homing offest
;save to SD card
But even after all this it seems the prints are still not all right, so another option is to do some manual calibration of the hotbed using some springs.
Here's a script I use to quickly recompile dovecot with vpopmail support on Debian 6.0. I'm using the backports repository to get the 2.1 version of dovecot.
Now I'm using the following script every time I update and I get a new version of the dovecot packages.
sudo apt-get source dovecot-core
sudo apt-get build-dep dovecot-core
dpkg-source -x *.dsc
cd $(find ./ -type d |grep dovecot|head -1)
sed -r -e 's/with-sqlite \\/with-sqlite \\\n\t\t--with-vpopmail \\/' debian/rules > debian/rules.mod
cat debian/rules.mod > debian/rules
DEB_BUILD_OPTIONS="--with-vpopmail" fakeroot debian/rules binary
find $BDIR -type f -name "*.deb"|grep -v 'dbg' |xargs dpkg -i
The last line also installs all the dovecot packages except for the debug one. You might want to change it if you don't want all.
Grub2 configuration is in /etc/defaut/grub ( on Debian at least ).
Set GRUB_DEFAULT=saved in /etc/default/grub if you want to start with the last good boot.
update-grub - detects kernels automatically and writes boot lines to /boot/grub/grub.conf
grub-set-default - set the default entry ( First boot entry is number 0 )
grub-reboot - set the boot entry for the next reboot only ( for testing new kernels or other boot stuff especially when you're working remotely )
More Recent Articles