vim arduino syntax

this is a quick one. after realizing that my ino files did not have proper syntax in vim, i did some googling and found this. but it needed a little more to make it work with my setup. so i added: autocmd BufNewFile,BufReadPost *.ino,*.pde set filetype=arduino into ~/.vim/ftdetect/arduino.vim — this vim file is not the … Read More

high availability with keepalived for Mysql

so i needed to setup 2 mysql servers in a HA setup on CentOS 6, i decided to use keepalived (yum search keepalive). here were the requirements: – 1 virtual ip – both servers had to still replicate from each other but only one can take traffic from the vip – quick failover incase machine … Read More